kern/95693: [bce] [patch] broken bce build in RELENG_6_1 if DEVICE_POLLING enabled

Alex Kozlov spam at rm-rf.kiev.ua
Thu Apr 13 14:10:06 UTC 2006


>Number:         95693
>Category:       kern
>Synopsis:       [bce] [patch] broken bce build in RELENG_6_1 if DEVICE_POLLING enabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 13 14:10:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kozlov
>Release:        FreeBSD 6.1-RC
>Organization:
private
>Environment:
FreeBSD localhost 6.1-RC FreeBSD 6.1-RC i386
>Description:
errors in if_bce.c prevent to build kernel in RELENG_6_1 if DEVICE_POLLING enabled
>How-To-Repeat:
enable DEVICE_POLLING and try to build kernel
>Fix:
diff -u sys/dev/bce/if_bce.c.old sys/dev/bce/if_bce.c
--- sys/dev/bce/if_bce.c.old    Thu Apr 13 16:41:57 2006
+++ sys/dev/bce/if_bce.c        Thu Apr 13 16:42:56 2006
@@ -4090,7 +4090,7 @@
                if (ifp->if_capenable & IFCAP_POLLING) {
                        if (sc->bce_rxcycles <= 0)
                                break;
-                       sc->rxcycles--;
+                       sc->bce_rxcycles--;
                }
 #endif
 
@@ -4974,6 +4974,7 @@
                        break;
        }
 
+bce_ioctl_exit:
        DBPRINT(sc, BCE_VERBOSE_RESET, "Exiting %s()\n", __FUNCTION__);
 
        return(error);

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list