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/pcic_pci.c | |
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/pcic_pci.c')
-rw-r--r-- | sys/pccard/pcic_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index 3b74304..dde8971 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -64,7 +64,7 @@ pd6832_legacy_init(device_t dev) * sequentially. We only initialize the first socket's legacy port, * the other is a dummy. */ - io_port = PCIC_INDEX_0 + num6832 * CLPD6832_NUM_REGS; + io_port = PCIC_PORT_0 + num6832 * CLPD6832_NUM_REGS; if (unit == 0) pci_write_config(dev, CLPD6832_LEGACY_16BIT_IOADDR, io_port & ~CLPD6832_LEGACY_16BIT_IOENABLE, 4); |