freebsd-skq/sys/dev/usb
wpaul adbfa252f0 Do not attempt to load the firmware a second time. If you reboot your
machine but leave your KLSI adapter plugged into your USB port, it
may stay powered on and retain its firmware in memory. Trying to load
the firmware again in this case will wedge the chip. Try to detect this
in the kue_load_fw() routine and bail if the firmware is already
loaded and running.

Also, in the probe/match routine, force the revision code to the
hardware default and force a rescan of the quirk database. This is
necessary because the adapter will return a different revision code
if the firmware has been loaded. Without the firmware, the revision
code is 0x002. With the firmware, the revision code is 0x202. This
confuses the quirk mechanism, which won't match a quirk to a device
unless the revision code agrees with the quirk table entry.

This makes probe/attach of these devices somewhat more reliable.

Also add a few comments about the device's operation.
2000-01-05 17:13:50 +00:00
..
devlist2h.awk Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
FILES Major synchronisation with the NetBSD USB stack: 1999-10-07 19:26:38 +00:00
hid.c Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
hid.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
if_aue.c This commit adds device driver support for the ADMtek AN986 Pegasus 1999-12-28 02:01:18 +00:00
if_auereg.h This commit adds device driver support for the ADMtek AN986 Pegasus 1999-12-28 02:01:18 +00:00
if_kue.c Do not attempt to load the firmware a second time. If you reboot your 2000-01-05 17:13:50 +00:00
if_kuereg.h Add device driver support for USB ethernet adapters based on the 2000-01-05 04:27:24 +00:00
kue_fw.h Add device driver support for USB ethernet adapters based on the 2000-01-05 04:27:24 +00:00
Makefile.usbdevs Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
ohci_pci.c Remove the 'ivars' arguement to device_add_child() and 1999-12-03 08:41:24 +00:00
ohci.c Synchronisation with NetBSD 1999/11/27 1999-11-28 21:01:06 +00:00
ohcireg.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
ohcivar.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
ugen.c Commit for r1.29 of ugen.c was wrong. All the ugenX* device 1999-11-30 01:48:12 +00:00
uhci_pci.c Remove the 'ivars' arguement to device_add_child() and 1999-12-03 08:41:24 +00:00
uhci.c Fix one bug and make one minor enhancement: 1999-12-23 05:18:58 +00:00
uhcireg.h Add PCI_USBREV_1_1 1999-11-28 20:47:27 +00:00
uhcivar.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
uhid.c Correct the last parameter for clalloc 1999-11-28 21:07:11 +00:00
uhub.c Synchronisation with NetBSD 1999/11/27 1999-11-28 21:01:06 +00:00
ukbd.c - Add a module event function to the ukbd driver and make the ukbd KLD 1999-12-13 10:36:36 +00:00
ulpt.c Synchronisation with NetBSD 1999/11/27 1999-11-28 21:01:06 +00:00
umass.c Update de driver for the request->xfer changes. 1999-11-28 23:55:52 +00:00
umodem.c Missed a name change. 1999-11-18 12:45:09 +00:00
ums.c Revoke the vnodes on detach. This avoids the crashes people have seen 1999-11-21 17:25:30 +00:00
usb_if.m Add comments, change variable names to make them consistent (r -> err, 1999-07-25 18:54:22 +00:00
usb_mem.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usb_port.h Correct the last parameter for clalloc 1999-11-28 21:07:11 +00:00
usb_quirks.c Add device driver support for USB ethernet adapters based on the 2000-01-05 04:27:24 +00:00
usb_quirks.h This commit adds device driver support for the ADMtek AN986 Pegasus 1999-12-28 02:01:18 +00:00
usb_subr.c Remove the 'ivars' arguement to device_add_child() and 1999-12-03 08:41:24 +00:00
usb.c Fix the 'usb0: USB revision unknown, not supported' people have been seeing 1999-12-03 01:34:42 +00:00
usb.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
usbcdc.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdevs Add device driver support for USB ethernet adapters based on the 2000-01-05 04:27:24 +00:00
usbdevs_data.h Add device driver support for USB ethernet adapters based on the 2000-01-05 04:27:24 +00:00
usbdevs.h Add device driver support for USB ethernet adapters based on the 2000-01-05 04:27:24 +00:00
usbdi_util.c Synchronisation with NetBSD 1999/11/27 1999-11-28 21:01:06 +00:00
usbdi_util.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00
usbdi.c This commit adds device driver support for the ADMtek AN986 Pegasus 1999-12-28 02:01:18 +00:00
usbdi.h Synchronisation with NetBSD 1999/11/27 1999-11-28 21:01:06 +00:00
usbdivar.h Add USB revision strings and numbers. 1999-11-28 20:46:29 +00:00
usbhid.h Synchronisation with NetBSD as of 1999/11/16: 1999-11-17 22:33:51 +00:00