From 8bbf69e6e66aeee9add5b78d43c954e087b6a7f0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 16 May 2012 16:04:10 -0500 Subject: pci.h cleanup - Consolidate common defines to cpukit pci.h + libbsp/sparc/shared/include/pci.h was largely a copy of an older version of the cpukit pci.h. Removed much of the contents and included . + sparc/*/pci*.c - Move to required updating to use uint32_t for dword accesses. + Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION + Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove PCI_MULTI_FUNCTION definitions in C files. + Move PCI_INVALID_VENDORDEVICEID definitions from various C files to cpukit pci.h --- c/src/lib/libbsp/i386/shared/pci/pcibios.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'c/src/lib/libbsp/i386/shared/pci/pcibios.c') diff --git a/c/src/lib/libbsp/i386/shared/pci/pcibios.c b/c/src/lib/libbsp/i386/shared/pci/pcibios.c index 44b6633a9c..b704eab174 100644 --- a/c/src/lib/libbsp/i386/shared/pci/pcibios.c +++ b/c/src/lib/libbsp/i386/shared/pci/pcibios.c @@ -220,8 +220,6 @@ pcib_find_by_class(int classCode, int idx, int *sig) return PCIB_ERR_SUCCESS; } -#define PCI_MULTI_FUNCTION 0x80 - static uint8_t ucBusCount = 0xff; unsigned char -- cgit v1.2.3