freebsd-nq/sys/i386/pci
Warner Losh d5ccecfad7 o Work around bugs in the powerof2 macro: It thinks that 0 is a power of
2, but that's not the case.  This fixes the case where there were slots
  in the PIR table that had no bits set, but we assumed they did and used
  strange results as a result.
o Map invalid INTLINE registers to 255 in pci_cfgreg.c.  This should allow
  us to remove the bogus checks in MI code for non-255 values.

I put these changes out for review a while ago, but no one responded
to them, so into current they go.

This should help us work better on machines that don't route
interrupts in the traditional way.

MFC After: 4286 millifortnights
2002-04-24 15:30:11 +00:00
..
pci_bus.c Fix a PNPID in a comment 2002-04-24 15:22:53 +00:00
pci_cfgreg.c o Work around bugs in the powerof2 macro: It thinks that 0 is a power of 2002-04-24 15:30:11 +00:00
pci_pir.c o Work around bugs in the powerof2 macro: It thinks that 0 is a power of 2002-04-24 15:30:11 +00:00