On Wednesday 27 July 2005 5:12 am, Rahul Tank wrote:
> i am writing a serial device driver. After going
> thru few linux journals i have understood that serial
> ports get mapped at standard addrerss.We need to take
> these regions, register driver and talk to them
> (read,write).
If your device is 8250/16550/etc compatible, you should
be able to use the existing 8250.c serial driver. If
your device is attached via PCI, look at 8250_pci.c for
examples of how to claim it. I think if your device
claims to be PCI_CLASS_COMMUNICATION_SERIAL, 8250_pci.c
will claim it automatically with no code changes at all.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|