lkml.org 
[lkml]   [2005]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: serial device driver
Date
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-28 19:23    [W:0.047 / U:1.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site