Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131675340
D50819.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
661 B
Referenced Files
None
Subscribers
None
D50819.diff
View Options
diff --git a/sys/dev/qlnx/qlnxe/qlnx_os.c b/sys/dev/qlnx/qlnxe/qlnx_os.c
--- a/sys/dev/qlnx/qlnxe/qlnx_os.c
+++ b/sys/dev/qlnx/qlnxe/qlnx_os.c
@@ -2339,9 +2339,6 @@
ha->primary_mac[5] = (rnd >> 16) & 0xFF;
}
- ether_ifattach(ifp, ha->primary_mac);
- bcopy(if_getlladdr(ha->ifp), ha->primary_mac, ETHER_ADDR_LEN);
-
if_setcapabilities(ifp, IFCAP_HWCSUM);
if_setcapabilitiesbit(ifp, IFCAP_JUMBO_MTU, 0);
@@ -2396,6 +2393,9 @@
ifmedia_set(&ha->media, (IFM_ETHER | IFM_AUTO));
+ ether_ifattach(ifp, ha->primary_mac);
+ bcopy(if_getlladdr(ha->ifp), ha->primary_mac, ETHER_ADDR_LEN);
+
QL_DPRINT2(ha, "exit\n");
return;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 11, 6:21 AM (19 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23565942
Default Alt Text
D50819.diff (661 B)
Attached To
Mode
D50819: qlnx: fix panic at startup
Attached
Detach File
Event Timeline
Log In to Comment