Date: Mon, 17 Jan 2000 15:14:43 -0800 (PST) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb if_kue.c Message-ID: <200001172314.PAA36611@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2000/01/17 15:14:43 PST
Modified files:
sys/dev/usb if_kue.c
Log:
Change the mechanism by which we detect that the firmware is already
running. It turns out that trying to read the MAC address when there's
no firmware creates a zero length transfer. This apparently doesn't
hurt anything on a UHCI controller, but OHCI controllers generate an
IOERROR, and the device doesn't initialize.
Instead, check the bcdDevice revision code. We know this will be
different when the firmware is running, so if we detect the firmware's
code instead of the bare hardware's code, we skip the firmware load.
Revision Changes Path
1.16 +21 -26 src/sys/dev/usb/if_kue.c
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?200001172314.PAA36611>
