FreeBSD Bugzilla – Attachment 234897 Details for
Bug 264855
axe: axe usb driver, AX88772, fails to perform autoselect when the axe interface is changed from forced mode to autoselect mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Preliminary fix patch for restarting autoselect mode in AX88772
axe_772_autoselect.patch (text/plain), 594 bytes, created by
Jiahao LI
on 2022-06-23 18:00:09 UTC
(
hide
)
Description:
Preliminary fix patch for restarting autoselect mode in AX88772
Filename:
MIME Type:
Creator:
Jiahao LI
Created:
2022-06-23 18:00:09 UTC
Size:
594 bytes
patch
obsolete
>diff --git a/sys/dev/usb/net/if_axe.c b/sys/dev/usb/net/if_axe.c >index 6da8d7f9b97..8b8bc36267b 100644 >--- a/sys/dev/usb/net/if_axe.c >+++ b/sys/dev/usb/net/if_axe.c >@@ -907,7 +907,8 @@ axe_attach_post_sub(struct usb_ether *ue) > mtx_lock(&Giant); > error = mii_attach(ue->ue_dev, &ue->ue_miibus, ifp, > uether_ifmedia_upd, ue->ue_methods->ue_mii_sts, >- BMSR_DEFCAPMASK, sc->sc_phyno, MII_OFFSET_ANY, adv_pause); >+ BMSR_DEFCAPMASK, sc->sc_phyno, MII_OFFSET_ANY, >+ (sc->sc_flags & AXE_FLAG_772)? adv_pause | MIIF_FORCEANEG : adv_pause); > mtx_unlock(&Giant); > > return (error);
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 264855
: 234897