Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/mptable.h
Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Lines | |||||
#define CBASMENTRY_ADDRESS_MOD_ADD 0x0 | #define CBASMENTRY_ADDRESS_MOD_ADD 0x0 | ||||
#define CBASMENTRY_ADDRESS_MOD_SUBTRACT 0x1 | #define CBASMENTRY_ADDRESS_MOD_SUBTRACT 0x1 | ||||
#define CBASMENTRY_RANGE_ISA_IO 0 | #define CBASMENTRY_RANGE_ISA_IO 0 | ||||
#define CBASMENTRY_RANGE_VGA_IO 1 | #define CBASMENTRY_RANGE_VGA_IO 1 | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
struct mptable_hostb_softc { | struct mptable_hostb_softc { | ||||
#ifdef NEW_PCIB | |||||
struct pcib_host_resources sc_host_res; | struct pcib_host_resources sc_host_res; | ||||
int sc_decodes_vga_io; | int sc_decodes_vga_io; | ||||
int sc_decodes_isa_io; | int sc_decodes_isa_io; | ||||
#endif | |||||
}; | }; | ||||
#ifdef NEW_PCIB | |||||
void mptable_pci_host_res_init(device_t pcib); | void mptable_pci_host_res_init(device_t pcib); | ||||
#endif | |||||
int mptable_pci_probe_table(int bus); | int mptable_pci_probe_table(int bus); | ||||
int mptable_pci_route_interrupt(device_t pcib, device_t dev, int pin); | int mptable_pci_route_interrupt(device_t pcib, device_t dev, int pin); | ||||
#endif | #endif | ||||
#endif /* !__MACHINE_MPTABLE_H__ */ | #endif /* !__MACHINE_MPTABLE_H__ */ |