summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/if_rl_cardbus.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2013-03-07 01:03:58 +0000
committerBrad Smith <brad@cvs.openbsd.org>2013-03-07 01:03:58 +0000
commitd2ba37c4fe6ec9ad1859293d84a64ca54bdf6976 (patch)
treeb7e7f523366815912df9009939fb5366ffdf6577 /sys/dev/cardbus/if_rl_cardbus.c
parent5b43cb86e84c801ada139b6d3dd2241b4ad7c9d6 (diff)
Fix and simplify determining whether we're using a 8129 or 8139 chipset. Only
the 8129 PCI id is a 8129, everything else is a 8139. Allows the D-Link DFE-520TX board to work and would ensure proper determination of the chipset for at least the 8138 based boards (PCI/CardBus). Tested by kirby@ Ok kirby@ sthen@ chris@
Diffstat (limited to 'sys/dev/cardbus/if_rl_cardbus.c')
-rw-r--r--sys/dev/cardbus/if_rl_cardbus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_rl_cardbus.c b/sys/dev/cardbus/if_rl_cardbus.c
index 38012b8d79b..175d5fd4c50 100644
--- a/sys/dev/cardbus/if_rl_cardbus.c
+++ b/sys/dev/cardbus/if_rl_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rl_cardbus.c,v 1.22 2011/04/02 17:47:04 jasper Exp $ */
+/* $OpenBSD: if_rl_cardbus.c,v 1.23 2013/03/07 01:03:57 brad Exp $ */
/* $NetBSD: if_rl_cardbus.c,v 1.3.8.3 2001/11/14 19:14:02 nathanw Exp $ */
/*
@@ -203,7 +203,6 @@ rl_cardbus_attach(struct device *parent, struct device *self, void *aux)
}
printf(": irq %d", csc->sc_intrline);
- /* XXX - hardcode this, for now */
sc->rl_type = RL_8139;
rl_attach(sc);