summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_attr_setinheritsched.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-01-17 23:14:40 +0000
committerwpaul <wpaul@FreeBSD.org>2000-01-17 23:14:40 +0000
commite2506df7255b9873c991f8c992b162ab58d3f527 (patch)
treee6de70b80634c1cd42a799816a5f9ec126e7ac75 /lib/libpthread/thread/thr_attr_setinheritsched.c
parent24ae07bb544103d3ec8d898b4354778bb87bbf5b (diff)
downloadFreeBSD-src-e2506df7255b9873c991f8c992b162ab58d3f527.zip
FreeBSD-src-e2506df7255b9873c991f8c992b162ab58d3f527.tar.gz
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.
Diffstat (limited to 'lib/libpthread/thread/thr_attr_setinheritsched.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud