Re: Help-PCI device driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,
On 12/6/05, SITARAM SAKTHINARAYANAN <SITARAMSN@xxxxxxxxxx> wrote:
Hi,
Ive been writing a driver for 2.4 kenel for a pci based card,
should i find the device using pci_find_device and then register the device
using register_chrdev, or can i register and find the device?

       go through following 2 links i hope they will be useful to you in writing pci device driver.
1)http://www.linuxforums.org/forum/post-305519.html
2)http://linux.org.mt/article/writing-netdrivers

also if i hav multiple cards how do i go about registering all the cards
and also in cleanup module how do i unregister all the cards?

          no need to  register all cards just write single driver for same pci card specification  then insmod  modules only for those pci cards.

Thanks in advance,
Sitaram




---------------------------------------------------------------------------
       "This e-mail and any files transmitted with it are for the sole use
of the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.

       Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken upon this e-mail is
strictly prohibited and may be unlawful."
---------------------------------------------------------------------------

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux