diff options
author | imp <imp@FreeBSD.org> | 2001-05-24 06:54:48 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-05-24 06:54:48 +0000 |
commit | a55e3ddc3205535f6629707fdc5296f73721e683 (patch) | |
tree | 125bb114e3fb7220aff04c2d3241d9b8335a8fc7 /sys/pccard/pcicvar.h | |
parent | 211146360690c119083c21baff00f50febd721e0 (diff) | |
download | FreeBSD-src-a55e3ddc3205535f6629707fdc5296f73721e683.zip FreeBSD-src-a55e3ddc3205535f6629707fdc5296f73721e683.tar.gz |
Use bus_space functions rather than inb/outb.
Add defines for PCIC_INDEX and PCIC_DATA offsets.
Change PCIC_INDEX_0 to PCIC_PORT_0
Add define for PCIC_NPORT.
Document why the vadem probe works.
Diffstat (limited to 'sys/pccard/pcicvar.h')
-rw-r--r-- | sys/pccard/pcicvar.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/pccard/pcicvar.h b/sys/pccard/pcicvar.h index c02cffe..57bbb1e 100644 --- a/sys/pccard/pcicvar.h +++ b/sys/pccard/pcicvar.h @@ -28,8 +28,6 @@ * Per-slot data table. */ struct pcic_slot { - int index; /* Index register */ - int data; /* Data register */ int offset; /* Offset value for index */ char controller; /* Device type */ char revision; /* Device Revision */ @@ -37,7 +35,8 @@ struct pcic_slot { struct pcic_softc *sc; /* Back pointer to softc */ u_char (*getb)(struct pcic_slot *, int); void (*putb)(struct pcic_slot *, int, u_char); - u_char *regs; /* Pointer to regs in mem */ + bus_space_tag_t bst; + bus_space_handle_t bsh; }; struct pcic_softc |