freebsd-nq/sys/dev/usb
Bill Paul c0cdcd0b3e Fix one bug and make one minor enhancement:
- In uhci_intr() check to see if sc->sc_bus.bdev is NULL, and if it is,
  ack any pending interrupts and disable them, then return. It is possible
  for interrupts to be delivered the moment a handler is set up at attach
  time in uhci_pci.c, particularly when attempting to kldload the usb.ko
  module after the system is already up. However the driver isn't ready
  to field interrupts at that time and certain pointers in the softc
  struct aren't initialized yet, and we invariably end up falling off
  the end of one of them. The effect is that kldloading the usb module
  will panic the system in uhci_intr(). This added sanity check stops
  this from happening: I can now kldload the usb.ko module without any
  problems and load/attach other USB drivers after it.

  Of course the uhci driver has no detach method, but that's another
  problem.

- In uhci_run(), set the UHCI_CMD_MAXP bit in the command register to
  allow 64-byte packets to be used for full speed bandwidth reclamation.
  Certain high speed devices (in this case the ADMtek USB ethernet
  adapter) require this bit to be set, otherwise babble errors occur
  at the end of large (between 1100 and 1500 byte) transfers. This
  should not affect other devices, although supposedly it is less efficient
  than the 32-byte setting. Unfortunately, this is a per-bus setting,
  not a per-device setting, so we can't just enable it for certain
  devices on the USB bus.
1999-12-23 05:18:58 +00:00
..
devlist2h.awk Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
FILES
hid.c
hid.h
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
ohcivar.h
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
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
usb_mem.h
usb_port.h Correct the last parameter for clalloc 1999-11-28 21:07:11 +00:00
usb_quirks.c Add a quirk for the Altec ASC495 speakers. They pretend to support the 1999-11-28 20:48:08 +00:00
usb_quirks.h Add a quirk for the Altec ASC495 speakers. They pretend to support the 1999-11-28 20:48:08 +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 Add devnames, the device names the drivers attached to for usbd. 1999-11-28 20:55:22 +00:00
usbcdc.h
usbdevs Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
usbdevs_data.h Add vendor NetChip with its device NET1080 (host-to-host adapter) 1999-12-07 01:19:51 +00:00
usbdevs.h Add vendor NetChip with its device NET1080 (host-to-host adapter) 1999-12-07 01:19:51 +00:00
usbdi_util.c Synchronisation with NetBSD 1999/11/27 1999-11-28 21:01:06 +00:00
usbdi_util.h
usbdi.c Synchronisation with NetBSD 1999/11/27 1999-11-28 21:01:06 +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