diff options
author | jhb <jhb@FreeBSD.org> | 2005-12-21 15:15:43 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-12-21 15:15:43 +0000 |
commit | 549335d7e2e6a55a1fbb77ae57ad04593080a312 (patch) | |
tree | 3d19892fa4793dc5f7955ac5a8aebe220ba9afd9 /sys | |
parent | 25ca56da4e61fee2a6680357dcaabc2b373d3ad3 (diff) | |
download | FreeBSD-src-549335d7e2e6a55a1fbb77ae57ad04593080a312.zip FreeBSD-src-549335d7e2e6a55a1fbb77ae57ad04593080a312.tar.gz |
Use ETHER_ADDR_LEN rather than hardcoding 6.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/de/if_devar.h | 2 | ||||
-rw-r--r-- | sys/pci/if_devar.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/de/if_devar.h b/sys/dev/de/if_devar.h index ae96b2e..45b7d26 100644 --- a/sys/dev/de/if_devar.h +++ b/sys/dev/de/if_devar.h @@ -510,7 +510,7 @@ struct tulip_softc { struct ifmedia tulip_ifmedia; int tulip_unit; struct ifnet *tulip_ifp; - u_char tulip_enaddr[6]; + u_char tulip_enaddr[ETHER_ADDR_LEN]; bus_space_tag_t tulip_csrs_bst; bus_space_handle_t tulip_csrs_bsh; tulip_regfile_t tulip_csrs; diff --git a/sys/pci/if_devar.h b/sys/pci/if_devar.h index ae96b2e..45b7d26 100644 --- a/sys/pci/if_devar.h +++ b/sys/pci/if_devar.h @@ -510,7 +510,7 @@ struct tulip_softc { struct ifmedia tulip_ifmedia; int tulip_unit; struct ifnet *tulip_ifp; - u_char tulip_enaddr[6]; + u_char tulip_enaddr[ETHER_ADDR_LEN]; bus_space_tag_t tulip_csrs_bst; bus_space_handle_t tulip_csrs_bsh; tulip_regfile_t tulip_csrs; |