lkml.org 
[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: how to write driver for PCI cards
Date
Hi Gabor,

> There is a good news (at least for me), my company would like to
> have a Linux driver for its card. And this great task is mine.
> So I'm going to write a driver.

What kind of card is it? serial, SCSI, network? ...

> But I don't know where to start. OK, the interface and how the
> driver should be written is clear(more or less) but I don't have
> any documents for it.

A good place to start is to find and study an existing Linux driver
for a similar device.

> Can anyone give me some online docs about PCI bus? (I found some
> info about PCI-9050 chip but it doesn't contain what I need.)

Did you mean PLX-9050 PCI interface chip? This is a widely used chip
and should have several examples. If your device uses interrupts, you
will need to know how the kind of interrupt sources (edge, level) and
how they are connected to the 9050.

A Linux PCI HOW-TO file is at http://www.tldp.org/HOWTO/PCI-HOWTO.html.
General Linux PCI driver info is in /usr/src/linux*/Documentation/pci.txt.
See also /usr/src/linux*/Documentation/devices.txt. That's a start.

Good luck,
Ed Vance

-
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-03-22 13:25    [W:0.031 / U:6.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site