andy@netcom.UUCP (Andrew Burgess) (02/25/90)
I am trying to port the fas serial driver (posted here in January) to SCO UNIX. I've applied patch1 and did the following to get it to compile and link. used makefile.ISC use i_fas-c1-2, s_fas-c1-2, n_fas-c1-2, config-c1-2 defined NEED_PUT_GETCHAR in fas.h added sioputchar and siogetchar to fas.c to call corresponding asyget/putchar removed sio directory from /etc/conf/sdevice.d ifdef'ed out asm stuff in fas.c so $%&#! Microsoft cc works used major # 17 in /etc/conf/cf.d/mdevices for fas deleted entry for sio in /etc/conf/cf.d/mdevices When I boot the new kernel it hangs after printing: 10 bits of I/O address decoding // this is normal F1 // this is normally printed and erased I tried recompiling using ATT rcc (with asm stuff enabled) with same symptoms. Has anyone done this port to SCO UNIX? I don't want to get dirty wallowing in a device driver if I don't have to. Please either post or email me at: uunet!cichlid!aab Please don't email to the address in the header. Thank You Andy Burgess
andy@netcom.UUCP (Andrew Burgess) (02/25/90)
In article <7848@netcom.UUCP> I wrote: > > >I am trying to port the fas serial driver (posted here in January) >to SCO UNIX. I've applied patch1 and did the following to get it to >compile and link. > etc etc Here I go again responding to my own postings. I waded into the driver a little and found that fasinit() was calling a UART test routine that in turn called delay() to wait for characters to flow through the UART. According to the FM "delay cannot be called from an xxinit or interrupt routine". I stubbed the test routine out and the driver came up fine. I now get 750 bytes per second both ways to the Sparcstation at work over usually noisy lines. When I called in PEP mode but without the UUCP protocol selected (which means, I think, that the two machines have to deal with the protocol themselves) throughput dropped to 150 bytes per second. My machine is relatively slow by todays standards (16Mhz 386 64K cache 9Mb mostly 16 bit memory). My throughput to another 386 machine (specs unknown) is only 400 bps. Does anyone get better throughput than 750 bps and between what kinds of machines? Andy Burgess uunet!cichlid!aab