4 Created: Jan 2000 by Philip Homburg <philip@cs.vu.nl>
7 /* tempory functions: to be replaced later (see pci_intel.h) */
8 _PROTOTYPE( unsigned pci_inb
, (U16_t port
) );
9 _PROTOTYPE( unsigned pci_inw
, (U16_t port
) );
10 _PROTOTYPE( unsigned pci_inl
, (U16_t port
) );
12 _PROTOTYPE( void pci_outb
, (U16_t port
, U8_t value
) );
13 _PROTOTYPE( void pci_outw
, (U16_t port
, U16_t value
) );
14 _PROTOTYPE( void pci_outl
, (U16_t port
, U32_t value
) );
64 #define PCI_IB_PIIX 1 /* Intel PIIX compatible ISA bridge */
65 #define PCI_IB_VIA 2 /* VIA compatible ISA bridge */
66 #define PCI_IB_AMD 3 /* AMD compatible ISA bridge */
67 #define PCI_IB_SIS 4 /* SIS compatible ISA bridge */
69 #define PCI_PPB_STD 1 /* Standard PCI-to-PCI bridge */
70 #define PCI_PPB_CB 2 /* Cardbus bridge */
72 #define PCI_AGPB_VIA 3 /* VIA compatible AGP bridge */
74 extern struct pci_vendor pci_vendor_table
[];
75 extern struct pci_device pci_device_table
[];
76 extern struct pci_baseclass pci_baseclass_table
[];
77 extern struct pci_subclass pci_subclass_table
[];
79 extern struct pci_intel_ctrl pci_intel_ctrl
[];
81 extern struct pci_isabridge pci_isabridge
[];
82 extern struct pci_pcibridge pci_pcibridge
[];
84 /* Utility functions */
85 _PROTOTYPE( int pci_reserve3
, (int devind
, int proc
, char name
[M3_STRING
]));
86 _PROTOTYPE( void pci_release
, (char name
[M3_STRING
]) );
87 _PROTOTYPE( int pci_first_dev_a
, (struct rs_pci
*aclp
, int *devindp
,
88 u16_t
*vidp
, u16_t
*didp
) );
89 _PROTOTYPE( int pci_next_dev_a
, (struct rs_pci
*aclp
, int *devindp
,
90 u16_t
*vidp
, u16_t
*didp
) );
93 * $PchId: pci.h,v 1.4 2001/12/06 20:21:22 philip Exp $