tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
dev
/
usb
/
at
jcs
1 folder
185 files
dwc2
Replace a bunch of (1 << 31) with (1U << 31)
2 years ago
Makefile
devlist2h.awk
ehci.c
Revert ehci(4) bits in the previous commit. Apparently 64-bit DMA is broken in (almost?) all ehci(4) controllers.
2 years ago
ehcireg.h
Save and restore the (non-standard) USBMODE register around a reset of the controller. This register controls whether the controller is in device or host mode on many dual role controllers and gets reset during a reset of the controller, placing the controller in (non-functional) idle mode. By saving and restoring it, we keep the controller in host mode. Since this is a non-standard register, add a new EHCIF_USBMODE flag and only do the save and restore if it has been set.
9 years ago
ehcivar.h
Save and restore the (non-standard) USBMODE register around a reset of the controller. This register controls whether the controller is in device or host mode on many dual role controllers and gets reset during a reset of the controller, placing the controller in (non-functional) idle mode. By saving and restoring it, we keep the controller in host mode. Since this is a non-standard register, add a new EHCIF_USBMODE flag and only do the save and restore if it has been set.
9 years ago
fido.c
All the device and file type ioctl routines just ignore FIONBIO, so stop calling down into those layer from fcntl(F_SETFL) or ioctl(FIONBIO) and delete the "do nothing for this" stubs in all the *ioctl routines.
1 year ago
files.usb
Make ucc(4) the first consumer of hidcc. No intended functional change.
3 years ago
if_athn_usb.c
fix WEP on athn(4) USB hostap
2 years ago
if_athn_usb.h
spelling feedback and ok tb@ jmc@ ok ratchov@
4 years ago
if_atu.c
remove unneeded includes; ok mpi@
2 years ago
if_atureg.h
spelling feedback and ok tb@ jmc@ ok ratchov@
4 years ago
if_aue.c
remove unneeded includes; ok mpi@
2 years ago
if_auereg.h
Only match devices with a valid configuration.
10 years ago
if_axe.c
Fix some spelling.
2 years ago
if_axen.c
Add support for AX88772D.
2 years ago
if_axenreg.h
Add support for AX88772D.
2 years ago
if_axereg.h
Only match devices with a valid configuration.
10 years ago
if_bwfm_usb.c
remove unneeded includes; ok mpi@
2 years ago
if_cdce.c
remove unneeded includes; ok mpi@
2 years ago
if_cdcereg.h
Add support for AX88179A. AX88179A interweave dummies alongside valid packet headers in axen_rxeof().
2 years ago
if_cue.c
remove unneeded includes; ok mpi@
2 years ago
if_cuereg.h
spelling; checked by jmc@, ok miod@ mglocker@ krw@
2 years ago
if_kue.c
remove unneeded includes; ok mpi@
2 years ago
if_kuereg.h
A pile of sizes to free(9). In test for a few days in snapshots. Errors will result in nice clean panic messages so we know what's wrong. Reviewed by dhill visa natano jsg.
9 years ago
if_kuevar.h
if_mos.c
remove unneeded includes; ok mpi@
2 years ago
if_mosreg.h
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
13 years ago
if_mtw.c
Use correct bit mask for mcu command field.
2 months ago
if_mtwvar.h
Add mtw(4), a driver for MediaTek MT7601U wifi devices.
4 years ago
if_mue.c
remove unneeded includes; ok mpi@
2 years ago
if_muereg.h
Introduce mue_eeprom_present to check if the EEPROM is present. When the EEPROM is not populated, set the MAC config register MUE_MAC_CR_AUTO_SPEED. While there, encode the MAC address for the onboard USB Ethernet for the Rasperry Pi, like smsc(4) does.
7 years ago
if_otus.c
remove unneeded includes; ok mpi@
2 years ago
if_otusreg.h
Fix deferred key tasks along the same lines as urtwn(4) and run(4).
5 years ago
if_ral.c
remove unneeded includes; ok mpi@
2 years ago
if_ralreg.h
Validate that the interface passed to *match() is the expected one instead of calling usbd_device2interface_handle() during *attach().
7 years ago
if_ralvar.h
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
13 years ago
if_rsu.c
remove unneeded includes; ok mpi@
2 years ago
if_rsureg.h
Fix deferred key tasks along the same lines as urtwn(4) and run(4).
5 years ago
if_rum.c
remove unneeded includes; ok mpi@
2 years ago
if_rumreg.h
Only match devices with a valid configuration.
10 years ago
if_rumvar.h
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
13 years ago
if_run.c
remove unneeded includes; ok mpi@
2 years ago
if_runvar.h
As in urtwn(4), don't bring link up (getting dhclient(8) excited) until all the keys are negotiated and installed.
5 years ago
if_smsc.c
remove unneeded includes; ok mpi@
2 years ago
if_smscreg.h
spelling feedback and ok tb@ jmc@ ok ratchov@
4 years ago
if_uaq.c
remove unneeded includes; ok mpi@
2 years ago
if_uath.c
remove unneeded includes; ok mpi@
2 years ago
if_uathreg.h
if_uathvar.h
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
13 years ago
if_udav.c
remove unneeded includes; ok mpi@
2 years ago
if_udavreg.h
spelling feedback and ok tb@ jmc@ ok ratchov@
4 years ago
if_ugl.c
remove unneeded includes; ok mpi@
2 years ago
if_umb.c
correct umb_kstat_detach() NULL tests; Coverity CID 1667594 ok jca@ dlg@ miod@
4 months ago
if_umb.h
oops, forgot the commit the .h change for the softc tweak.
5 months ago
if_upgt.c
remove unneeded includes; ok mpi@
2 years ago
if_upgtvar.h
spelling feedback and ok tb@ jmc@ ok ratchov@
4 years ago
if_upl.c
remove unneeded includes; ok mpi@
2 years ago
if_ure.c
inline -> static inline, fixes -fno-inline build ok kevlo@
10 months ago
if_urereg.h
Add preliminary support for RTL8157.
10 months ago
if_url.c
remove unneeded includes; ok mpi@
2 years ago
if_urlreg.h
Use the correct value for the Interframe Gap Time 0 bit in the transmit configuration register and fix a typo. From Paul A. Patience.
12 years ago
if_urndis.c
remove unneeded includes; ok mpi@
2 years ago
if_urndisreg.h
Increase urndis(4) buffer size to 16K. Fixes USB tethering issues with Galaxy S20 and S23.
3 months ago
if_urtw.c
spelling; checked by jmc@, ok miod@ mglocker@ krw@
2 years ago
if_urtwn.c
revert previous
9 months ago
if_urtwreg.h
Set the configuration number and get the interface handle in attach(), like urtwn(4) does, to prevent a null dereference of the configuration descriptor.
11 years ago
if_wi_usb.c
Remove extra space
10 months ago
if_wi_usb.h
Only match devices with a valid configuration.
10 years ago
if_zyd.c
remove unneeded includes; ok mpi@
2 years ago
if_zydreg.h
A pile of sizes to free(9). In test for a few days in snapshots. Errors will result in nice clean panic messages so we know what's wrong. Reviewed by dhill visa natano jsg.
9 years ago
makemap.awk
This patch adds an apple variant to the de keyboard encoding for wskdb. It doesn't attempt to map all additional keysyms, only those that are required in the shell and for programming.
3 months ago
mbim.h
Some cards announce support for the NTB16 format, but that support does not work. Hence, add support for NTB32 in the transmit path. We already have support for NTB32 in the receive path. We detect the supported format on boot and can then decide on transmit which format to use.
5 years ago
moscom.c
remove unneeded includes; ok mpi@
2 years ago
ohci.c
constify USB host controller method tables and root hub descriptors
4 years ago
ohcireg.h
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
13 years ago
ohcivar.h
Defering some processing to the soft-interrupt handler introduced a race. Revert for now.
8 years ago
uark.c
remove unneeded includes; ok mpi@
2 years ago
uaudio.c
uaudio: Handle devices with a single clock exposed in multiple domains
4 months ago
ubcmtp.c
remove unneeded includes; ok mpi@
2 years ago
uberry.c
remove unneeded includes; ok mpi@
2 years ago
ubsa.c
remove unneeded semicolons; checked by millert@
2 years ago
ucc.c
include sys/device.h, on some architectures this gets pulled in, but others (like sparc64) require it explicitly
3 years ago
uchcom.c
In r1.39, both the baud rate and the line configuration are set through UCHCOM_REQ_SET_BAUDRATE, whereas previously they were configured via UCHCOM_REG_BPS_PRE, UCHCOM_REG_BPS_DIV, UCHCOM_REG_LCR, and UCHCOM_REG_LCR2.
4 months ago
ucom.c
remove unneeded includes; ok mpi@
2 years ago
ucomvar.h
Add sysctl hw.ucomnames to list 'fixed' paths to USB serial ports.
2 years ago
ucrcom.c
remove unneeded includes; ok mpi@
2 years ago
ucycom.c
remove unneeded includes; ok mpi@
2 years ago
udcf.c
remove unneeded includes; ok mpi@
2 years ago
udl.c
More udl(4) devices, from NetBSD.
1 year ago
udl.h
Rename udl_mode field to not shadow global `hz' variable.
6 years ago
udlio.h
Document a private ioctl range for wscons drivers (from Miod). Therefore change the UDLIO_DAMAGE ioctl from 0 to 128 and move the ioctl part from udl.h to udlio.h so we can include it in userland applications.
16 years ago
udsbr.c
Constify struct {audio,midi,radio,video}_hw_if. No functional change.
4 years ago
uftdi.c
More uftdi(4) devices; from Cameron Willams on tech@
1 year ago
uftdireg.h
Support FTDI FT232R. The upper 2 bits encode the fractional component of the FT232R is either 0 or 0.125.
3 years ago
ugen.c
ugen: add support for asynchronous bulk transfers
2 months ago
ugold.c
Allow for another TEMPerHUM version. From Sebastiaan Indesteege.
2 years ago
uhci.c
constify USB host controller method tables and root hub descriptors
4 years ago
uhcireg.h
Add cast to silence warnings generated by clang.
9 years ago
uhcivar.h
Do not pass an xfer pointer to the timeout routine checking for root hub status changes because it might be freed when detaching the root uhub(4).
12 years ago
uhid.c
All the device and file type ioctl routines just ignore FIONBIO, so stop calling down into those layer from fcntl(F_SETFL) or ioctl(FIONBIO) and delete the "do nothing for this" stubs in all the *ioctl routines.
1 year ago
uhid.h
introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers. This includes ujoy_hid_is_collection() to work around limitations of hid_is_collection() until this can be combined without fallout.
5 years ago
uhid_rdesc.h
Add support for XBox One gamecontroller, including report descriptor. Based on previous XBox 360 controller code and NetBSD's implementation.
4 years ago
uhidev.c
Allow uhidev to attach to and work with devices that don't have an input interrupt endpoint. Such devices don't comply with the USB spec, but they do exist (the LCD screen on the AceMagic S1 mini PC is one), so we might as well let them work.
4 months ago
uhidev.h
Add support for XBox One gamecontroller, including report descriptor. Based on previous XBox 360 controller code and NetBSD's implementation.
4 years ago
uhidpp.c
remove unneeded includes; ok mpi@
2 years ago
uhub.c
remove unneeded includes; ok mpi@
2 years ago
uipaq.c
remove unneeded includes; ok mpi@
2 years ago
ujoy.c
All the device and file type ioctl routines just ignore FIONBIO, so stop calling down into those layer from fcntl(F_SETFL) or ioctl(FIONBIO) and delete the "do nothing for this" stubs in all the *ioctl routines.
1 year ago
ukbd.c
Most Yubikey ship with OTP support enabled out of the box (and generate accidental output like cccccblddbkhelgbdjuughbjdcvrddggdcjvricrriuk). Yubikey re-configuration requires crazy buggy and fragile tools using crazy usb feature support, and therefore OTP disabling is very annoying. We make a policy decision to not attach these as keyboards anymore, because a majority of users just want the FIDO functionality. If you want to use OTP, buy a different device from a different vendor or convince Yubikey to significantly improve their tooling. idea from kettenis
7 months ago
ukbdmap.c
regen
3 months ago
ukbdvar.h
Factorization of the bluetooth and usb hid input driver logic, to reduce code duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
15 years ago
ukspan.c
constify method tables in USB serial drivers
4 years ago
ulpt.c
remove prototypes with no matching function ok mpi@
2 years ago
umass.c
remove unneeded includes; ok mpi@
2 years ago
umass_quirks.c
remove unneeded includes; ok mpi@
2 years ago
umass_quirks.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
umass_scsi.c
remove unneeded includes; ok mpi@
2 years ago
umass_scsi.h
Fold umass_atapi_attach() and umass_scsi_setup() into umass_scsi_attach() to shorten and simplify code.
9 years ago
umassvar.h
Adopt a Linux heuristic and mark as IGNORE_RESIDUE those umass(4) devices whose INQUIRY command succeeds but with a residue equal to the requested bytes. Subsequent i/o's (including the INQUIRY) which succeed with a residue equal to the requested bytes will have residue set to 0.
5 years ago
umbg.c
remove unneeded includes; ok mpi@
2 years ago
umcs.c
remove unneeded includes; ok mpi@
2 years ago
umcs.h
remove duplicate defines
9 months ago
umct.c
remove unneeded includes; ok mpi@
2 years ago
umct.h
remove duplicate defines
9 months ago
umidi.c
remove unneeded includes; ok mpi@
2 years ago
umidi_quirks.c
remove unneeded includes; ok mpi@
2 years ago
umidi_quirks.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
umidireg.h
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
13 years ago
umidivar.h
spelling feedback and ok tb@ jmc@ ok ratchov@
4 years ago
umodem.c
remove unneeded includes; ok mpi@
2 years ago
ums.c
Add support for "Apple Inc. Virtual USB Digitizer", which is what the touchpad is exposed as on Apple Virtualization.
2 months ago
umsm.c
add support for Quectel EC200A modems.
5 months ago
umstc.c
remove unneeded includes; ok mpi@
2 years ago
umt.c
imt/umt(4): Fix the match() and attach() functions.
8 months ago
uoak.h
constify method tables in OAK USB sensor drivers
4 years ago
uoak_subr.c
remove unneeded includes; ok mpi@
2 years ago
uoaklux.c
remove unneeded includes; ok mpi@
2 years ago
uoakrh.c
remove unneeded includes; ok mpi@
2 years ago
uoakv.c
remove unneeded includes; ok mpi@
2 years ago
uonerng.c
remove unneeded includes; ok mpi@
2 years ago
uow.c
remove unneeded includes; ok mpi@
2 years ago
uowreg.h
upd.c
upd(4): fix RunTimeToEmpty on at least some EATON models
1 year ago
uplcom.c
remove unneeded includes; ok mpi@
2 years ago
urng.c
remove unneeded includes; ok mpi@
2 years ago
usb.c
sys/usb: fix ISOCHRONOUS IN transfer offsets
1 year ago
usb.h
ugen: add support for asynchronous bulk transfers
2 months ago
usb_mem.c
Relax DMA restrictions on ehci(4) and xhci(4) controllers that can do 64-bit DMA.
2 years ago
usb_mem.h
Relax DMA restrictions on ehci(4) and xhci(4) controllers that can do 64-bit DMA.
2 years ago
usb_quirks.c
add UQ_ALWAYS_OPEN quirks for Dell and Lenovo PixArt mice reported/tested by Chris Billington
1 year ago
usb_quirks.h
Define a USB quirk for devices that need to keep their pipes open at all times, before the device is enabled and after the device is disabled by wscons.
5 years ago
usb_subr.c
Some USB devices have a iManufacturer property that is just a single space. Handle this (and substitute the vendor name from usbdevs) by checking the length of the string after trimming spaces.
3 months ago
usbcdc.h
spelling feedback and ok tb@ jmc@ ok ratchov@
4 years ago
usbdevs
add AlphaSmart Dana
1 month ago
usbdevs.h
regen
1 month ago
usbdevs_data.h
regen
1 month ago
usbdi.c
ugen: add support for asynchronous bulk transfers
2 months ago
usbdi.h
ugen: add support for asynchronous bulk transfers
2 months ago
usbdi_util.c
remove unneeded includes; ok mpi@
2 years ago
usbdi_util.h
remove unused usbdi functions
5 years ago
usbdivar.h
sys/xhci: support of USB 3.0 speeds
1 year ago
usbhid.h
include dev/hid/hid.h from dev/usb/usbhid.h, so all previous users of it get the HID framework as they used to
10 years ago
usbpcap.h
Support dumping isochronous frames via bpf(4) using the USBPcap protocol.
8 years ago
uscom.c
remove unneeded includes; ok mpi@
2 years ago
uslcom.c
remove unneeded includes; ok mpi@
2 years ago
uslhcom.c
remove unneeded includes; ok mpi@
2 years ago
uslhcomreg.h
Replace some obvious '$OpenBSD' and '$OpenBSD:' typos with '$OpenBSD$'.
11 years ago
usps.c
remove unneeded includes; ok mpi@
2 years ago
uthum.c
remove unneeded includes; ok mpi@
2 years ago
uticom.c
remove unneeded includes; ok mpi@
2 years ago
utpms.c
remove unneeded includes; ok mpi@
2 years ago
utrh.c
remove unneeded includes; ok mpi@
2 years ago
uts.c
remove unneeded includes; ok mpi@
2 years ago
utvfu.c
sys/utvfu, sys/uvideo: clearify used timestamps
1 year ago
utvfu.h
Remove double include of sys/videoio.h, and re-sort includes to be more aligned with uvideo(4).
1 year ago
utwitch.c
remove unneeded includes; ok mpi@
2 years ago
uvideo.c
sys/uvideo: replace magic constant by offest and sizeof
7 months ago
uvideo.h
sys/uvideo: replace magic constant by offest and sizeof
7 months ago
uvisor.c
add AlphaSmart Dana as a PALM4 device
1 month ago
uvscom.c
remove unneeded includes; ok mpi@
2 years ago
uwacom.c
Better uwacom(4) support for Intuos S and One S tablets; most of the work done by Vladimir Meshcheriakov (first name dot last name at epita somewhere in frogland), thanks!
2 years ago
uxrcom.c
remove unneeded includes; ok mpi@
2 years ago
xhci.c
sys/xhci: support of USB 3.0 speeds
1 year ago
xhcireg.h
Fix some spelling.
2 years ago
xhcivar.h
Force 32-bit accesses when reading 8-bit or 16-bit registers. This allows using xhci(4) on a Cadence xHCI controller as seen on the Radxa Orion O6. This should be fine on all, also because these access are not really in a critical path and issues will be noticeable right away:
1 year ago