https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238730

--- Comment #13 from Dennis Clarke <dcla...@blastwave.org> ---

Will do : 

# diff -c if_bge.c.orig if_bge.c
*** if_bge.c.orig       Sun Jul 14 12:00:04 2019
--- if_bge.c    Mon Jul 15 14:45:26 2019
***************
*** 3272,3279 ****
        dev = sc->bge_dev;
        bus = device_get_parent(dev);
        for (;;) {
!               dev = device_get_parent(bus);
                bus = device_get_parent(dev);
                if (device_get_devclass(dev) != pcib)
                        break;
                for (i = 0; i < nitems(mbox_reorder_lists); i++) {
--- 3272,3282 ----
        dev = sc->bge_dev;
        bus = device_get_parent(dev);
        for (;;) {
!               /* [Bug 238730] suggestion from Andriy Gapon <a...@freebsd.org> 
!                * is to move dev = device_get_parent(bus) just after the
!                  * call to device_get_devclass(dev) */
                bus = device_get_parent(dev);
+               dev = device_get_parent(bus);
                if (device_get_devclass(dev) != pcib)
                        break;
                for (i = 0; i < nitems(mbox_reorder_lists); i++) {
# (In reply to Andriy Gapon from comment #12)

Let's see what that does. 

Dennis

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to