Date: Thu, 13 Apr 2006 14:08:12 GMT From: Alex Kozlov <spam@rm-rf.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/95693: [bce] [patch] broken bce build in RELENG_6_1 if DEVICE_POLLING enabled Message-ID: <200604131408.k3DE8CVN071167@www.freebsd.org> Resent-Message-ID: <200604131410.k3DEA5Zw053772@freefall.freebsd.org>
index | next in thread | raw e-mail
>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:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604131408.k3DE8CVN071167>
