]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Rename PCIx_HEADERTYPE* to PCIx_HDRTYPE* so the constants aren't so long.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 28 Aug 2003 21:22:25 +0000 (21:22 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 28 Aug 2003 21:22:25 +0000 (21:22 +0000)
commit729d7ffbcf7b8e5fd1e7d4a5b60f4599cfc3a14a
treea1e7aeb2faa12e05e2679df87b9fa88f7bfd5295
parent86889ca0862444e83e138ebaa8400ab3a7d87f73
- 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