Page MenuHomeFreeBSD

D37814.1784242472.diff
No OneTemporary

Size
648 B
Referenced Files
None
Subscribers
None

D37814.1784242472.diff

diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -475,7 +475,7 @@
/*
* Set the primary address.
*/
- eaddr = IF_LLADDR(ifp);
+ eaddr = if_getlladdr(ifp);
lo = eaddr[0] | (eaddr[1] << 8) | (eaddr[2] << 16) |
(eaddr[3] << 24);
hi = eaddr[4] | (eaddr[5] << 8);
diff --git a/sys/dev/dwc/if_dwcvar.h b/sys/dev/dwc/if_dwcvar.h
--- a/sys/dev/dwc/if_dwcvar.h
+++ b/sys/dev/dwc/if_dwcvar.h
@@ -65,7 +65,7 @@
int mii_clk;
device_t miibus;
struct mii_data * mii_softc;
- struct ifnet *ifp;
+ if_t ifp;
int if_flags;
struct mtx mtx;
void * intr_cookie;

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 16, 10:54 PM (13 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29161308
Default Alt Text
D37814.1784242472.diff (648 B)

Event Timeline