[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to access correctly serial port inside module?
On Mon, Feb 19, 2001 at 12:45:03PM +0100, Tiziano Fagni wrote:
> This code was declared dangerous so what is the correct way to access serial
> port within the kernel?
You might take a look at the Axis Bluetooth stack. They talk to the
serial port driver from within kernel code. They do it properly, so you
can have the Bluetooth driver talk to any serial port device (like pci
cards) or a usb to serial port device, or the USB Bluetooth driver,
which looks like a serial port to userspace.
It's available at:
http://developer.axis.com/software/bluetooth/
Hope this helps,
greg k-h
--
greg@(kroah|wirex).com
http://immunix.org/~greg
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml