summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-11 12:17:31 +0000
committerru <ru@FreeBSD.org>2005-11-11 12:17:31 +0000
commitec1697067958cd5395dc4db2ef0cb1ce54dc746e (patch)
tree0661ceef4cecc549393ddd1aff0d169d386cb8b6 /sys/pci/if_xl.c
parent24afcaae818a704f924f89cd18fcd660e2a72204 (diff)
downloadFreeBSD-src-ec1697067958cd5395dc4db2ef0cb1ce54dc746e.zip
FreeBSD-src-ec1697067958cd5395dc4db2ef0cb1ce54dc746e.tar.gz
Catch up with IFP2ENADDR() type change (array -> pointer).
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r--sys/pci/if_xl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 51e143b..37aab4e 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -857,9 +857,9 @@ xl_testpacket(struct xl_softc *sc)
if (m == NULL)
return;
- bcopy(&IFP2ENADDR(sc->xl_ifp),
+ bcopy(IFP2ENADDR(sc->xl_ifp),
mtod(m, struct ether_header *)->ether_dhost, ETHER_ADDR_LEN);
- bcopy(&IFP2ENADDR(sc->xl_ifp),
+ bcopy(IFP2ENADDR(sc->xl_ifp),
mtod(m, struct ether_header *)->ether_shost, ETHER_ADDR_LEN);
mtod(m, struct ether_header *)->ether_type = htons(3);
mtod(m, unsigned char *)[14] = 0;
OpenPOWER on IntegriCloud