summaryrefslogtreecommitdiff
path: root/sys/dev/ic/fxp.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/ic/fxp.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/ic/fxp.c')
-rw-r--r--sys/dev/ic/fxp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c
index 02221bba25d..570b14deee7 100644
--- a/sys/dev/ic/fxp.c
+++ b/sys/dev/ic/fxp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fxp.c,v 1.53 2004/05/18 22:37:25 beck Exp $ */
+/* $OpenBSD: fxp.c,v 1.54 2004/06/27 02:38:37 brad Exp $ */
/* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */
/*
@@ -345,15 +345,15 @@ fxp_power(why, arg)
* Do generic parts of attach.
*/
int
-fxp_attach_common(sc, enaddr, intrstr)
+fxp_attach_common(sc, intrstr)
struct fxp_softc *sc;
- u_int8_t *enaddr;
const char *intrstr;
{
struct ifnet *ifp;
struct mbuf *m;
bus_dmamap_t rxmap;
u_int16_t data;
+ u_int8_t enaddr[6];
int i, err;
/*