/shark/tags/rel_0_4/drivers/pci/pci.h |
---|
9,10 → 9,10 |
#ifndef __PCI_H__ |
#define __PCI_H__ |
#ifdef __cplusplus |
extern "C" { |
#endif |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
#define N_MAX_DEVS 10 |
typedef struct pci_regs { |
72,9 → 72,7 |
struct pci_regs *pci_class(DWORD class_code, WORD index, BYTE *bus, BYTE *dev); |
struct pci_regs *pci_device(WORD vendor, WORD device, WORD index, BYTE *bus, BYTE *dev); |
#ifdef __cplusplus |
}; |
#endif |
__END_DECLS |
#endif |