Messages in this thread | | | Date | Tue, 22 Jul 1997 09:17:23 +0200 (MET DST) | From | Iñaky Pérez González <> | Subject | Re: How to scan for PCI devices? (fwd) |
| |
On Mon, 21 Jul 1997, mlord wrote:
>> Then I start to scan for pci classes 0x0c03, with the following >> code: >> >> #define USB_CLASS 0x0c03 >> >> while ((bioscode = pcibios_find_class (USB_CLASS, index, >> &bus, &function)) >> == PCIBIOS_SUCCESSFUL) >> { >> index++; >> usb_hosts++; >> } > >The pcibios_find_class() function quite often does NOT WORK! > >I tried to use it once within the IDE driver, but had trouble >with buggy BIOSs.
Hmmm ... that looks bad. The problem is it seems to run ok with every other damn PCI device. Is there anywhere a test program to check if my PCI-BIOS is buggy?
Cheers!
-- Linux USB is in development -- http://www2.teknoland.es/~inaky
Inaky Perez Gonzalez -- PGP pubkey fingerprint - inaky@peloncho.fis.ucm.es 2:341/5.31 -- 8E 34 3A 62 64 99 E2 44 - http://peloncho.fis.ucm.es/~inaky -- AD 7B 30 D9 DD FF 3E 4C - ----------------------------------------------------------------- The loneliness of the long distance runner .....
| |