summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/fwohci_cardbus.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2003-07-13 01:19:15 +0000
committerBrad Smith <brad@cvs.openbsd.org>2003-07-13 01:19:15 +0000
commitf51eab0de1ab7836789d39085bedf8e13b280e09 (patch)
tree66f9fac152c4d600a4db9a94e5d1ac002710518c /sys/dev/cardbus/fwohci_cardbus.c
parentf4b72b71a02917fd4ef41b56dd2376845a20fb7f (diff)
make this compile on big endian systems.
-- From: NetBSD
Diffstat (limited to 'sys/dev/cardbus/fwohci_cardbus.c')
-rw-r--r--sys/dev/cardbus/fwohci_cardbus.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/cardbus/fwohci_cardbus.c b/sys/dev/cardbus/fwohci_cardbus.c
index 0c33697e535..5fef41d74f5 100644
--- a/sys/dev/cardbus/fwohci_cardbus.c
+++ b/sys/dev/cardbus/fwohci_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fwohci_cardbus.c,v 1.4 2003/04/27 11:22:52 ho Exp $ */
+/* $OpenBSD: fwohci_cardbus.c,v 1.5 2003/07/13 01:19:14 brad Exp $ */
/* $NetBSD: fwohci_cardbus.c,v 1.5 2002/01/26 16:34:28 ichiro Exp $ */
/*
@@ -88,8 +88,10 @@ struct cfattach fwohci_cardbus_ca = {
fwohci_cardbus_attach, fwohci_cardbus_detach, fwohci_activate
};
-#define CARDBUS_OHCI_MAP_REGISTER PCI_OHCI_MAP_REGISTER
#define CARDBUS_INTERFACE_OHCI PCI_INTERFACE_OHCI
+#define CARDBUS_OHCI_MAP_REGISTER PCI_OHCI_MAP_REGISTER
+#define CARDBUS_OHCI_CONTROL_REGISTER PCI_OHCI_CONTROL_REGISTER
+#define CARDBUS_GLOBAL_SWAP_BE PCI_GLOBAL_SWAP_BE
#define cardbus_devinfo pci_devinfo
int