I need help with serial driver

Doug White dwhite at gumbysoft.com
Tue Nov 23 10:17:20 PST 2004


On Tue, 23 Nov 2004, . wrote:

>         Greetings!
> I did not find in "BSD Developers handbook" or anywhere else theese
> precious bits of information:
> 1. What methods should character driver ( /dev/cuaa or similar) have?
> 2. How application requests (open/read/ioctl/etc.) are mapped to
> methods of the driver?
> 3. Are there any special functions besides generic file I/O operations
> (apart from ioctl(2))? Or are there any "special cases" of ioctl apart
> from what is covered by man page?

The scripts in /usr/share/examples/drivers/ may be of use to you.

> I need to utlize the abilities of /dev/cuua to their extreme, but I
> do not want to rewrite the standard one.

Yet you are asking how. :)

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-arch mailing list