Path: utzoo!attcan!uunet!munnari.oz.au!csource!david From: david@csource.OZ.AU (david nugent) Newsgroups: comp.unix.i386 Subject: Re: Problem writing device driver for SCO Unix V/386 3.2.0. Keywords: SCO device driver Message-ID: <20@csource.OZ.AU> Date: 15 Jun 90 11:57:18 GMT References: <916@barsoom.nhh.no> Distribution: comp Organization: Unique Computing Pty Ltd, Melb, Aust. Lines: 35 In <916@barsoom.nhh.no> tih@barsoom.nhh.no (Tom Ivar Helbekkmo) writes: > Anyway, with SCO's serial driver ("sio"), this won't work. (Unless > I'm mistaken, in which case I'd like to hear about it!) Each serial > port that's not on an intelligent card has to have its own IRQ. That's not quite true. SCO supports a few serial cards which aren't "intelligent" (ie. processor driven) which can share IRQ's. The Hostess and DigiBoard (not the COM?/i versions), for example. The sample sio driver in the documentation is abysmal; when compiled and linked in - even without modifications and after cleaning up the typo's - doesn't even work. It's also quite dated under the current kernel version and doesn't support everything required (hardware flow control and additional line disciplines, for example). > Because of this, I've been trying to write my own replacement for the > supplied sio driver. I've based it on the example code in the Device > Driver Writer's Guide, and followed the guidelines there. You're probably asking the impossible of the hardware. I'm yet to find a serial card which doesn't advertise that it can share IRQ's (even though you might be able to switch them independantly) and yet can. What this amounts to is that you probably _CAN'T_ share IRQ's on the card you're using. It may not have the necessary hardware and logic to do it. Sorry - I know it's bad news. I had to learn the hard way too. :-( david -- * Unique Computing Pty Ltd, Melbourne, Australia. * david@csource.oz.au 3:632/348@fidonet 28:4100/1@signet