NetBSD/sys/dev/usb
mrg 76b0c5e318 extend usbnet to cope with if_upl, if_smsc, and if_umb needs:
- usbnet_enqueue() can set mbuf flags and csum_data
- usbnet_input() for non-ethernet based devices (upl, umb)
- allow a complete override for ioctl()
- remove converted list -- we have compiling and/or working patches for
  all the devices except for umb(4), will be merged as testing happens

hopefully this is the last ABI change, though  it may end up being
extended for additional smsc(4)  support.


hello for real netbsd 9.99.3!
2019-08-06 00:19:57 +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 remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
auvitek_board.c
auvitek_dtv.c Merge nick-nhusb 2016-04-23 10:15:27 +00:00
auvitek_i2c.c +#include "opt_usb.h" 2016-11-25 12:56:29 +00:00
auvitek_video.c KNF 2019-01-22 06:46:21 +00:00
auvitek.c Merge nick-nhusb 2016-04-23 10:15:27 +00:00
auvitekreg.h
auvitekvar.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
ehci.c Random style in ehci, also KM_SLEEP does not fail. 2019-06-13 17:20:25 +00:00
ehcireg.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
emdtv_i2c.c
emdtv_ir.c Merge nick-nhusb 2016-04-23 10:15:27 +00:00
emdtv.c Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
emdtvreg.h
emdtvvar.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
ezload.c +#include "opt_usb.h" 2016-11-25 12:56:29 +00:00
ezload.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
FILES
files.usb Make cdce depend on usbnet too 2019-07-31 10:19:55 +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 Pull across from nick-nhusb. 2017-01-21 12:45:22 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
if_aue.c remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +00:00
if_auereg.h remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +00:00
if_axe.c extend usbnet to cope with if_upl, if_smsc, and if_umb needs: 2019-08-06 00:19:57 +00:00
if_axen.c extend usbnet to cope with if_upl, if_smsc, and if_umb needs: 2019-08-06 00:19:57 +00:00
if_axenreg.h introduce a library of common code / backends to share code between 2019-07-31 09:13:16 +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 extend usbnet to cope with if_upl, if_smsc, and if_umb needs: 2019-08-06 00:19:57 +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 remove unused structure members. this brings most <foo>_chain and 2019-07-21 10:27:56 +00:00
if_kue.c remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +00:00
if_kuereg.h remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +00:00
if_mue.c remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
if_rumvar.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
if_run.c KNF 2019-01-22 06:46:21 +00:00
if_runvar.h Use a #define instead of a magic number 2017-11-17 13:08:48 +00:00
if_smsc.c remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +00:00
if_smscreg.h
if_smscvar.h remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +00:00
if_udav.c remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +00:00
if_udavreg.h remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
if_upl.c remove unused structure members. this brings most <foo>_chain and 2019-07-21 10:27:56 +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 Use unsigned (RAL_RF_BUSY). Found by KUBSan. 2019-07-25 11:10:38 +00:00
if_uralvar.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
if_ure.c extend usbnet to cope with if_upl, if_smsc, and if_umb needs: 2019-08-06 00:19:57 +00:00
if_urereg.h Apply FreeBSD r346028 from ganbold@f.o: 2019-04-12 03:32:06 +00:00
if_urevar.h convert axe(4) and ure(4) to usbnet. 2019-08-04 09:03:46 +00:00
if_url.c remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +00:00
if_urlreg.h remove unused structure members. this brings most <foo>_chain and 2019-07-21 10:27:56 +00:00
if_urndis.c remove unused code and use common ethernet media code where equivalent. 2019-08-01 00:10:22 +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 Avoid undefined behavior. Found by KUBSan. 2019-07-25 14:31:35 +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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Fix the same typo again in the same comment. 2017-04-18 19:04:25 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 add a list of done/todo items to the shared ethernet driver code. 2019-08-04 09:10:48 +00:00
TODO.usbmp if_axe.c has been updated for modern times. 2019-07-31 11:02:49 +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 Stop crash when switching vt or leaving X windows. 2016-10-18 20:17:37 +00:00
udsbr.c remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h 2019-05-05 03:17:54 +00:00
udsir.c KNF (from nhusb) 2019-07-22 06:24:57 +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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Support some Wacom pen tablets: 2017-09-02 04:35:51 +00:00
uhci.c Fix assertion failures triggered by usbdi.c,v 1.182, when devices 2019-02-17 04:17:52 +00:00
uhcireg.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Whitespace 2016-12-04 10:08:26 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch 2017-10-07 16:05:31 +00:00
umass_quirks.c Update the kernhist(9) kernel history code to address issues identified 2017-10-28 00:37:11 +00:00
umass_quirks.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
usb_mem.c Update the kernhist(9) kernel history code to address issues identified 2017-10-28 00:37:11 +00:00
usb_mem.h Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 1) Make sure we have a complete endpoint descriptor header, otherwise 2019-07-31 19:40:59 +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 1) Make sure we have a complete endpoint descriptor header, otherwise 2019-07-31 19:40:59 +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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
usbnet.c extend usbnet to cope with if_upl, if_smsc, and if_umb needs: 2019-08-06 00:19:57 +00:00
usbnet.h extend usbnet to cope with if_upl, if_smsc, and if_umb needs: 2019-08-06 00:19:57 +00:00
usbroothub.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
usbroothub.h Some USB3 support from nick-nhusb 2017-11-28 07:36:08 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00
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 Merge nick-nhusb 2016-04-23 10:15:27 +00:00