Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 15:48:48 +0100 (CET)
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Poul-Henning Kamp <phk@FreeBSD.ORG>
Cc:        committers@FreeBSD.ORG
Subject:   RE: LINT doesn't compile ??
Message-ID:  <XFMail.990127154848.asmodai@wxs.nl>
In-Reply-To: <30378.917444267@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27-Jan-99 Poul-Henning Kamp wrote:

> ../../dev/usb/uhci.c: In function `uhci_dumpregs':
> ../../dev/usb/uhci.c:406: `UHCI_LEGSUP' undeclared (first use this
> function)
> ../../dev/usb/uhci.c:406: (Each undeclared identifier is reported only
> once
> ../../dev/usb/uhci.c:406: for each function it appears in.)
> machine/cpufunc.h:284: warning: inlining failed in call to `inw'
> ../../dev/usb/uhci.c:406: warning: called from here
> *** Error code 1 (continuing)
> `kernel' not remade because of errors.

It appears that USB_DEBUG suffers from bitrot...

the UHCI_LEGSUP only appears in uhci.c and not in any other file.

try this please:


--- /usr/src/sys/dev/usb/uhci.c.orig    Sat Jan 23 18:08:45 1999
+++ /usr/src/sys/dev/usb/uhci.c Wed Jan 27 15:35:10 1999
@@ -402,8 +402,8 @@
               UREAD4(sc, UHCI_FLBASEADDR),
               UREAD1(sc, UHCI_SOF),
               UREAD2(sc, UHCI_PORTSC1),
-              UREAD2(sc, UHCI_PORTSC2),
-              UREAD2(sc, UHCI_LEGSUP));
+              UREAD2(sc, UHCI_PORTSC2);
+/*            UREAD2(sc, UHCI_LEGSUP)); */
 }
 
 int uhci_longtd = 1;


---
Jeroen Ruigrok van der Werven          It's a Dance of Energy,
asmodai(at)wxs.nl                 when the Mind goes Binary...
Network/Security Specialist      <http://home.wxs.nl/~asmodai>;
BSD & picoBSD: The Power to Serve     <http://www.freebsd.org>;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990127154848.asmodai>