summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/if_dc_cardbus.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-04-29 21:39:35 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-04-29 21:39:35 +0000
commit5b6f51120e9295cc52f7fe84b01298cbc173afb8 (patch)
tree82f87d2419fdba1780b55188a19a09abd2cdaaac /sys/dev/cardbus/if_dc_cardbus.c
parent7b778aa2455879c1d86c006e363ced82681144f1 (diff)
- remove last vestige of "old autoconf": dc_unit is dead, long live dv_xname
- remove a bunch of #if 0 stuff (most of which referred to dc_unit, grr) - delay a bzero until necessary
Diffstat (limited to 'sys/dev/cardbus/if_dc_cardbus.c')
-rw-r--r--sys/dev/cardbus/if_dc_cardbus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_dc_cardbus.c b/sys/dev/cardbus/if_dc_cardbus.c
index 891edd1a86e..b90f26a6a4b 100644
--- a/sys/dev/cardbus/if_dc_cardbus.c
+++ b/sys/dev/cardbus/if_dc_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_cardbus.c,v 1.12 2002/07/23 17:34:14 drahn Exp $ */
+/* $OpenBSD: if_dc_cardbus.c,v 1.13 2003/04/29 21:39:34 jason Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
@@ -104,7 +104,6 @@ dc_cardbus_attach(parent, self, aux)
bus_addr_t addr;
sc->sc_dmat = ca->ca_dmat;
- sc->dc_unit = sc->sc_dev.dv_unit;
csc->sc_ct = ct;
csc->sc_tag = ca->ca_tag;