From 352c8b1d9301b87bb083059ee15e22c56b05486a Mon Sep 17 00:00:00 2001 From: Felix Kronlage Date: Wed, 21 Jun 2006 11:27:04 +0000 Subject: 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 --- sys/dev/cardbus/ehci_cardbus.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/dev/cardbus/ehci_cardbus.c') diff --git a/sys/dev/cardbus/ehci_cardbus.c b/sys/dev/cardbus/ehci_cardbus.c index 0b53289ef16..c1ca212ff6c 100644 --- a/sys/dev/cardbus/ehci_cardbus.c +++ b/sys/dev/cardbus/ehci_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ehci_cardbus.c,v 1.5 2005/12/30 04:11:40 dlg Exp $ */ +/* $OpenBSD: ehci_cardbus.c,v 1.6 2006/06/21 11:27:03 fkr Exp $ */ /* $NetBSD: ehci_cardbus.c,v 1.6.6.3 2004/09/21 13:27:25 skrll Exp $ */ /* @@ -130,10 +130,6 @@ ehci_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_mem_open)(cc, 0, iob, iob + 0x40); -#endif (ct->ct_cf->cardbus_ctrl)(cc, CARDBUS_MEM_ENABLE); (ct->ct_cf->cardbus_ctrl)(cc, CARDBUS_BM_ENABLE); -- cgit v1.2.3