Re: pci card detection by kernel

From: Jiri Slaby
Date: Sun Apr 08 2007 - 03:42:40 EST


S. Vishnu Priya napsal(a):
>
> Dear All,
>
> I am new to this group. I was asked to write a device driver for a
> new pci card. My doubt is, Kernel will detect a new pci card which is
> attached to the system? Or how we can make the kernel to detect the new
> card which is newly attached? I am using kernel 2.6.11.12. Please
> suggest me regarding this.

See drivers/*, search for pci_driver -- driver, probe, remove, suspend, resume
and pci_device_id table.

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/