- Push PCI status "capability list bit" checking down into pci_read_extcap().
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 24 Nov 2007 03:42:24 +0000 (03:42 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 24 Nov 2007 03:42:24 +0000 (03:42 +0000)
commit0c78fe3f09b8f8ec0f0e68d9adab2c181e94b6a5
tree93b49ab7f76ff31a15ebbaf969f3acfb10294eab
parent19edd1f3e8901ff45ed6d5acb7bdc04a281c792f
- Push PCI status "capability list bit" checking down into pci_read_extcap().
- Mask bottom two bits of "next pointer", add comment about it.
- If "next pointer" is not 0 and is less than 0x40 (standard PCI configuration
  space size), then it is illegal, bark out loudly and terminate the capability
  iteration.
sys/bus/pci/pci.c