Changeset 5b3cf90 in mainline for uspace/srv/pci/libpci/i386-ports.c
- Timestamp:
- 2009-08-02T19:38:02Z (14 years ago)
- Branches:
- lfn, master, serial
- Children:
- fa5526d
- Parents:
- f019cc07
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/pci/libpci/i386-ports.c
rf019cc07 r5b3cf90 80 80 for (d.dev = 0; d.dev < 32; d.dev++) { 81 81 u16 class, vendor; 82 if ( m->read(&d, PCI_CLASS_DEVICE, (byte *) & class,82 if ((m->read(&d, PCI_CLASS_DEVICE, (byte *) & class, 83 83 sizeof(class)) 84 84 && (class == cpu_to_le16(PCI_CLASS_BRIDGE_HOST) 85 || class == cpu_to_le16(PCI_CLASS_DISPLAY_VGA)) 86 || m->read(&d, PCI_VENDOR_ID, (byte *) & vendor,85 || class == cpu_to_le16(PCI_CLASS_DISPLAY_VGA))) 86 || (m->read(&d, PCI_VENDOR_ID, (byte *) & vendor, 87 87 sizeof(vendor)) 88 88 && (vendor == cpu_to_le16(PCI_VENDOR_ID_INTEL) 89 || vendor == cpu_to_le16(PCI_VENDOR_ID_COMPAQ))) {89 || vendor == cpu_to_le16(PCI_VENDOR_ID_COMPAQ)))) { 90 90 a->debug("...outside the Asylum at 0/%02x/0", 91 91 d.dev);
Note: See TracChangeset
for help on using the changeset viewer.