summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic_pci.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-06-04 06:49:46 +0000
committerimp <imp@FreeBSD.org>2001-06-04 06:49:46 +0000
commita83bd75d363b30b6502b82f5553eea02a507d563 (patch)
treef18536a0d07b5e48319568203809f1472f6216ce /sys/pccard/pcic_pci.h
parentdc5b94d7317d778719fc58ce4c37482ee24f10b7 (diff)
downloadFreeBSD-src-a83bd75d363b30b6502b82f5553eea02a507d563.zip
FreeBSD-src-a83bd75d363b30b6502b82f5553eea02a507d563.tar.gz
Add new pci attachment for pcic. This supports pci cards as well as
card bus bridges. We now always use pci interrupts for pci cards. This will allow us to more easily configure things. You must change your IRQ lines in /etc/pccard.conf to match what we've probed. I'm not sure the right way to deal with this right now. Development of pci pcmcia has been funded by Monzoon Networks AG. I am grateful for their generosity.
Diffstat (limited to 'sys/pccard/pcic_pci.h')
-rw-r--r--sys/pccard/pcic_pci.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/pccard/pcic_pci.h b/sys/pccard/pcic_pci.h
index 334ae07..971849a 100644
--- a/sys/pccard/pcic_pci.h
+++ b/sys/pccard/pcic_pci.h
@@ -33,20 +33,10 @@
#include <dev/pccbb/pccbbdevid.h>
/* CL-PD6832 CardBus defines */
-#define CLPD6832_IO_BASE0 0x002c
-#define CLPD6832_IO_LIMIT0 0x0030
-#define CLPD6832_IO_BASE1 0x0034
-#define CLPD6832_IO_LIMIT1 0x0038
-#define CLPD6832_BRIDGE_CONTROL 0x003c
-#define CLPD6832_LEGACY_16BIT_IOADDR 0x0044
-#define CLPD6832_LEGACY_16BIT_IOENABLE 0x0001
-#define CLPD6832_SOCKET 0x004c
+#define CLPD6832_SOCKET 0x004c
/* Configuration constants */
-#define CLPD6832_BCR_MGMT_IRQ_ENA 0x08000000
-#define CLPD6832_BCR_ISA_IRQ 0x00800000
-#define CLPD6832_COMMAND_DEFAULTS 0x00000045
-#define CLPD6832_NUM_REGS 2
+#define CLPD6832_BCR_MGMT_IRQ_ENA 0x0800
/* End of CL-PD6832 defines */
/* Texas Instruments PCI-1130/1131 CardBus Controller */
OpenPOWER on IntegriCloud