NetBSD/sys/dev/usb
riastradh d9ce0ea7ad usbnet: Fix ordering of actions in usbnet_stop.
Make sure all software activity is quiescent (callouts and tasks,
including ifmedia and mii callbacks -- anything that might trigger
register access) before asking the driver to stop the hardware.  This
way, the driver uno_stop routine is guaranteed exclusive access to
the registers.

This will also enable us to simplify the callouts and tasks so they
don't have to check the software state -- to be done in a separate
commit.
2022-03-03 05:48:22 +00:00
..
FILES Remove uscanner(4) driver 2021-06-29 10:22:33 +00:00
Makefile Put the ioctl definitions in a header, and install it. 2020-03-31 16:28:28 +00:00
Makefile.usbdevs
TODO
TODO.usbmp Remove uscanner(4) driver 2021-06-29 10:22:33 +00:00
aubtfwl.c aubtfwl(4): Use kmem_asprintf() for firmware file name creation. 2020-05-30 17:19:45 +00:00
aubtfwlreg.h Add missing RCSID in header files and one __KERNEL_RCSID(). 2021-08-26 21:33:36 +00:00
auvitek.c revert the 0x% -> %# change for fixed width formats pointed out by uwe. 2020-03-14 02:35:33 +00:00
auvitek_audio.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
auvitek_board.c
auvitek_dtv.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
auvitek_i2c.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
auvitek_video.c
auvitekreg.h
auvitekvar.h
ehci.c initialize ntag with the old dmatag so we never end up with an invalid one 2022-02-12 15:55:04 +00:00
ehcireg.h
ehcivar.h Three fixes 2021-12-22 21:45:02 +00:00
emdtv.c revert the 0x% -> %# change for fixed width formats pointed out by uwe. 2020-03-14 02:35:33 +00:00
emdtv_board.c
emdtv_board.h
emdtv_dtv.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
emdtv_i2c.c
emdtv_ir.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
emdtvreg.h
emdtvvar.h
files.usb Remove uscanner(4) driver 2021-06-29 10:22:33 +00:00
if_athn_usb.c revert the 0x% -> %# change for fixed width formats pointed out by uwe. 2020-03-14 02:35:33 +00:00
if_athn_usb.h
if_atu.c atu(4): Reject packets larger than MCLBYTES. 2020-08-28 19:02:19 +00:00
if_atureg.h fix various typos, mainly in comments. 2022-02-16 22:00:55 +00:00
if_aue.c This was still not correct,. USB_DEBUG is what mattered, not AUE_DEBUG, 2020-03-18 11:33:32 +00:00
if_auereg.h
if_axe.c reduce aprint_error(9) abuse 2021-03-01 17:41:00 +00:00
if_axen.c axen(4), mue(4), smsc(4): Omit irrelevant cases in ioctl. 2022-03-03 05:48:06 +00:00
if_axenreg.h
if_axereg.h
if_bwfm_usb.c Sort #includes. Nix trailing whitespace. 2020-07-22 17:18:10 +00:00
if_cdce.c hardclock_ticks -> getticks() 2020-05-15 19:28:09 +00:00
if_cdcereg.h
if_cue.c Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_cuereg.h
if_kue.c Align product name. 2021-06-13 09:26:24 +00:00
if_kuereg.h
if_mos.c iron out multicast filter logic and pick better name for its work 2020-04-02 04:09:36 +00:00
if_mosreg.h
if_mue.c axen(4), mue(4), smsc(4): Omit irrelevant cases in ioctl. 2022-03-03 05:48:06 +00:00
if_muereg.h
if_muevar.h
if_otus.c Stricter bounds check for some packet length we get from the usb chip, 2020-06-11 09:51:37 +00:00
if_otusreg.h
if_otusvar.h Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_rum.c Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_rumreg.h
if_rumvar.h Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_run.c disable inlining for couple functions which allocate usb_device_request_t 2020-06-24 21:06:39 +00:00
if_runvar.h Conditionally enable the formerly #if'ed-out code to use the 2020-06-06 13:53:43 +00:00
if_smsc.c axen(4), mue(4), smsc(4): Omit irrelevant cases in ioctl. 2022-03-03 05:48:06 +00:00
if_smscreg.h
if_udav.c Call usbnet_attach before usbnet_{lock_core,busy} 2021-04-02 09:27:44 +00:00
if_udavreg.h
if_umb.c don't opencode kauth_cred_get() 2021-09-21 14:49:01 +00:00
if_umbreg.h KNF 2020-03-21 06:54:32 +00:00
if_upgt.c fix some more typos in comments/log messages, improve wording as well. 2021-08-21 11:55:24 +00:00
if_upgtvar.h fix some more typos in comments/log messages, improve wording as well. 2021-08-21 11:55:24 +00:00
if_upl.c Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_ural.c Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_uralreg.h
if_uralvar.h Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_ure.c - change to use rcvfilt_locked() name to clarify the intent. 2020-03-27 18:04:45 +00:00
if_urereg.h
if_urevar.h
if_url.c usbnet: Remove usbnet_set_dying. 2022-03-03 05:48:14 +00:00
if_urlreg.h
if_urndis.c Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_urtw.c sys: Use if_init wrapper function. 2021-12-31 14:25:22 +00:00
if_urtwn.c add Edimax N150 adapter; tested on my PBP 2021-10-21 20:18:16 +00:00
if_urtwnreg.h
if_urtwnvar.h Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
if_urtwreg.h Add missing RCSID in header files and one __KERNEL_RCSID(). 2021-08-26 21:33:36 +00:00
if_zyd.c Remove duplicate 2021-06-13 09:24:33 +00:00
if_zydreg.h Define and implement a locking protocol for the ifmedia / mii layers: 2020-03-15 23:04:50 +00:00
irmce.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
kue_fw.h
mbim.h Add missing RCSID in header files and one __KERNEL_RCSID(). 2021-08-26 21:33:36 +00:00
motg.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
motgreg.h
motgvar.h
ohci.c Change the usb_mem API to take a bus_dma_tag_t in usb_allocmem instead of 2021-12-21 09:51:22 +00:00
ohcireg.h Convert ohcireg.h to __BITS. NFCI. 2020-06-03 15:38:02 +00:00
ohcivar.h Restructure the abort code for TD based transfers (ctrl, bulk, intr). 2020-12-09 07:10:01 +00:00
pseye.c Support set/get_framerate 2020-05-22 11:24:31 +00:00
slurm.c
stuirda.c
u3g.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ualea.c ualea(4): Null suspend/resume handler. 2021-05-29 08:45:19 +00:00
uark.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uatp.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uaudio.c Release interrupt lock while allocating ressources in trigger 2021-11-13 10:34:00 +00:00
uaudioreg.h
uberry.c
ubsa.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ubsa_common.c Handle IXON,IXOFF individually. 2021-06-13 09:29:38 +00:00
ubsavar.h
ubt.c
uchcom.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ucom.c ucom(4): Fix earlier mistake causing pipes not to be closed. 2021-06-24 08:20:42 +00:00
ucomvar.h
ucycom.c revert the 0x% -> %# change for fixed width formats pointed out by uwe. 2020-03-14 02:35:33 +00:00
udl.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
udl.h
udsbr.c revert the 0x% -> %# change for fixed width formats pointed out by uwe. 2020-03-14 02:35:33 +00:00
udsir.c Change the kqueue filterops::f_isfd field to filterops::f_flags, and 2021-09-26 01:16:07 +00:00
uep.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uftdi.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uftdireg.h
ugen.c Change the kqueue filterops::f_isfd field to filterops::f_flags, and 2021-09-26 01:16:07 +00:00
ugensa.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ugraphire_rdesc.h
uhci.c Change the usb_mem API to take a bus_dma_tag_t in usb_allocmem instead of 2021-12-21 09:51:22 +00:00
uhcireg.h
uhcivar.h Use roundup. NFCI. 2020-03-15 07:56:19 +00:00
uhid.c Use seltrue_filtops rather than rolling our own with filt_seltrue. 2021-09-26 15:07:17 +00:00
uhidev.c Do not explicitly set the HID Report Protocol upon attach, some devices 2022-02-09 18:09:48 +00:00
uhidev.h usb: Overhaul uhid(4) and uhidev(4) locking. 2020-11-29 22:54:51 +00:00
uhmodem.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uhso.c Remove duplicate. 2021-06-13 09:27:20 +00:00
uhub.c uhub(4): Sprinkle dtrace probes. 2022-02-04 23:03:38 +00:00
uipad.c
uipaq.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uirda.c - Use seltrue_filtops rather than rolling our own with filt_seltrue. 2021-09-26 15:08:29 +00:00
uirdavar.h - Use seltrue_filtops rather than rolling our own with filt_seltrue. 2021-09-26 15:08:29 +00:00
ukbd.c ukbd(4): Fix previous change to initial LED flashing. 2022-01-08 17:34:14 +00:00
ukbdvar.h
ukyopon.c Add uxrcom driver for Exar XR21V141x USB serial adapters. Based in part 2020-04-12 01:10:53 +00:00
ukyopon.h
ulpireg.h
ulpt.c Fix NULL deref on attach failure. Found via vHCI fuzzing. 2020-06-27 07:29:11 +00:00
umass.c umass(4): Omit needless reference counting. 2021-12-31 14:24:16 +00:00
umass_quirks.c Add umass quirk for Alcor AU6366 multi-card reader. 2020-06-19 11:52:42 +00:00
umass_quirks.h
umass_scsipi.c umass(4): Omit needless reference counting. 2021-12-31 14:24:16 +00:00
umass_scsipi.h
umassvar.h umass(4): Omit needless reference counting. 2021-12-31 14:24:16 +00:00
umcs.c if the interrupt pipe can't be opened, also print the error. 2022-02-09 07:32:33 +00:00
umcs.h s/threshhold/threshold 2021-07-31 20:29:36 +00:00
umct.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
umct.h
umidi.c s/varable/variable s/explictly/explicitly/ s/proerly/properly/ in comments. 2021-08-08 20:50:12 +00:00
umidi_quirks.c
umidi_quirks.h
umodem.c Add uxrcom driver for Exar XR21V141x USB serial adapters. Based in part 2020-04-12 01:10:53 +00:00
umodem_common.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
umodemvar.h
umodeswitch.c
ums.c use quirk bit for devices that need sc_alwayson instead of adding yet another 2021-10-01 21:14:06 +00:00
uplcom.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
usb.c usb: usb_event_thread: remove delay at startup for USB >= 2.0 HCs 2021-10-10 20:14:09 +00:00
usb.h Update USB_PORT_RESET_RECOVERT to comply with the USB 2.0 specification 2021-10-11 00:25:05 +00:00
usb_mem.c Change the usb_mem API to take a bus_dma_tag_t in usb_allocmem instead of 2021-12-21 09:51:22 +00:00
usb_mem.h usbdi(9): Add some missing header include guards. 2022-02-14 09:23:32 +00:00
usb_quirks.c don't 'extern' some other .c file's data, espcially when it's 2022-01-20 03:14:03 +00:00
usb_quirks.h add a quirk for devices that need ums::sc_alwayson 2021-10-01 21:09:50 +00:00
usb_sdt.h New dtrace usb provider, with a handful of probes in usb.c. 2020-02-19 16:03:30 +00:00
usb_subr.c USB style. NFC. 2021-11-06 06:44:42 +00:00
usb_verbose.c
usb_verbose.h
usbcdc.h Fix typo in comment. s/notifcation/notification/ 2021-11-06 06:44:41 +00:00
usbdevices.config Remove uscanner(4) driver 2021-06-29 10:22:33 +00:00
usbdevs Add the Microchip PICkit3 programmer 2022-01-17 11:09:57 +00:00
usbdevs.h Regen: Add the Microchip PICkit3 programmer 2022-01-17 11:11:41 +00:00
usbdevs_data.h Regen: Add the Microchip PICkit3 programmer 2022-01-17 11:11:41 +00:00
usbdi.c don't 'extern' some other .c file's data, espcially when it's 2022-01-20 03:14:03 +00:00
usbdi.h usbdi(9): Fix missing includes in usbdi.h. 2022-02-14 09:22:30 +00:00
usbdi_util.c remove unused 2020-06-16 17:25:56 +00:00
usbdi_util.h remove unused 2020-06-16 17:25:56 +00:00
usbdivar.h usbdi(9): Add some missing header include guards. 2022-02-14 09:23:32 +00:00
usbhid.h Add ioctls to get and set raw mode. 2020-03-04 01:23:08 +00:00
usbhist.h remove clause 3 from all my licenses that aren't conflicting with 2021-12-11 19:24:18 +00:00
usbnet.c usbnet: Fix ordering of actions in usbnet_stop. 2022-03-03 05:48:22 +00:00
usbnet.h usbnet: Remove usbnet_set_dying. 2022-03-03 05:48:14 +00:00
usbroothub.c don't 'extern' some other .c file's data, espcially when it's 2022-01-20 03:14:03 +00:00
usbroothub.h
uslsa.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uslsareg.h
usscanner.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ustir.c Change the kqueue filterops::f_isfd field to filterops::f_flags, and 2021-09-26 01:16:07 +00:00
ustirreg.h
uthum.c Fix envsys detach paths. 2021-06-13 09:28:23 +00:00
utoppy.c revert the 0x% -> %# change for fixed width formats pointed out by uwe. 2020-03-14 02:35:33 +00:00
utoppy.h
uts.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uvideo.c uvideo(4): Fix USB interface numbering. 2022-01-09 18:27:23 +00:00
uvideoreg.h revert bPreferedVersion rename. It's named like the by spec (from jmcneill). 2021-11-14 08:32:07 +00:00
uvisor.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uvscom.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uxrcom.c Clean up some useless ugliness. NFC. 2020-07-09 13:43:04 +00:00
vhci.c sys: Fix various abuse of struct device internals. 2022-02-12 03:24:34 +00:00
vhci.h Publish the request/response structures too. 2020-03-31 16:34:25 +00:00
x1input_rdesc.h
xhci.c xhci(4): Fix handling of endpoint reset/stop. 2022-01-29 21:36:12 +00:00
xhcireg.h xhci(4): Draft suspend/resume. 2021-05-23 11:49:45 +00:00
xhcivar.h xhci(4): Block commands and issue Stop Endpoint on suspend. 2021-05-23 21:12:28 +00:00
xinput_rdesc.h