Re: Driver help

[ Available lists | Index of freebsd-hackers | Month of Dec 1996 | Week of 8 Dec 1996 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Michael Smith <msmith@atrad.adelaide.edu.au>
Date
8 Dec 1996 21:38:25
Subject
Re: Driver help
Message-ID
199612090537.QAA07561@genesis.atrad.adelaide.edu.au


[ Hide this part ]
Eric L. Hernes stands accused of saying:
>
> > IMHO, using copyin/out in drivers is bogus in most cases.
>
> I agree, but people porting drivers from a sysV derrivative, may want
> to have a driver that will compile and work on either machine. I've
> used a set of macros tucked away in the ifdef section like:

...

This implies that SysV doesn't provide the readv/writev interface, correct?

> I've also done similar things with the dma kernel support functions.
> Usually, the driver ends up looking more BSDish than SCOish, but
> isn't that how God intended? ;-)

*grins* Now, is this documented in the DDWG?

> erich@lodgenet.com

--
]] Mike Smith, Software Engineer msmith@gsoft.com.au [[
]] Genesis Software genesis@gsoft.com.au [[
]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[
]] realtime instrument control. (ph) +61-8-8267-3493 [[
]] Unix hardware collector. "Where are your PEZ?" The Tick [[


Elapsed time: 1.083 seconds