opnsense-src/sys/dev/usb
Ian Dowse 93804be0d7 Refuse to change the configuration index if the device has open
pipes, since open pipes are linked off a usbd_interface structure
that is free()'d when the configuration index is changed. Attempting
to close or use such pipes later would access freed memory and
usually crash the system.

The only driver that is known to trigger this problem is if_axe,
which is itself at fault, but it is worth detecting the situation
to avoid the obscure crashes that result from this type of easily
made driver mistakes.
2004-05-29 14:51:23 +00:00
..
devlist2h.awk Correct $FreeBSD$ style. 2004-04-16 05:22:11 +00:00
dsbr100io.h Support for USB fm radio. 2002-03-04 03:51:21 +00:00
ehci.c Diff reduction to NetBSD 2004-03-19 07:14:23 +00:00
ehci_pci.c Add Intel PCI vendor ID. 2004-05-22 14:18:05 +00:00
ehcireg.h Diff reduction to NetBSD 2004-03-19 07:14:23 +00:00
ehcivar.h add EHCI (USB 2.0) controller support. 2003-04-14 14:04:08 +00:00
FILES add EHCI (USB 2.0) controller support. 2003-04-14 14:04:08 +00:00
hid.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hid.h WARNING: white space diff 2003-07-04 01:50:39 +00:00
if_aue.c We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
if_auereg.h Replace the static "qdat" structure with a per-instance softc field 2004-05-23 12:35:25 +00:00
if_axe.c We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
if_axereg.h Replace the static "qdat" structure with a per-instance softc field 2004-05-23 12:35:25 +00:00
if_cue.c We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
if_cuereg.h Replace the static "qdat" structure with a per-instance softc field 2004-05-23 12:35:25 +00:00
if_kue.c We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
if_kuereg.h Replace the static "qdat" structure with a per-instance softc field 2004-05-23 12:35:25 +00:00
if_rue.c We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
if_ruereg.h Replace the static "qdat" structure with a per-instance softc field 2004-05-23 12:35:25 +00:00
if_udav.c We don't need to initialize if_output, ether_ifattach() does it 2004-05-23 16:11:53 +00:00
if_udavreg.h Replace the static "qdat" structure with a per-instance softc field 2004-05-23 12:35:25 +00:00
kue_fw.h
Makefile.usbdevs
ohci.c MFNetBSD Version 1.146 2004-03-26 18:56:58 +00:00
ohci_pci.c Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ohcireg.h Remove "Scheduling overrun" interrupts from the set of normal interrupts 2004-05-06 09:21:05 +00:00
ohcivar.h Enable support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWN 2003-12-22 15:18:46 +00:00
rio500_usb.h
ubsa.c It appears that we don't need sys/vnode.h, which is a layering violation... 2004-01-02 05:16:01 +00:00
ubser.c add driver for BWCT console management serials 2004-03-01 02:34:49 +00:00
ubser.h add driver for BWCT console management serials 2004-03-01 02:34:49 +00:00
ucom.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ucomvar.h Replace the FOO_DEBUG definitions with USB_DEBUG, and switch the 2002-07-31 14:34:36 +00:00
udbp.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
udbp.h WARNING: white space diff 2003-07-04 01:50:39 +00:00
ufm.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
uftdi.c Add support for Crystalfontz CFA-632, CFA-633 and CFA-634, all of them 2004-03-18 01:02:46 +00:00
uftdireg.h Add the uftdi ucom driver which supports the following adapters: 2002-08-11 23:32:33 +00:00
ugen.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ugraphire_rdesc.h MFNetBSD: uhid.c (1.42 & 1.43), ugraphire_rdesc.h (1.1) 2002-04-07 17:04:01 +00:00
uhci.c Diff reduction to NetBSD. 2004-05-23 11:43:34 +00:00
uhci_pci.c Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
uhcireg.h WARNING: white space diff 2003-07-04 01:50:39 +00:00
uhcivar.h make allocation of the necessary data structures most efficent by using 2003-07-15 23:19:49 +00:00
uhid.c Update URL to HID spec. 2004-05-23 16:55:28 +00:00
uhub.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ukbd.c Fix a problem with the USB keyboard driver not properly handling key 2004-02-23 15:36:40 +00:00
ulpt.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
umass.c Fix typos in comments. 2004-05-22 09:29:52 +00:00
umct.c Apply some fixups in the driver_t's. 2003-11-16 12:13:39 +00:00
umodem.c add support Kyocera AH-K3001V (cellular phone in Japan) 2004-05-21 01:36:48 +00:00
ums.c Update URL to HID spec. 2004-05-23 17:09:07 +00:00
uplcom.c Fix comment typo. 2003-11-16 13:13:16 +00:00
urio.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
usb.c MFNetBSD 1.80; author: wiz 2004-05-23 14:01:23 +00:00
usb.h Packed structures are defined differently in older gcc's, like the one 2002-11-06 21:37:21 +00:00
usb_ethersubr.c Remove duplicate 2003-11-14 11:09:45 +00:00
usb_ethersubr.h Update netisr handling; Each SWI now registers its queue, and all queue 2003-03-04 23:19:55 +00:00
usb_if.m
usb_mem.c Make it easier to run this code on RELENG_4. 2003-10-04 22:13:21 +00:00
usb_mem.h eliminate casts from the DMAADDR macro. This depends upon bus_addr_t being 2003-09-01 01:07:24 +00:00
usb_port.h MFNetBSD: 2003-11-09 23:54:21 +00:00
usb_quirks.c Add support SUNTAC U-Cable type A3(AS64LX) 2004-01-16 15:29:27 +00:00
usb_quirks.h Pull in the most recent version of usb_quirks.h and propagate the necessary 2001-07-05 10:12:59 +00:00
usb_subr.c Refuse to change the configuration index if the device has open 2004-05-29 14:51:23 +00:00
usbcdc.h Merge from NetBSD and arrange for FreeBSD's slight differences in 2003-01-09 04:24:28 +00:00
usbdevs add support Kyocera AH-K3001V (cellular phone in Japan) 2004-05-21 01:36:48 +00:00
usbdevs.h Sync to 1.178 of usbdevs 2004-05-21 01:39:38 +00:00
usbdevs_data.h Sync to 1.178 of usbdevs 2004-05-21 01:39:38 +00:00
usbdi.c Implement a crude but functional usbd_ratecheck() to limit the number 2004-03-04 20:49:03 +00:00
usbdi.h Device megapatch 1/6: 2004-02-21 19:42:58 +00:00
usbdi_util.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
usbdi_util.h WARNING: white space diff 2003-07-04 01:50:39 +00:00
usbdivar.h make usb bus_dma aware. 2003-07-15 22:42:37 +00:00
usbhid.h Sync usb.h with NetBSD, apart from usb_device_info.speed, which 2002-01-02 20:16:53 +00:00
uscanner.c Add support for the Epson Perfection 1670 scanner. 2004-03-13 08:45:16 +00:00
uvisor.c fix SONY_CLIE_41 (as PEG-SJ33/U) 2004-05-06 13:33:59 +00:00
uvscom.c Add support SUNTAC U-Cable type A4 (AS144L4) 2004-05-02 13:21:28 +00:00