/proc/pci is good only for PCI devices...
What about ISA/USB/PPort based network cards? ISA are not common these days, and probably won't matter. Pport might not too, but USB network adapters are becoming more widespread I guess... /proc definitely does help, but at the kernel level, it's use is somewhat secondary. It is more of a user-space interface to kernel data. With that aside, writing a device driver for a PCI network card would require 1. The Ethernet Controller's datasheet (aka programming manual) that explains the various registers and their uses 2. The PCI device and vendor IDs (Usually this is part of the Ethernet Controller's datasheet, but in the event that the network card uses a different chip for the PCI interface, then the Vendor ID and Device ID are required to identify the device correctly. 3. A good understanding of the PCI APIs within the Linux Kernel. These APIs vary a little between the 2.2 series and 2.4 series. 4. Some understanding of the inner working of the Linux MAC layer code. 5. Some networking fundamentals 6. Some luck! :) Actually, 3, 4 and 5 are not that hard if you can read the code for an existing driver (one that drives a close approximatation of your target device) 1 and 2 depends on the manufacturer and if said manufacturer does not believe in GPL/OpenSource, then getting the datasheet(s) might become the biggest hurdle. -Naren On Mon, 1 Oct 2001, Shridhar Daithankar wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Monday 01 October 2001 11:28, you wrote: > > Theres a problem , what I want to know is what > > exactly are the hardware details I need to know from > > the manufacturer or provider of the card (network > > card)before writting a network device driver.I already > > have some prior experience in writting charecter > > cat /proc/pci > > Shridhar > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE7uJHChsGuDpVJyB8RAnYvAJ9hhWWlrHWnHNa7zqpxE2N6BhV3LwCgl5bW > DcmqWDIbbRlSR7W+BfA2P+A= > =K9h1 > -----END PGP SIGNATURE----- > > _______________________________________________ > linux-india-help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/linux-india-help > _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
