FreeBSD Bugzilla – Attachment 254602 Details for
Bug 282374
kernel panic on boot with Chelsio T320 installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch which appears to fix the panic
bug282374.patch (text/plain), 805 bytes, created by
ScottD
on 2024-10-28 19:51:25 UTC
(
hide
)
Description:
Patch which appears to fix the panic
Filename:
MIME Type:
Creator:
ScottD
Created:
2024-10-28 19:51:25 UTC
Size:
805 bytes
patch
obsolete
>diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c >index 4d754aa8b1b7..3fdefe2543a5 100644 >--- a/sys/dev/cxgb/cxgb_main.c >+++ b/sys/dev/cxgb/cxgb_main.c >@@ -1041,6 +1041,11 @@ cxgb_port_attach(device_t dev) > if_sethwassistbits(ifp, 0, CSUM_TSO); > } > >+ /* Create a list of media supported by this port */ >+ ifmedia_init(&p->media, IFM_IMASK, cxgb_media_change, >+ cxgb_media_status); >+ cxgb_build_medialist(p); >+ > ether_ifattach(ifp, p->hw_addr); > > /* Attach driver debugnet methods. */ >@@ -1055,11 +1060,6 @@ cxgb_port_attach(device_t dev) > return (err); > } > >- /* Create a list of media supported by this port */ >- ifmedia_init(&p->media, IFM_IMASK, cxgb_media_change, >- cxgb_media_status); >- cxgb_build_medialist(p); >- > t3_sge_init_port(p); > > return (err);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282374
: 254602
Working