From 710c43c745888f3f58ab863c618b2ff0a9923cb3 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Thu, 28 Sep 2000 10:56:57 +0000 Subject: [PATCH] 6 -> ETHER_ADDR_LEN --- sys/dev/ic/dp8390var.h | 4 ++-- sys/dev/ic/hmevar.h | 4 ++-- sys/dev/ic/lancevar.h | 4 ++-- sys/dev/ic/lemacvar.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/dev/ic/dp8390var.h b/sys/dev/ic/dp8390var.h index 923c3eccfee5..62da77678dda 100644 --- a/sys/dev/ic/dp8390var.h +++ b/sys/dev/ic/dp8390var.h @@ -1,4 +1,4 @@ -/* $NetBSD: dp8390var.h,v 1.19 2000/05/29 17:37:12 jhawk Exp $ */ +/* $NetBSD: dp8390var.h,v 1.20 2000/09/28 10:56:57 tsutsui Exp $ */ /* * Device driver for National Semiconductor DS8390/WD83C690 based ethernet @@ -60,7 +60,7 @@ struct dp8390_softc { u_short rec_page_stop; /* last page of RX ring-buffer */ u_short next_packet; /* pointer to next unread RX packet */ - u_int8_t sc_enaddr[6]; /* storage for MAC address */ + u_int8_t sc_enaddr[ETHER_ADDR_LEN]; /* storage for MAC address */ int sc_enabled; /* boolean; power enabled on interface */ diff --git a/sys/dev/ic/hmevar.h b/sys/dev/ic/hmevar.h index ad774d99dad6..6bc7ad98eea8 100644 --- a/sys/dev/ic/hmevar.h +++ b/sys/dev/ic/hmevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: hmevar.h,v 1.5 2000/06/25 01:10:04 eeh Exp $ */ +/* $NetBSD: hmevar.h,v 1.6 2000/09/28 10:56:57 tsutsui Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -95,7 +95,7 @@ struct hme_softc { int sc_debug; void *sc_sh; /* shutdownhook cookie */ - u_int8_t sc_enaddr[6]; /* MAC address */ + u_int8_t sc_enaddr[ETHER_ADDR_LEN]; /* MAC address */ /* Special hardware hooks */ void (*sc_hwreset) __P((struct hme_softc *)); diff --git a/sys/dev/ic/lancevar.h b/sys/dev/ic/lancevar.h index 25862d78f860..03e778782e2d 100644 --- a/sys/dev/ic/lancevar.h +++ b/sys/dev/ic/lancevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: lancevar.h,v 1.2 1998/08/15 10:51:18 mycroft Exp $ */ +/* $NetBSD: lancevar.h,v 1.3 2000/09/28 10:56:57 tsutsui Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -123,7 +123,7 @@ struct lance_softc { #ifdef LEDEBUG int sc_debug; #endif - u_int8_t sc_enaddr[6]; + u_int8_t sc_enaddr[ETHER_ADDR_LEN]; u_int8_t sc_pad[2]; #if NRND > 0 rndsource_element_t rnd_source; diff --git a/sys/dev/ic/lemacvar.h b/sys/dev/ic/lemacvar.h index b74a70fb463e..5c5c615ef7d5 100644 --- a/sys/dev/ic/lemacvar.h +++ b/sys/dev/ic/lemacvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: lemacvar.h,v 1.3 1998/05/14 18:24:00 matt Exp $ */ +/* $NetBSD: lemacvar.h,v 1.4 2000/09/28 10:56:57 tsutsui Exp $ */ /* * Copyright (c) 1997 Matt Thomas @@ -76,7 +76,7 @@ typedef struct { /* * We rely on sc_enaddr being aligned on (at least) a 16 bit boundary */ - unsigned char sc_enaddr[6]; /* current Ethernet address */ + unsigned char sc_enaddr[ETHER_ADDR_LEN]; /* current Ethernet address */ char sc_prodname[LEMAC_EEP_PRDNMSZ+1]; /* product name DE20x-xx */ u_int8_t sc_eeprom[LEMAC_EEP_SIZE]; /* local copy eeprom */ #if NRND > 0