Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 1996 16:07:48 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        erich@lodgenet.com (Eric L. Hernes)
Cc:        msmith@atrad.adelaide.edu.au, tony@nlanr.net, hackers@freebsd.org
Subject:   Re: Driver help
Message-ID:  <199612090537.QAA07561@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199612031744.LAA13076@jake.lodgenet.com> from "Eric L. Hernes" at "Dec 3, 96 11:44:34 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612090537.QAA07561>