[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pci device in 2.4.x kernel
On Fri, Jul 20, 2001 at 08:58:58AM -0600, Vanek, Traci wrote:
> I'm new to the list and have what could be a very simple problem. I have a
> pci device driver that was written in-house with a 2.2.16 kernel. I need to
> use this same device on a 2.4 kernel and of course the pci_dev structure has
> changed. I'm new to device drivers and am looking for information regarding
> these pci structure changes and how to implement them. I can find NO
> documentation anywhere. For example, dev->base_address no longer exists.
Run "make psdocs" in your kernel tree and you get the Kernel API in
Documentation/DocBook/ (a slightly older version is available at
http://www.kernelnewbies.org/documents/kdoc/ ). And look at recent PCI
drivers, like the function rtl8139_init_board() in the 8139too network
driver or tulip_init_one() in the tulip driver.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/