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/i82365.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/i82365.h')
-rw-r--r-- | sys/pccard/i82365.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pccard/i82365.h b/sys/pccard/i82365.h index fedb5b0..004bd544 100644 --- a/sys/pccard/i82365.h +++ b/sys/pccard/i82365.h @@ -60,10 +60,10 @@ * identify the port number, and the lower 6 bits * select one of the 64 possible data registers. */ -#define PCIC_INDEX_0 0x3e0 /* index reg, chips 0 and 1 */ -#define PCIC_DATA_0 (PCIC_INDEX_0 + 1) /* data reg, chips 0 and 1 */ -#define PCIC_INDEX_1 (PCIC_INDEX_0 + 2) /* index reg, chips 2 and 3 */ -#define PCIC_DATA_1 (PCIC_INDEX_1 + 1) /* data reg, chips 2 and 3 */ +#define PCIC_INDEX 0 /* Index register */ +#define PCIC_DATA 1 /* Data register */ +#define PCIC_NPORT 2 /* Number of ports */ +#define PCIC_PORT_0 0x3e0 /* index reg, chips 0 and 1 */ /* * Register index addresses. |