NetBSD/sys/dev/usb
mrg d5d7d88468 adjust axe(4) similar to recent axen(4)/cdce(4)/ure(4) updates
(which were in turn partly based upon smsc(4) changes):
- mark network interface MPSAFE, and use MPSAFE calls
- convert to local tick task doing watchdog timeout
- add global, tx and rx locks
- add ratelimited tx error message
- split many functions into locked/unlocked version
- use more const
- fix some comments
- remove spl
- don't bother with OACTIVE and do it all internally (axe_tx_cnt)

additional changes here:
- use axe_stop() to abort pipes in detach

fixes a crash potential i only saw when almost finished debugging
these changes..
2019-07-15 06:40:21 +00:00
..
aubtfwl.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
aubtfwlreg.h
auvitek_audio.c
auvitek_board.c
auvitek_dtv.c
auvitek_i2c.c
auvitek_video.c KNF 2019-01-22 06:46:21 +00:00
auvitek.c
auvitekreg.h
auvitekvar.h
ehci.c Random style in ehci, also KM_SLEEP does not fail. 2019-06-13 17:20:25 +00:00
ehcireg.h
ehcivar.h implement a gross hack to fix "boot -a" on systems with usb keyboards on 2018-09-18 02:00:06 +00:00
emdtv_board.c
emdtv_board.h
emdtv_dtv.c
emdtv_i2c.c
emdtv_ir.c
emdtv.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
emdtvreg.h
emdtvvar.h
ezload.c
ezload.h
FILES
files.usb Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
if_athn_usb.c Fix the detach path to prevent panic: 2019-06-03 09:58:31 +00:00
if_athn_usb.h
if_atu.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
if_atureg.h
if_aue.c Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*. 2019-05-28 07:41:46 +00:00
if_auereg.h Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes 2019-03-05 08:25:01 +00:00
if_axe.c adjust axe(4) similar to recent axen(4)/cdce(4)/ure(4) updates 2019-07-15 06:40:21 +00:00
if_axen.c minor white space adjustments. 2019-07-15 03:14:22 +00:00
if_axenreg.h move struct axen_chain, struct axen_cdata, struct axen_softc, 2019-06-18 09:34:57 +00:00
if_axereg.h move software parts out of the "reg" header. 2019-07-14 21:37:09 +00:00
if_bwfm_usb.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
if_cdce.c Whitespace 2019-06-29 07:46:19 +00:00
if_cdcereg.h move the software-only parts of cdce(4) out of if_cdcereg.h. 2019-06-22 04:35:46 +00:00
if_cue.c Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*. 2019-05-28 07:41:46 +00:00
if_cuereg.h Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes 2019-03-05 08:25:01 +00:00
if_kue.c Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*. 2019-05-28 07:41:46 +00:00
if_kuereg.h Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes 2019-03-05 08:25:01 +00:00
if_mue.c don't use a spin lock, the USB host driver may need to take other locks. 2019-05-29 09:04:01 +00:00
if_muereg.h Make size of transmit/receive queues variable. Restrict queue size again 2019-02-03 13:11:07 +00:00
if_muevar.h usbd_transfer may sleep, add a mutex to prevent a race in mue_start. 2019-05-26 04:52:07 +00:00
if_otus.c Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*. 2019-05-28 07:41:46 +00:00
if_otusreg.h
if_otusvar.h
if_rum.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
if_rumreg.h
if_rumvar.h
if_run.c KNF 2019-01-22 06:46:21 +00:00
if_runvar.h
if_smsc.c Whitespace fix (mainly tabify). 2019-05-23 13:10:50 +00:00
if_smscreg.h
if_smscvar.h Make smsc(4) MPSAFE. Patch from skrll@. 2018-09-08 13:10:08 +00:00
if_udav.c Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*. 2019-05-28 07:41:46 +00:00
if_udavreg.h Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes 2019-03-05 08:25:01 +00:00
if_umb.c Fix typos 2019-06-26 22:58:58 +00:00
if_umbreg.h Add a port of the umb(4) driver from OpenBSD 2018-07-31 16:44:28 +00:00
if_upgt.c Make m_devget()'s 3rd argument to 0 again. 2019-03-06 08:08:25 +00:00
if_upgtvar.h
if_upl.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
if_ural.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
if_uralreg.h
if_uralvar.h
if_ure.c more smp cleanup for ure(4)/axen(4)/cdce(4): 2019-06-28 01:57:43 +00:00
if_urereg.h Apply FreeBSD r346028 from ganbold@f.o: 2019-04-12 03:32:06 +00:00
if_urevar.h make cdce(4) and ure(4) usb and mpsafe: 2019-06-23 02:14:14 +00:00
if_url.c Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*. 2019-05-28 07:41:46 +00:00
if_urlreg.h Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes 2019-03-05 08:25:01 +00:00
if_urndis.c Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes 2019-03-05 08:25:01 +00:00
if_urtw.c Don't have modules depend on bpf; they will find the dependency dynamically 2018-09-12 21:57:18 +00:00
if_urtwn.c Add rnd(9) support. 2019-06-15 04:00:17 +00:00
if_urtwnreg.h - Unify the "rtwn" and "urtwn" register definitions and initialization 2018-06-29 04:02:10 +00:00
if_urtwnvar.h Add rnd(9) support. 2019-06-15 04:00:17 +00:00
if_urtwreg.h
if_zyd.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
if_zydreg.h Remove set but not used sc_flags. 2018-04-30 01:14:07 +00:00
irmce.c PR kern/52931 Kernel panics with Atheros usb wireless interface 2018-01-21 13:57:11 +00:00
kue_fw.h
Makefile Add a port of the umb(4) driver from OpenBSD 2018-07-31 16:44:28 +00:00
Makefile.usbdevs
mbim.h Add a port of the umb(4) driver from OpenBSD 2018-07-31 16:44:28 +00:00
motg.c Fix assertion failures triggered by usbdi.c,v 1.182, when devices 2019-02-17 04:17:52 +00:00
motgreg.h
motgvar.h Stop potential misuse of vendor names and USB vendor IDs in root hub 2018-04-09 16:21:09 +00:00
ohci.c adjust KASSERT() for sc_lock to handle polling case. 2019-03-22 07:25:15 +00:00
ohcireg.h
ohcivar.h pull across abort fixes from nick-nhusb. add more abort fixes, using 2018-08-09 06:26:47 +00:00
pseye.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
slurm.c KNF 2019-01-22 06:46:21 +00:00
stuirda.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
TODO Remove an item that doesn't need to happen 2019-06-29 07:47:41 +00:00
TODO.usbmp remove a few items that are done, and mark a few others as working 2019-06-30 22:19:55 +00:00
u3g.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ualea.c PR kern/52931 Kernel panics with Atheros usb wireless interface 2018-01-21 13:57:11 +00:00
uark.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
uatp.c KNF 2019-01-22 06:46:21 +00:00
uaudio.c Return correct properties. 2019-06-06 12:59:33 +00:00
uaudioreg.h
uberry.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
ubsa_common.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ubsa.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ubsavar.h clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ubt.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uchcom.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ucom.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ucomvar.h clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ucycom.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
udl.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
udl.h
udsbr.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
udsir.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
uep.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uftdi.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
uftdireg.h
ugen.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
ugensa.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ugraphire_rdesc.h
uhci.c Fix assertion failures triggered by usbdi.c,v 1.182, when devices 2019-02-17 04:17:52 +00:00
uhcireg.h
uhcivar.h reorder some struct members to remove holes. 2018-09-17 08:27:41 +00:00
uhid.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uhidev.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uhidev.h use sc_lock not sc_access_lock to check UHIDEV_OPEN. 2019-03-23 02:19:31 +00:00
uhmodem.c Claim suspend support. 2019-05-27 03:08:13 +00:00
uhso.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uhub.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uipad.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uipaq.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
uirda.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uirdavar.h
ukbd.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
ukbdvar.h
ukyopon.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
ukyopon.h
ulpireg.h
ulpt.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
umass_isdata.c move the deallocation of the protocol-specific softc into its own detach hook, 2019-02-10 19:23:55 +00:00
umass_isdata.h
umass_quirks.c
umass_quirks.h
umass_scsipi.c ATA passthrough commands, supported by many SPC-2 disks, require more 2019-05-30 21:44:49 +00:00
umass_scsipi.h move the deallocation of the protocol-specific softc into its own detach hook, 2019-02-10 19:23:55 +00:00
umass.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
umassvar.h Handle abort paths gracefully on detach. 2018-11-13 10:30:57 +00:00
umcs.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
umcs.h Fix typo (s/recevie/receive/). 2019-06-04 10:15:22 +00:00
umct.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
umct.h
umidi_quirks.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
umidi_quirks.h
umidi.c Merge isaki-audio2 branch, the overhaul of audio subsystem. 2019-05-08 13:40:13 +00:00
umodem_common.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
umodem.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
umodemvar.h clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
umodeswitch.c - USB_VENDOR_QUALCOMM -> USB_VENDOR_LG 2018-07-24 08:15:57 +00:00
ums.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uplcom.c Fix USB_DEBUG build 2019-05-09 14:50:38 +00:00
urio.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
urio.h
usb_mem.c
usb_mem.h
usb_quirks.c Remove extra white spaces. No functional change. 2019-05-23 04:44:49 +00:00
usb_quirks.h Workaround NBP PN533 USB toggle bit bugs 2018-11-15 02:35:23 +00:00
usb_subr.c Revert previous, for now. 2019-07-06 08:00:19 +00:00
usb_verbose.c
usb_verbose.h
usb.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
usb.h Add a port of the umb(4) driver from OpenBSD 2018-07-31 16:44:28 +00:00
usbcdc.h
usbdevices.config Add ure(4) to kernel config files. Also add PHY drivers where necessary. 2019-02-06 11:58:30 +00:00
usbdevs Add HP LP2[24]75w hub ids. (ID strings are missing from device.) 2019-01-30 19:51:28 +00:00
usbdevs_data.h regen 2019-01-30 19:53:34 +00:00
usbdevs.h regen 2019-01-30 19:53:34 +00:00
usbdi_util.c Remove (mostly useless) usb_detach_{broadcast,wait} and replace with 2019-02-07 13:20:41 +00:00
usbdi_util.h Remove (mostly useless) usb_detach_{broadcast,wait} and replace with 2019-02-07 13:20:41 +00:00
usbdi.c Fix system freeze when USB NICs with multiple outstanding transfers 2019-02-17 04:17:31 +00:00
usbdi.h Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
usbdivar.h Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
usbhid.h Side-load dev/hid/hid.h to restore the previous visibility of macros 2018-07-15 18:36:51 +00:00
usbhist.h
usbroothub.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
usbroothub.h
uscanner.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uslsa.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
uslsareg.h
usscanner.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
ustir.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
ustirreg.h
uthum.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
utoppy.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
utoppy.h
uts.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uvideo.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uvideoreg.h
uvisor.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
uvscom.c clean up ucom parents some more: 2019-05-09 02:43:35 +00:00
uyap_firmware.h
uyap.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
uyurex.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
x1input_rdesc.h
xhci.c new comment explains this hack: 2019-05-08 06:31:02 +00:00
xhcireg.h HCSPARAMS2.SPR is bit 26, not 24 2019-06-19 15:10:17 +00:00
xhcivar.h Seperate xHCI and xhci(4) TRB structs so as to avoid some of them 2019-01-07 03:00:39 +00:00
xinput_rdesc.h