Changeset 46ec2c06 in mainline for pci/libpci/i386-ports.c
- Timestamp:
- 2006-05-11T16:08:50Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7981e3cc
- Parents:
- 20a9b85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pci/libpci/i386-ports.c
r20a9b85 r46ec2c06 80 80 for (d.dev = 0; d.dev < 32; d.dev++) { 81 81 u16 class, vendor; 82 if (m-> 83 read(&d, PCI_CLASS_DEVICE, (byte *) & class, 82 if (m->read(&d, PCI_CLASS_DEVICE, (byte *) & class, 84 83 sizeof(class)) 85 84 && (class == cpu_to_le16(PCI_CLASS_BRIDGE_HOST) … … 179 178 { 180 179 /* This is ugly and tends to produce false positives. Beware. */ 181 182 180 outb(0x00, 0xCFB); 183 181 outb(0x00, 0xCF8); … … 227 225 228 226 if (d->dev >= 16) 229 d->access-> 230 error("conf2_write: only first 16 devices exist."); 227 d->access->error("conf2_write: only first 16 devices exist."); 231 228 outb((d->func << 1) | 0xf0, 0xcf8); 232 229 outb(d->bus, 0xcfa);
Note:
See TracChangeset
for help on using the changeset viewer.