Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2004 10:17:19 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        "." <aik@fryazino.net>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: I need help with serial driver
Message-ID:  <20041123101632.G86435@carver.gumbysoft.com>
In-Reply-To: <1452678363.20041123052452@fryazino.net>
References:  <1452678363.20041123052452@fryazino.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gumbysoft.com          |  www.FreeBSD.org



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