Hello, everyone,

If the kernel already has a pci driver for a pci card, how could I load another loadable driver for the same card?

I wrote a Kernel module PCI driver for one pci card. After the kernel is up, it automatically identified the card, and load its driver. If I want to use my own driver, the driver can't be probed correctly. When you use 'kldload' to load a pci driver, I think the kernel only probe the card without driver loaded. So, my driver can never be loaded, since the kernel doesn't probe the pci card I want.

Do you know how I could load my driver?

The output from pciscan is in the following. I want to load a pci driver to
[EMAIL PROTECTED]:31:0: class=0x060100 card=0x00000000 chip=0x248c8086 rev=0x02 hdr=0x00


I think the system only probe the cards with "[EMAIL PROTECTED]".

thank you very much.
Haidong

[EMAIL PROTECTED]:0:0: class=0x060000 card=0x00000000 chip=0x1a308086 rev=0x04 hdr=0x00
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x00000000 chip=0x1a318086 rev=0x04 hdr=0x01
[EMAIL PROTECTED]:29:0: class=0x0c0300 card=0x02201014 chip=0x24828086 rev=0x02 hdr=0x00
[EMAIL PROTECTED]:29:1: class=0x0c0300 card=0x02201014 chip=0x24848086 rev=0x02 hdr=0x00
[EMAIL PROTECTED]:29:2: class=0x0c0300 card=0x02201014 chip=0x24878086 rev=0x02 hdr=0x00
[EMAIL PROTECTED]:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x42 hdr=0x01
[EMAIL PROTECTED]:31:0: class=0x060100 card=0x00000000 chip=0x248c8086 rev=0x02 hdr=0x00
[EMAIL PROTECTED]:31:1: class=0x01018a card=0x02201014 chip=0x248a8086 rev=0x02 hdr=0x00
[EMAIL PROTECTED]:31:3: class=0x0c0500 card=0x02201014 chip=0x24838086 rev=0x02 hdr=0x00
[EMAIL PROTECTED]:31:5: class=0x040100 card=0x05081014 chip=0x24858086 rev=0x02 hdr=0x00
[EMAIL PROTECTED]:31:6: class=0x070300 card=0x051a1014 chip=0x24868086 rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:0: class=0x030000 card=0x05171014 chip=0x4c571002 rev=0x00 hdr=0x00
[EMAIL PROTECTED]:0:0: class=0x060700 card=0x05121014 chip=0xac55104c rev=0x01 hdr=0x02
[EMAIL PROTECTED]:0:1: class=0x060700 card=0x05121014 chip=0xac55104c rev=0x01 hdr=0x02
[EMAIL PROTECTED]:2:0: class=0x028000 card=0x25138086 chip=0x38731260 rev=0x01 hdr=0x00
[EMAIL PROTECTED]:8:0: class=0x020000 card=0x02091014 chip=0x10318086 rev=0x42 hdr=0x00


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to