]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Rename PCIx_HEADERTYPE* to PCIx_HDRTYPE* so the constants aren't so long.
authorjhb <jhb@FreeBSD.org>
Thu, 28 Aug 2003 21:22:25 +0000 (21:22 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 28 Aug 2003 21:22:25 +0000 (21:22 +0000)
commit51be1787c3f88a0d7f0e7acc9c80f8efe14d4107
treea1e7aeb2faa12e05e2679df87b9fa88f7bfd5295
parentfed4d10a43fd7e42c8ab0e04aad88fa09632b414
- Rename PCIx_HEADERTYPE* to PCIx_HDRTYPE* so the constants aren't so long.
- Add a new PCIM_HDRTYPE constant for the field in PCIR_HDRTYPE that holds
  the header type.
- Replace several magic numbers with appropriate constants for the header
  type register and a couple of PCI_FUNCMAX.
- Merge to amd64 the fix to the i386 bridge code to skip devices with
  unknown header types.

Requested by: imp (1, 2)
sys/amd64/pci/pci_bus.c
sys/dev/acpica/Osd/OsdHardware.c
sys/dev/pci/pci.c
sys/dev/pci/pcireg.h
sys/dev/puc/puc_pci.c
sys/i386/pci/pci_bus.c