Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 1997 08:15:11 -0500 (EST)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        ponds!cisco.com!bmcgover, ponds!freebsd.org!hackers, ponds!lambert.org!terry
Subject:   Re: Cyclom Card
Message-ID:  <199703081315.IAA17032@lakes.water.net>

next in thread | raw e-mail | index | archive | help

Brian writes:

> I'm not quite sure I understand your reference to top/bottom drivers. I suspect
> my driver would conform to this (?), as read/write routines would dump the
> info in to and out of the tty buffering scheme (so I can use all the line
> disciplines). Then, I'd have an interrupt handler (and a tweak in the write
> routine to get things started on the first write) that shuffled data to/from
> the tty routines to the card's buffers. IOCTL calls would manipulate the
> tty structures on the cards (which are different than the BSD tty structures),
> and then send down the appropriate hardware commands to get the card to
> implement them.

 Yes, that's basically the idea.  There is a definition of top/bottom
drivers in "The Design and Implementat of the 4.3BSD UNIX Operating System"
(and probably the 4.4 version, I don't yet own that) - when they discuss
disk I/O, etc...

	- Dave Rivers -



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