NetBSD/sys/dev/usb
riastradh 6586a9d44c usbnet(9): Make sure unp->unp_if_flags is initialized on init.
usbnet_ifflags_cb is only called if the flags change while up and
running.  (XXX Maybe it should be called in other circumstances too
so there's only one path here?)

Out of paranoia, clear the cache on stop.

PR kern/57645

XXX pullup-10
2023-10-09 17:42:00 +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 auvitek(4): Fix i2c detach if attach failed. 2022-03-13 12:49:36 +00:00
auvitek_audio.c auvitek(4): Fix i2c detach if attach failed. 2022-03-13 12:49:36 +00:00
auvitek_board.c
auvitek_dtv.c auvitek(4): Fix i2c detach if attach failed. 2022-03-13 12:49:36 +00:00
auvitek_i2c.c auvitek(4): Fix i2c detach if attach failed. 2022-03-13 12:49:36 +00:00
auvitek_video.c auvitek(4): Fix i2c detach if attach failed. 2022-03-13 12:49:36 +00:00
auvitekreg.h
auvitekvar.h auvitek(4): Fix i2c detach if attach failed. 2022-03-13 12:49:36 +00:00
ehci.c PR//57518: usb keyboard causes host controller to miss microframe 2023-07-30 12:17:02 +00:00
ehcireg.h
ehcivar.h ehci(4): Serialize access to portsc registers. 2022-03-13 11:29:21 +00:00
emdtv.c emdtv(4): More attach/detach bugs. 2022-06-26 22:49:09 +00:00
emdtv_board.c
emdtv_board.h
emdtv_dtv.c emdtv(4): Fix issues in detach. 2022-03-29 09:08:44 +00:00
emdtv_i2c.c
emdtv_ir.c emdtv(4): More attach/detach bugs. 2022-06-26 22:49:09 +00:00
emdtvreg.h
emdtvvar.h emdtv(4): More attach/detach bugs. 2022-06-26 22:49:09 +00:00
files.usb various debug updates for some usb drivers 2023-07-20 20:00:34 +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 usb: usbd_close_pipe never fails. Make it return void. 2022-03-03 06:06:52 +00:00
if_atureg.h fix various typos, mainly in comments. 2022-02-16 22:00:55 +00:00
if_aue.c usbnet(9): New usbnet_ispromisc(un). 2022-08-20 14:08:59 +00:00
if_auereg.h
if_axe.c usbnet(9): New usbnet_ispromisc(un). 2022-08-20 14:08:59 +00:00
if_axen.c usbnet(9): New usbnet_ispromisc(un). 2022-08-20 14:08:59 +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 usbnet: Omit needless detachcv name parameter to usbnet_attach. 2022-03-03 05:56:28 +00:00
if_cdcereg.h
if_cue.c cue(4): Prune dead branch: IFF_BROADCAST is always set here. 2022-08-20 14:09:10 +00:00
if_cuereg.h
if_kue.c usbnet(9): New usbnet_ispromisc(un). 2022-08-20 14:08:59 +00:00
if_kuereg.h
if_mos.c ETHERCAP_VLAN_MTU does not go into ifp->if_capabilities but ethercom 2022-10-10 18:30:28 +00:00
if_mosreg.h
if_mue.c fix various typos in comments and one output message. 2022-10-31 21:22:05 +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 rum(4): Avoid uninitialized garbage in failed register read. 2022-08-12 19:13:36 +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 usbnet(9): New usbnet_ispromisc(un). 2022-08-20 14:08:59 +00:00
if_smscreg.h revert accidental last commit (except ukbd.c) 2022-04-06 22:01:45 +00:00
if_udav.c udav(4): Prune dead branch: legacy IFF_ALLMULTI is never set here. 2022-08-20 14:09:20 +00:00
if_udavreg.h
if_umb.c umb(4): Use usbd_do_request as drivers are intended to do. 2022-08-20 11:32:08 +00:00
if_umbreg.h KNF 2020-03-21 06:54:32 +00:00
if_upgt.c upgt(4): Make upgt_free_cmd match upgt_alloc_cmd. 2022-07-01 01:07:32 +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 usbnet: Omit needless detachcv name parameter to usbnet_attach. 2022-03-03 05:56:28 +00:00
if_ural.c ural_start(): Replace "IFQ_DEQUEUE() -> IF_PREPEND() on failure" with 2022-08-20 19:11:08 +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 ure(4): Set all bits, not no bits, in multicast filter for promisc. 2023-10-09 11:28:05 +00:00
if_urereg.h
if_urevar.h
if_url.c usbnet(9): New usbnet_ispromisc(un). 2022-08-20 14:08:59 +00:00
if_urlreg.h
if_urndis.c Apply the new diff from 2023-10-01 06:55:27 +00:00
if_urtw.c usb: usbd_close_pipe never fails. Make it return void. 2022-03-03 06:06:52 +00:00
if_urtwn.c fix simple mis-matched function prototype and definitions. 2023-08-01 07:04:14 +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 irmce(4): Use config_detach_children. 2023-05-10 00:12:28 +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 usb: Provisionally release bus lock around ubm_rhctrl. 2022-03-09 22:17:41 +00:00
motgreg.h
motgvar.h
ohci.c ohci(4): Don't flail around with enabling polling in suspend/resume. 2022-03-09 22:18:54 +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 video(9): Make softc argument mandatory for video_attach_mi. 2022-03-03 06:23:25 +00:00
slurm.c
stuirda.c
u3g.c Add support for ZTE MF112 and D-Link DWM222 3G USB modems 2023-02-13 14:05:26 +00:00
ualea.c ualea(4): Enter the data under the softc lock. 2022-03-20 13:18:30 +00:00
uark.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uatp.c uatp(4): Use usbd_get/set_report for Geyser 3/4 reset. 2022-03-28 12:45:04 +00:00
uaudio.c s/streadming/streaming/ in debug message. 2023-08-14 21:17:08 +00:00
uaudioreg.h Handle packet scheduling for high/super speed. 2023-04-16 19:26:20 +00:00
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 revert accidental last commit (except ukbd.c) 2022-04-06 22:01:45 +00:00
uchcom.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ucom.c ucom(4): Simplify logic fixing PR kern/57259. 2023-03-05 23:28:54 +00:00
ucomvar.h
ucycom.c ucycom(4): Convert to ttylock/ttyunlock. 2022-10-26 23:50:28 +00:00
udl.c RISC-V support that works on QEMU with a single hart. 2023-05-07 12:41:45 +00:00
udl.h Finally fix the blitting function. 2022-09-06 02:20:17 +00:00
udsbr.c udsbr(4): Use config_detach_children. 2023-05-10 00:12:36 +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 Don't call versioned stuff "old". Follow the naming convention for versioning 2023-07-31 17:41:17 +00:00
ugensa.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ugraphire_rdesc.h
uhci.c uhci(4): Fix wrong lock in callout_halt in uhci_suspend. 2022-08-17 20:03:05 +00:00
uhcireg.h
uhcivar.h Use roundup. NFCI. 2020-03-15 07:56:19 +00:00
uhid.c Don't call versioned stuff "old". Follow the naming convention for versioning 2023-07-31 17:41:17 +00:00
uhidev.c Back out r1.82 ("Do not explicitly set the HID Report Protocol upon attach") 2022-11-04 19:46:55 +00:00
uhidev.h uhidev(9): Define UHIDEV_MAXREPID = 255. 2022-03-28 12:44:37 +00:00
uhmodem.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uhso.c uhso(4): Convert locking comments to locking assertions. 2022-10-26 23:53:03 +00:00
uhub.c revert accidental last commit (except ukbd.c) 2022-04-06 22:01:45 +00:00
uintuos.c a driver for Wacom Intuos drawing tablets, from Yorick Hardy 2022-06-30 06:30:44 +00:00
uipad.c
uipaq.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uirda.c uirda(4): Unconditionally initializes mutexes and selq on attach. 2022-08-07 11:25:32 +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): Sort includes. 2023-09-02 17:43:16 +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): Reduce timeout for control xfers to standard USB timeout. 2022-09-22 14:27:52 +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 fix typos in comment and log message. 2023-01-21 16:50:05 +00:00
umcs.h s/ for for / for / in comment. 2023-09-21 09:31:49 +00:00
umct.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
umct.h
umidi.c umidi(4): Clarify loops. No functional change intended. 2022-07-01 01:08:06 +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 Compute a unique port number from interface index. 2022-07-31 13:01:16 +00:00
umodemvar.h
umodeswitch.c Add support for D-Link DWM-222 4G LTS USB adapter 2023-08-04 13:25:17 +00:00
ums.c various debug updates for some usb drivers 2023-07-20 20:00:34 +00:00
uplcom.c Add missing brace. 2022-07-06 15:24:14 +00:00
usb.c Don't call versioned stuff "old". Follow the naming convention for versioning 2023-07-31 17:41:17 +00:00
usb.h put back old names (should be removed from the sanitizers) 2023-07-31 23:52:12 +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 usb: Add missing includes in usb_mem.h. 2022-03-03 06:09:11 +00:00
usb_quirks.c fix typq 2023-05-14 23:58:35 +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
usb_subr.c usb(9): Assert ud_ifaces is null before we clobber it. 2023-04-11 08:50:07 +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 USB device TOPPING DX3 Pro. 2023-09-07 20:04:18 +00:00
usbdevs.h Add USB device TOPPING DX3 Pro. 2023-09-07 20:04:18 +00:00
usbdevs_data.h Add USB device TOPPING DX3 Pro. 2023-09-07 20:04:18 +00:00
usbdi.c usbdi(9): Sprinkle usbhist into usb xfer timeout logic. 2022-09-13 10:32:58 +00:00
usbdi.h usbdi(9): Nix resurrected usbd_request_async. 2022-08-20 11:32:20 +00:00
usbdi_util.c usbdi(9): Make usb_desc_iter_next_interface reject truncated descs. 2022-04-17 13:16:52 +00:00
usbdi_util.h remove unused 2020-06-16 17:25:56 +00:00
usbdivar.h usb: Fix roothub ctrl xfer aborts. 2022-03-13 11:28:52 +00:00
usbhid.h
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(9): Make sure unp->unp_if_flags is initialized on init. 2023-10-09 17:42:00 +00:00
usbnet.h usbnet(9): Update comments about locking to reflect current reality. 2022-08-22 08:37:16 +00:00
usbroothub.c usb: Fix roothub ctrl xfer aborts. 2022-03-13 11:28:52 +00:00
usbroothub.h
uslsa.c PR kern/56946 2022-07-29 13:07:14 +00:00
uslsareg.h
usscanner.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
ustir.c ustir(4): Avoid undefined behaviour if register read fails. 2022-03-12 21:15:25 +00:00
ustirreg.h
uthum.c uhidev(9): Make uhidev state opaque. 2022-03-28 12:44:17 +00:00
utoppy.c usb: usbd_abort_pipe never fails. Make it return void. 2022-03-03 06:05:38 +00:00
utoppy.h
uts.c uts(4): Use config_detach_children. 2023-05-10 00:12:44 +00:00
uvideo.c Reduce excessive settle delay. 2023-04-10 15:27:51 +00:00
uvideoreg.h Better descriptor parsing. 2023-04-10 15:26:56 +00:00
uvisor.c Merge thorpej-cfargs2. 2021-08-07 16:18:40 +00:00
uvscom.c s/faild/failed/ in comments and messages. 2022-11-01 19:24:30 +00:00
uxrcom.c Clean up some useless ugliness. NFC. 2020-07-09 13:43:04 +00:00
vhci.c vhci(4): Make vhci_usb_attach/detach return void. 2022-03-12 15:30:51 +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): Don't panic on suspend if previous suspend/resume failed. 2023-07-20 11:59:04 +00:00
xhcireg.h - Fix clearing of EINT and other transient flags. 2023-06-05 03:44:47 +00:00
xhcivar.h xhci(4): Avoid crash in suspend/resume/resume if first resume fails. 2023-04-09 20:41:28 +00:00
xinput_rdesc.h