diff options
author | Felix Kronlage <fkr@cvs.openbsd.org> | 2006-06-21 11:27:04 +0000 |
---|---|---|
committer | Felix Kronlage <fkr@cvs.openbsd.org> | 2006-06-21 11:27:04 +0000 |
commit | 352c8b1d9301b87bb083059ee15e22c56b05486a (patch) | |
tree | 4f68cef0c815f080ce55b31a0616c587abe4b69a /sys/dev/cardbus/uhci_cardbus.c | |
parent | 834b1d43c7a47e7cb72960feacca338f86a433ef (diff) |
removal of '#ifdef rbus ... #else ...' directives, we use rbus in all
cases anyways, so we might as well remove code (the !rbus case) thats been
dead throughout the last years and just use the rbus code without ifdefs.
brad, miod "I am all for this diff"
ok deraadt, mickey
Diffstat (limited to 'sys/dev/cardbus/uhci_cardbus.c')
-rw-r--r-- | sys/dev/cardbus/uhci_cardbus.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/cardbus/uhci_cardbus.c b/sys/dev/cardbus/uhci_cardbus.c index 62dea9d467a..1ce96546686 100644 --- a/sys/dev/cardbus/uhci_cardbus.c +++ b/sys/dev/cardbus/uhci_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci_cardbus.c,v 1.2 2005/12/30 04:01:18 dlg Exp $ */ +/* $OpenBSD: uhci_cardbus.c,v 1.3 2006/06/21 11:27:03 fkr Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -118,10 +118,6 @@ uhci_cardbus_attach(struct device *parent, struct device *self, void *aux) sc->sc_ct = ct; sc->sc.sc_bus.dmatag = ca->ca_dmat; -#if rbus -#else -XXX (ct->ct_cf->cardbus_io_open)(cc, 0, iob, iob + 0x40); -#endif (ct->ct_cf->cardbus_ctrl)(cc, CARDBUS_IO_ENABLE); (ct->ct_cf->cardbus_ctrl)(cc, CARDBUS_BM_ENABLE); |