summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/if_fxp_cardbus.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-06-27 02:38:39 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-06-27 02:38:39 +0000
commit267f60c7d7949235ad9af05b2de0a9c9c35fdba5 (patch)
tree08e4b47fc2742b2ae27f3cae817437c4e7544d7d /sys/dev/cardbus/if_fxp_cardbus.c
parentc585ebffd615ce5ca96e7b77a55098bc9298a713 (diff)
stop passing an empty enaddr around since we figure out the
MAC address in the common attach code and not the PCI/CardBus specific portions, this was a side effect of the code being split to support CardBus. ok beck@
Diffstat (limited to 'sys/dev/cardbus/if_fxp_cardbus.c')
-rw-r--r--sys/dev/cardbus/if_fxp_cardbus.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/cardbus/if_fxp_cardbus.c b/sys/dev/cardbus/if_fxp_cardbus.c
index 9c9ca2f0e8c..0adbcbd3d8f 100644
--- a/sys/dev/cardbus/if_fxp_cardbus.c
+++ b/sys/dev/cardbus/if_fxp_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fxp_cardbus.c,v 1.6 2004/05/07 23:33:39 brad Exp $ */
+/* $OpenBSD: if_fxp_cardbus.c,v 1.7 2004/06/27 02:38:37 brad Exp $ */
/* $NetBSD: if_fxp_cardbus.c,v 1.12 2000/05/08 18:23:36 thorpej Exp $ */
/*
@@ -143,7 +143,6 @@ fxp_cardbus_attach(parent, self, aux)
cardbus_function_tag_t cf = psc->sc_cf;
bus_space_tag_t iot, memt;
bus_space_handle_t ioh, memh;
- u_int8_t enaddr[6];
bus_addr_t adr;
bus_size_t size;
@@ -198,7 +197,7 @@ fxp_cardbus_attach(parent, self, aux)
}
snprintf(intrstr, sizeof(intrstr), "irq %d", ca->ca_intrline);
- fxp_attach_common(sc, enaddr, intrstr);
+ fxp_attach_common(sc, intrstr);
}
void