History log of /src/sys/dev/usb/umidi.c |
Revision | | Date | Author | Comments |
1.91 |
| 10-Feb-2024 |
andvar | fix various typos in comments and log messages.
|
1.90 |
| 04-Feb-2024 |
mrg | update my email address.
|
1.89 |
| 01-Jul-2022 |
riastradh | umidi(4): Clarify loops. No functional change intended.
|
1.88 |
| 27-Jun-2022 |
riastradh | umidi(4): Fix fencepost in error branch.
Reported-by: syzbot+0bbf3d81c15fd1354759@syzkaller.appspotmail.com
|
1.87 |
| 17-Apr-2022 |
riastradh | umidi(4): Restore umidi_cs_descriptor_t type.
Had been previously deleted under the misapprehension that usb_descriptor_t is appropriate here, but it's not -- it should not have the bDescriptorSubtype member.
|
1.86 |
| 19-Mar-2022 |
riastradh | umidi(4): Parse descriptors a little more robustly.
Reported-by: syzbot+fd58d1d4dd12f8931486@syzkaller.appspotmail.com
|
1.85 |
| 14-Mar-2022 |
riastradh | umidi(4): Bail early if no endpoints.
kmem_alloc is unhappy with zero-size allocation.
Reported-by: syzbot+483b984480c295979391@syzkaller.appspotmail.com
|
1.84 |
| 08-Aug-2021 |
andvar | s/varable/variable s/explictly/explicitly/ s/proerly/properly/ in comments.
|
1.83 |
| 20-Jan-2021 |
jdolecek | fix free_all_endpoints() to not try calling free_pipe() when no endpoints are allocated; this can happen during config_detach() after attach fails
Reported-by: syzbot+6e8a4c978358ecead03e@syzkaller.appspotmail.com Reported-by: syzbot+b25ba25b57561144ac6e@syzkaller.appspotmail.com
|
1.82 |
| 02-Jan-2020 |
maxv | branches: 1.82.8; Remove the call to KERNEL_UNLOCK_ONE(), it was forgotten when the biglock was dropped in rev1.63. Found via vHCI.
|
1.81 |
| 01-Dec-2019 |
maxv | localify
|
1.80 |
| 03-Oct-2019 |
maxv | More less kmem_zalloc(0).
|
1.79 |
| 15-Sep-2019 |
maxv | Don't kmem_alloc(0) if there are no endpoints, otherwise panic. Found via vHCI.
|
1.78 |
| 08-May-2019 |
isaki | branches: 1.78.2; Merge isaki-audio2 branch, the overhaul of audio subsystem. - Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible).
Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
|
1.77 |
| 05-May-2019 |
mrg | remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h
|
1.76 |
| 07-Feb-2019 |
skrll | branches: 1.76.2; Remove (mostly useless) usb_detach_{broadcast,wait} and replace with cv_{broadcast,timedwait}
Really should loop on conditon.
|
1.75 |
| 03-Sep-2018 |
riastradh | Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation.
To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
|
1.74 |
| 21-Jan-2018 |
skrll | branches: 1.74.2; 1.74.4; PR kern/52931 Kernel panics with Atheros usb wireless interface
Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is supplied wherever such a transfer is setup. We can drop USBD_SHORT_XFER_OK as it has not bearing on number of TDs
|
1.73 |
| 01-Jun-2017 |
chs | branches: 1.73.2; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
1.72 |
| 25-Nov-2016 |
skrll | +#include "opt_usb.h"
|
1.71 |
| 07-Jul-2016 |
msaitoh | branches: 1.71.2; KNF. Remove extra spaces. No functional change.
|
1.70 |
| 07-May-2016 |
mrg | disable kpreempt around softint_schedule(). fixes playing on umidi.
|
1.69 |
| 23-Apr-2016 |
skrll | Merge nick-nhusb
- API / infrastructure changes to support memory management changes. - Memory management improvements and bug fixes. - HCDs should now be MP safe - conversion to KERNHIST based debug - FS/LS isoc support on ehci(4). - conversion to kmem(9) - Some USB 3 support - mostly from Takahiro HAYASHI (t-hash). - interrupt transfers now get proper DMA operations - general bug fixes - kern/48308 - uhub status notification improvements - umass(4) probe fix (applied to HEAD already) - ohci(4) short transfer fix
|
1.68 |
| 02-Jan-2015 |
mrg | actually fix one of the previous: don't test for NULL after deref.
|
1.67 |
| 02-Jan-2015 |
christos | CID/1261465: Dereference after NULL check. CID/1261467: Unreachable code
|
1.66 |
| 21-Dec-2014 |
mrg | various umidi clean ups: - move the contents of umidi{reg,var}.h into umidi.c directly as they are not referenced by any other file. - remove the useless include of umidi{reg,var}.h from umidi_quirks.c. - add reference counting and wait/broadcast support to the IO paths. - fix the error handling in midi_attach() and midi_open(). - sprinkle KASSERT() in several places. - drop the local interrupt lock before calling into various parts of the USB code. fixes lockdebug issues, and likely hangs. - rename "binded" member as "bound".
with these most of the panics and problems i've seen are gone. there is still one lockdebug panic to deal with that happens when unplugging umidi while midiplay(1) is running.
|
1.65 |
| 22-Jan-2013 |
jmcneill | branches: 1.65.12; 1.65.14; since umidi and sequencer are mpsafe, mark umidi softint with SOFTINT_MPSAFE
|
1.64 |
| 22-Jan-2013 |
jmcneill | umidi is mpsafe
|
1.63 |
| 10-Jun-2012 |
mrg | branches: 1.63.2; merge the jmcneill-usbmp branch. many thanks to jared for the initial work, and every one else who has tested things for me. this is largely my fault at this point :-)
the main changes are something like:
- usbd_bus_methods{} gains a get_lock() to enable the host controller to provide a lock for the USB code. if the lock isn't provided, old-style protection is (partially) applied.
- ehci/ohci/uhci have been converted to the new interfaces, including mutex/cv/etc conversion.
- usbdivar.h contains a discussion about locking and what locks are held for which method calls. more to come for usbdi(9) here.
- audio drivers (uaudio, umidi, auvitek) have been properly SMPified now that USB is ready.
- scsi drivers have been modified to take the kernel lock explicitly before calling into scsi code.
- usb pipes are associated with a lock, that is the same as the controller lock. (this could be split up further in the future.)
- several usbfoo_locked() or usbfoo_unlocked() functions have been added to the usbdi(9) to enable functionality with or without the USB lock (per controller) already being held.
the TODO.usbmp file has specific details on what is left to do, including what device-specific changes should be done now that the whole framework is ready.
|
1.62 |
| 18-May-2012 |
jdc | Increase the number of frequencies in the usb_audio_streaming_type1_descriptor to be the same number that we support elsewhere (AUFMT_MAX_FREQUENCIES). Set frequency_type to be AUFMT_MAX_FREQUENCIES in the case where a uaudio device reports more frequencies than we handle. Fixes a crash in uaudio_chan_ptransfer() because we read uninitialised data in uaudio_identify_as().
|
1.61 |
| 11-Mar-2012 |
mrg | minor cleanups from usbmp: - move usbd_delay_ms() into usbdivar.h in the usb_subr.c section - minor rcsid fixes - copyright maintenence
|
1.60 |
| 19-Feb-2012 |
mrg | fix the reversed logic in several uses of the new 'closing' member introduced in the previous change.
from Tom Ivar Helbekkmo <tih@hamartun.priv.no> in PR 45909. thanks!
|
1.59 |
| 14-Feb-2012 |
mrg | branches: 1.59.2; since we have to drop locks to call into the usb code, we need to make sure that only one caller ends up doing something in close_out_jack(). add a "closing" member that is set when closing and error out in various places.
with this in place i can read and write from umidi without triggering any locking or other obvious issues, though the writing is currently broken (it worked in 5.99.60-era.) it runs the correct time, but no output occurs no the synth itself. more work needed here.
|
1.58 |
| 13-Feb-2012 |
mrg | revert prior change to unbind_jacks_from_mididev(), it's wrong. slightly clean up free_all_jacks().
|
1.57 |
| 13-Feb-2012 |
mrg | make sure we're holding the kernel lock when calling in to the usb code.
|
1.56 |
| 07-Feb-2012 |
plunky | two locking fixes (from PR/45909)
- during attach, release kernel lock in error path - during midiopen, take kernel lock for USB activity
(there are more problems with locking here, this does not fix the PR)
|
1.55 |
| 23-Dec-2011 |
jakllsch | Revert previous due to active usbmp branch(es).
|
1.54 |
| 22-Dec-2011 |
jakllsch | Adjust-away inconsistent and trailing whitespace.
|
1.53 |
| 26-Nov-2011 |
mrg | branches: 1.53.2; avoid taking the thread lock when the kernel lock is needed. now umidi detaches successfully.
|
1.52 |
| 26-Nov-2011 |
mrg | convert to kmem. also, zero all contents properly. now umidi begins to work. crashed when i unplugged the synth. for a later time.
|
1.51 |
| 26-Nov-2011 |
joerg | Move KASSERT down to the point where the endpoint is known to exist.
|
1.50 |
| 26-Nov-2011 |
joerg | More use of uninitialized memory
|
1.49 |
| 25-Nov-2011 |
skrll | fix non-DIAGNOSTIC build
|
1.48 |
| 25-Nov-2011 |
jmcneill | fix non-DIAGNOSTIC build
|
1.47 |
| 24-Nov-2011 |
mrg | several steps towards making umidi appear to work:
- split out_solicit() into locked and unlocked front end, and use the unlocked version from the softintr
- kill sc_intr_lock, midi doesn't really use it (XXX finish this? change this? in the midi* code)
- convert tsleep()/wakeup() to cv
- move some free's out of the lock
- KASSERT() lock is held in a few more places
TODO:
- malloc -> kmem
- crashes in midiclose(), doesn't actually play things to the right device. "midiplay -d midi1 -xv" plays out my midi@pcppi speaker, and then the above crash. clearly something is calling the wrong sub-device callbacks!
|
1.46 |
| 23-Nov-2011 |
mrg | complete the port to audiomp: take kernel lock in a few places for USB (like uaudio), kill most of the spl* uses.
|
1.45 |
| 23-Nov-2011 |
jmcneill | Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From the original ad-audiomp branch notes:
Add MP locking to the audio drivers.
Making the audio drivers MP safe is necessary before efforts can be made to make the VM system MP safe.
The are two locks per device instance, an ISR lock and a character device lock. The ISR lock replaces calls to splaudio()/splx(), and will be held across calls to device methods which were called at splaudio() before (e.g. trigger_output). The character device lock is held across calls to nearly all of the methods, excluding some only used for initialization, e.g. get_locks.
Welcome to 5.99.57.
|
1.44 |
| 07-Oct-2011 |
jakllsch | branches: 1.44.2; 1.44.4; In umidi_attach(), adjust aprint functions match what uaudio(4) does, so that '\n' is printed in the appropriate places.
|
1.43 |
| 30-May-2011 |
joerg | Don't play format string tricks, use two calls with the correct number of arguments for each.
|
1.42 |
| 03-Nov-2010 |
dyoung | branches: 1.42.2; Stop using the compatibility macros USB_ATTACH(), USB_DETACH(), USB_MATCH(), et cetera. These files produce the same assembly (according to objdump -d) before and after the change
|
1.41 |
| 15-Oct-2010 |
dholland | Fix cut&paste code, from Henning Petersen in PR 43544.
|
1.40 |
| 12-Nov-2009 |
dyoung | branches: 1.40.2; 1.40.4; Simplify activation hooks. (sc_dying must die!)
|
1.39 |
| 11-Jan-2009 |
cegger | make this compile
|
1.38 |
| 08-Jul-2008 |
gmcgarry | branches: 1.38.2; Constify most umidi-quirk data. Addresses PR#39017.
|
1.37 |
| 24-May-2008 |
cube | branches: 1.37.2; 1.37.4; Split device_t and softc for all USB device drivers, and related cosmetic changes.
Matthias Drochner kindly reviewed this patch, and tested ums, ubt, uaudio and ral. I tested umass myself.
|
1.36 |
| 28-Apr-2008 |
martin | branches: 1.36.2; Remove clause 3 and 4 from TNF licenses
|
1.35 |
| 05-Apr-2008 |
cegger | branches: 1.35.2; 1.35.4; use aprint_*_dev and device_xname
|
1.34 |
| 18-Feb-2008 |
dyoung | branches: 1.34.6; Use device_t and its accessor functions.
Register _childdetached methods with drivers that attach children. Wait to set child references to NULL there, instead of doing that in the detach method.
Replace many uses of USB_DECLARE_DRIVER() with CFATTACH_DECL2().
|
1.33 |
| 04-Jan-2008 |
ad | Start detangling lock.h from intr.h. This is likely to cause short term breakage, but the mess of dependencies has been regularly breaking the build recently anyhow.
|
1.32 |
| 08-Oct-2007 |
ad | branches: 1.32.4; 1.32.10; Use the softint API.
|
1.31 |
| 14-Jul-2007 |
ad | branches: 1.31.6; 1.31.8; 1.31.10; Generic soft interrupts are mandatory.
|
1.30 |
| 13-Mar-2007 |
drochner | Introduce different autoconf interface attributes for USB drivers matching (and handling) a whole device and those which match an interface only. This will allow to enforce some rules, eg that the former don't use interface information for matching or that the latter don't modify global device state. The previous way left too much freedom do the drivers which led to inconsistencies and abuse. For now, I've not changed locators and submatch rules, this will happen later. There should not be any change in behaviour, except in the case of some drivers which did behave inconsistently: if_atu, if_axe, uep: matched the configured device in the interface stage, but did configuration again. I've converted them to match in the device stage. ustir, utoppy: matched in the interface stage, but only against vendor/device information, and used any configuration/interface without checking. Changed to match in device stage, and added some simple code to configure and use the first interface. If you have one of those devices, please test!
|
1.29 |
| 26-Feb-2007 |
drochner | branches: 1.29.4; 1.29.6; 1.29.8; Don't assume that usb_descriptor_t contains a bDescriptorSubtype field. This is class specific and shouldn't be in a generic definition.
|
1.28 |
| 16-Nov-2006 |
christos | branches: 1.28.4; __unused removal on arguments; approved by core.
|
1.27 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.26 |
| 30-Jun-2006 |
chap | branches: 1.26.4; 1.26.6; Ankh-Morpork, we have a MIDI driver....
Merge from chap-midi branch, after ~month for review Comments by thorpej@ drochner@ and Alexandre Ratchov
Incorporated: points by thorpej@ drochner@; preliminary support for a stats-collecting ioctl suggested by martin@ from comments by A.R.
PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590 kern/33614 and one instance of kern/32651
ok martin@
|
1.25 |
| 14-Apr-2006 |
christos | branches: 1.25.2; 1.25.4; Coverity CID 1356: Add KASSERT for NULL deref.
|
1.24 |
| 11-Dec-2005 |
christos | branches: 1.24.4; 1.24.6; 1.24.8; 1.24.10; 1.24.12; merge ktrace-lwp.
|
1.23 |
| 11-May-2005 |
augustss | branches: 1.23.2; Don't keep the devinfo string on the stack, instead use malloc/free. This should cure some rare stack overflows.
|
1.22 |
| 29-Oct-2004 |
yamt | constify audio_hw_if, midi_hw_if, and radio_hw_if.
|
1.21 |
| 23-Apr-2004 |
itojun | use bounded string ops (snprintf, strl*)
|
1.20 |
| 19-Jan-2004 |
gson | In alloc_all_endpoints_genuine(), search for the endpoint descriptors within the configuration descriptor, not the class specific interface descriptor. The Edirol UM-1SX now successfully attaches and works as a standard USB MIDI interface when the "advanced driver" switch is set to "off".
|
1.19 |
| 06-Jan-2004 |
gson | Abort the USB transfer on an endpoint when the last midi device referencing it is closed. Fixes kern/23987.
|
1.18 |
| 05-Dec-2003 |
gson | Opening umidi read-only failed to increment ep->num_open because open_in_jack() treated USBD_IN_PROGRESS as a failure return.
|
1.17 |
| 04-Dec-2003 |
keihan | netbsd.org -> NetBSD.org
This was the last commit of this kind to src/sys, which is now totally "NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
|
1.16 |
| 11-Jul-2002 |
augustss | branches: 1.16.6; Get rid of trailing white space.
|
1.15 |
| 19-Jun-2002 |
tshiozak | fix some bugs (by kay@kaynet.or.jp): - compile error with debug option, - miss of cut and paste, and - logical error on resource freeing.
|
1.14 |
| 08-Mar-2002 |
kent | branches: 1.14.6; free_all_endpoints(): Fix a problem with disabled device.
|
1.13 |
| 12-Jan-2002 |
tsutsui | Call malloc(9) with M_ZERO flag instead of memset() after malloc().
|
1.12 |
| 02-Jan-2002 |
augustss | Get rid of a few stray __P().
|
1.11 |
| 12-Dec-2001 |
augustss | Use USBD_NO_COPY in for some transfers where it was missing.
|
1.10 |
| 13-Nov-2001 |
lukem | add RCSIDs
|
1.9 |
| 29-Sep-2001 |
tshiozak | fix for Roland/EDIROL UM-880. - add NULL check to UMQ_ISTYPE; sc_quirk is NULL for genuine umidi, but forgotten to check. Thus, kernel will panic after connect the device. - fix how to count the number of endpoints in alloc_all_endpoints_genuine(). - add a quirk for the native mode of UM-880.
|
1.8 |
| 28-May-2001 |
tshiozak | branches: 1.8.2; 1.8.4; fix for UX96 (and all Yamaha specific devices, hopefully). - fix how to get endpoint addresses. - fix allocate count of pipes. - add necessary null checks for asymmetry jacks.
|
1.7 |
| 25-May-2001 |
tshiozak | fix forgotten/malformed initialization of some variables. (pointed out by Krister Walfridsson.)
|
1.6 |
| 07-Apr-2001 |
tshiozak | support "running status" handling. midiplay via umidi is working now.
|
1.5 |
| 21-Feb-2001 |
jdolecek | branches: 1.5.2; make some more constant arrays 'const'
|
1.4 |
| 03-Feb-2001 |
tshiozak | branches: 1.4.2; separate mididev and jack logically.
|
1.3 |
| 03-Feb-2001 |
tshiozak | change how to allocate xfer; alloc xfer when attach and free xfer when detach.
|
1.2 |
| 31-Jan-2001 |
tshiozak | correct MUX-MIDI state machine. (EXCL_2 state)
|
1.1 |
| 30-Jan-2001 |
tshiozak | initial commit of USB midi driver. - I tested only ROLAND UM-1 and YAMAHA UX256. These are not conforming to USB-MIDI spec, however these are similar to USB-MIDI. - Since I've not yet seen the "genuine" USB-MIDI device, I cannot test such devices although I wrote the codes for it. TODO: - clean up the codes. - umidi(4) manpage. - /dev/rmidi? is working well, but /dev/music seems not working correctly.
|
1.4.2.4 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.4.2.3 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.4.2.2 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.4.2.1 |
| 03-Feb-2001 |
bouyer | file umidi.c was added on branch thorpej_scsipi on 2001-02-11 19:16:27 +0000
|
1.5.2.9 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.5.2.8 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.5.2.7 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.5.2.6 |
| 11-Jan-2002 |
nathanw | More catchup.
|
1.5.2.5 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.5.2.4 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.5.2.3 |
| 08-Oct-2001 |
nathanw | Catch up to -current.
|
1.5.2.2 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.5.2.1 |
| 09-Apr-2001 |
nathanw | Catch up with -current.
|
1.8.4.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.8.2.4 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.8.2.3 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.8.2.2 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.8.2.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.14.6.1 |
| 15-Jul-2002 |
gehenna | catch up with -current.
|
1.16.6.5 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.16.6.4 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.16.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.16.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.16.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.23.2.6 |
| 27-Feb-2008 |
yamt | sync with head.
|
1.23.2.5 |
| 21-Jan-2008 |
yamt | sync with head
|
1.23.2.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.23.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.23.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.23.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.24.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.24.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.24.8.2 |
| 11-Aug-2006 |
yamt | sync with head
|
1.24.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.24.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.24.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.25.4.1 |
| 13-Jul-2006 |
gdamore | Merge from HEAD.
|
1.25.2.18 |
| 31-May-2006 |
chap | Allow getinfo (and therefore midiplay -l) to reveal something useful for umidi devices.
Annotate devices that lack output interrupts in the dmesg with (cpu- intensive output) so users can easily tell which ones to prefer for bulk output.
|
1.25.2.17 |
| 30-May-2006 |
chap | A flag is added to the midi_hw_if_ext struct for the hardware to specify that it would like compression of data to be transmitted. It will still receive a message at a time, with the status and channel passed as arguments, but the message buffer will omit the status byte when possible. umidi now uses this flag when talking to Midiman devices, which do not do their own compression, so as to make best use of the MIDI 1.0 bandwidth on the far side.
|
1.25.2.16 |
| 29-May-2006 |
chap | The native protocol of a quirk-Midiman device does not require a packet per message, but allows messages to be packed in and across packets. This can save a bit of USB bandwidth, but the real benefit of this change will come when the hw_if_ext is updated to allow midi(4) to pass down compressed messages. The Midiman device doesn't do its own compression, so that will be a win when the data rate on the far side is limited to MIDI 1.0.
|
1.25.2.15 |
| 29-May-2006 |
chap | PR kern/33590.
Input on a jack that is not open for reading was discarded without rearming the input transfer, so subsequent input would cease on other jacks sharing the same endpoint. I thought I must have broken this, but actually it broke five years ago in r1.4.
The breakage in the dump_ep() debug function was mine, though.
|
1.25.2.14 |
| 21-May-2006 |
chap | @.n.o e-mail address, and a couple of corrections to the mechanical merge, found by eyeball. Now to see how many gcc will catch....
|
1.25.2.13 |
| 20-May-2006 |
chap | Now for Phase Two. The patched files have been rolled forward again, with a naive mechanical resolution of conflicts. Now to compare the diffs and make sure the resolutions made sense. Sleep first.
|
1.25.2.12 |
| 20-May-2006 |
chap | Learned of two ugly corners in MIDI protocol that made the state machine overly pedantic. Both have to do with the End SysEx byte, 0xf7. First, it is allowed not only at the end of a SysEx message, but anywhere else any status byte can appear (and in that case has no meaning). Second, it is not even required at the end of a SysEx message - any subsequent status byte implicitly ends the SysEx, and this is not considered an error.
I don't like these provisions because they make it even harder to detect errors in a corrupted MIDI stream, but as MIDI gets sent increasingly over error-correcting transports I suppose that is less of a concern. In any case, though midi(4) will accept data (input from device or data from write(2)) with stray or dropped End SysEx bytes, it will always ensure that output to the device, and data for read(2), has End SysEx only and always at the ends of SysEx messages.
|
1.25.2.11 |
| 20-May-2006 |
chap | Spotted a bug in a buffer condition. Never saw any symptom, but it's a bug nonetheless.
|
1.25.2.10 |
| 20-May-2006 |
chap | Using full wMaxPacketSize transfers on receive (earlier patch, kern/32441) was a substantial performance improvement, so it made sense to do so with transmit buffers also (this patch). A little benchmarking....
Before this patch:
$ </dev/zero tr '\0' '\376' | dd bs=3125 count=10 of=/dev/rmidi2 10+0 records in 10+0 records out 31250 bytes transferred in 62.544 secs (499 bytes/sec)
...transmitting to one port only of a Midisport 2x4, achieving barely 16% of the original 1983 MIDI spec data rate.
After this patch:
$ exec 3>/dev/rmidi2 4>/dev/rmidi3 5>/dev/rmidi4 6>/dev/rmidi5 $ for i in 3 4 5 6 > do </dev/zero tr '\0' '\376' | dd bs=3125 count=60 >&$i & > done [1] 430 1076 [2] 484 1208 [3] 794 1115 [4] 990 1046 $ 59+1 records in 59+1 records out 185399 bytes transferred in 59.183 secs (3132 bytes/sec) 60+0 records in 60+0 records out 187500 bytes transferred in 59.817 secs (3134 bytes/sec) 60+0 records in 60+0 records out 187500 bytes transferred in 59.824 secs (3134 bytes/sec) 60+0 records in 60+0 records out 187500 bytes transferred in 59.836 secs (3133 bytes/sec)
...sustained simultaneous transmission to all four ports at full MIDI data rate.
This patch should be fuzz-free on 2.0 sources after application of the kern/32441, 32442, and 32567 patches. There has been little cvs activity on the affected files since 2.0, so applying to current sources should be straightforward.
|
1.25.2.9 |
| 20-May-2006 |
chap | The two choices CN_SEQ_GLOBAL and CN_SEQ_PER_EP cannot cover all devices, some are wired arbitrarily oddly and need a CN_FIXED quirk to specify the cable number mappings explicitly. But then as a result of those mappings, the automatically bound mididevice unit numbers might not match the order of the device's physical jacks or blinkenlights, so an MD_FIXED quirk is needed to specify that order as well. It turns out the cn_base field added earlier was neither necessary (at the time) nor sufficient (to handle CN_FIXED), so it's gone now.
Q: How do you tell when you've got the cable number associations wrong on a Midisport 2x4? A: Everything works right except data-rate throttling - you'll be able to send data to certain ports at rates far in excess of the MIDI data rate (and lose most of it). If you never transmit that fast, you'll never notice.
So testing for a sane data transfer rate (use dd to blast a stream of MIDI data at the rmidi device, it'll report the rate on completion) is probably a wise testing step when adding support for a new umidi device.
|
1.25.2.8 |
| 20-May-2006 |
chap | Patch to account explicitly for the prior inconsistency in the treatment of cable numbers. Also contains a (functionally insignificant) change to the declaration of endpoint buffers introduced in kern/32441, which will be useful in a forthcoming patch. This patch should be fuzz-free on 2.0 source after the 32441 and 32442 patches.
|
1.25.2.7 |
| 20-May-2006 |
chap | Active Sense now handled for receive as well as for transmit. Following the spec, if no Active Sense is seen on receive, no special behavior applies, but if an Active Sense is seen then any absence of received data exceeding 300ms thereafter will be signalled as a read EOF on the rmidi device. Receipt of any further data will clear the EOF condition, and operation resumes as if no Active Sense has been seen.
Also moved some selnotify's out of locks so they don't deadlock against the corresponding kevent filters.
This concludes this round of midi hacking (except for possibly improving the safety of how pending callouts and interrupts are canceled on device detach. Other fixes/enhancements to the midi subsystems will get their own patches.
|
1.25.2.6 |
| 20-May-2006 |
chap | The FST now handles the equivalence between NoteOn (velocity 0) and a NoteOff with velocity 64, both for canonicalizing (always produce NoteOff) and compressing (produce whichever allows a current running status to be exploited). The code from sequencer that attempted to model this behavior and running status has been superseded and removed. Also removed the EBADF checks I added to sequencer earlier, as they're handled in a layer above.
|
1.25.2.5 |
| 20-May-2006 |
chap | umidi now uses hw_if_ext and no longer has its own approximate midi state machine. This patch is relative to umidi.c and umidivar.h already patched by midiman.pat (kern/32441).
|
1.25.2.4 |
| 20-May-2006 |
chap | Changing the input logic to use wMaxPacketSize transfers instead of 4 bytes may have nailed the input data loss problem; it seems rock solid now. This patch is against 2.0 sources but there's been so little CVS activity on those files it should be easy to apply.
|
1.25.2.3 |
| 20-May-2006 |
chap | Had output and input working in 1.6.2, but managed to lose input in adapting the patch to 2.0. Now it's back. TODO: find out if there's a way to improve input response (size of simultaneous chords that can be played without dropping data) - perhaps by increasing the size of the endpoint's xfer buffer, or learning something more about the usb interrupt transfers.
|
1.25.2.2 |
| 20-May-2006 |
chap | Applies fuzz-free to 2.0 sources; adds support for Midiman Midisport 2x4.
|
1.25.2.1 |
| 20-May-2006 |
chap | Now for Phase One. The patches to be applied in sequence were created and tested against 2.0 sources. To begin, let CVS roll the affected files back to that historic state. The reverse operation will be used (and will involve some manual merging) after the patches have been applied. Naturally, intermediate stages on this branch will not be directly compilable (unless merged into a 2.0 checkout).
|
1.26.6.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.26.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.26.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.28.4.2 |
| 24-Mar-2007 |
yamt | sync with head.
|
1.28.4.1 |
| 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
1.29.8.3 |
| 18-Jun-2007 |
itohy | Pullup 1.30 (attach driver per interface) with #ifdef USB_USE_IFATTACH.
|
1.29.8.2 |
| 16-Jun-2007 |
itohy | - Change order to fit current API: usbd_open_pipe() -> usbd_alloc_xfer; usbd_abort_pipe() -> usbd_free_xfer() -> usbd_close_pipe().
|
1.29.8.1 |
| 22-May-2007 |
itohy | Overhaul of USB stack, mostly DMA related
This applies to NetBSD 4.99.13 (March 1, 2007)
usbdi(9) interface is based on FreeBSD version, excluding - removal of portability code
Patch most NetBSD changes, excluding - DMA memory "reserve", since we don't need contiguous buffers any longer - volatiles in DMA structure, since it should not be needed with proper bus_dmamap_sync(9)s
DMA/non-DMA memory management overhaul - Move all DMA related code to usb_mem.[ch] (add usb_alloc_buffer_dma(), usb_free_buffer_dma(), etc.). XXX Should usb_mem.[ch] be renamed as usb_mem_dma.[ch] ? - Add corresponding non-DMA code to usb_mem_nodma.[ch] . Currently just use malloc(9). - Above files are conditionally used by config framework (added attributes to conf/files and dev/usb/files.usb). - Add diagnostic panics when resource allocation is requested on interrupt context. - Change memory allocations (that require context) from NOWAIT to WAITOK.
Allocate DMA/non-DMA buffer per host interface, not globally. advantage: Buffers can be freed on detaching host interface. Activity of a host interface does not affect others. disadvantages: It possibly consumes more memory.
API changes - usbd_alloc_xfer() is changed: old: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev); new: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev, usbd_pipe_handle pipe); - pipe argument of usbd_setup_*xfer() are now unused XXX the pipe argument should be removed? - add mapping APIs - async request will be processed as a task (kernel thread context), and delayed to some extent - usbdivar.h: struct usbd_xfer: renamed a member "allocbuf" to "hcbuffer" (mapped/allocated/refered buffer for HCI driver) - usb_port.h: change usb_proc_ptr from struct ptoc * to struct lwp * - usb_port.h: add usb_sigproc_ptr for psignal(9) (struct proc *) - usb.h: add UE_MAXPKTSZ(ep) and UE_MAXPKTSZ_MASK macros for USB 2.0
changes to USB device drivers - atu, aue, axe, cdce, cue, kue, rum, udav, upl, ural, url, uaudio, ubt, ucom, ugen, uhidev, uirda, ulpt, umidi, urio, uscanner, ustir, utoppy: * catch up API change of usbd_alloc_xfer() - umass, usscanner: * catch up API change of usbd_alloc_xfer() * eliminate memory copy for large transfer
ohci - free resources on detach - add lots of bus_dmamap_sync() operations - simplify the code of loading std chain - rewrite code of looking up TD/ITD from DMA addr by using allocation chunk - add workaround for CMD Tech 670 and 673 chipsets - make sure resources are not allocated in interrupt context - add support for mapping buffer and mbuf
slhci - allocate xfer and slhci_xfer at once, and simplify relevant code - add slhci_detach() - remove second arg of slhci_attach() since it is the same as the first arg. - add support for "mapping" (no, it doesn't map since it doesn't do DMA) buffer and mbuf - add pcmcia frontend - NOT TESTED, missing hardware
ehci - add lots of bus_dmamap_sync() operations, possibly too many - make sure resources are not allocated in interrupt context - add support for mapping buffer and mbuf - done only simple test
uhci - add lots of bus_dmamap_sync() operations, possibly too many - make sure resources are not allocated in interrupt context - add support for mapping buffer and mbuf
To do - review, test, debug - rewrite network drivers to utilize usbd_map_buffer_mbuf() - rewrite uaudio(4) to eliminate memcpy - "pipe" argument of usbd_setup_*xfer() should eventually be removed
|
1.29.6.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.29.4.2 |
| 17-Jun-2007 |
ad | - Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
|
1.29.4.1 |
| 13-Mar-2007 |
ad | Sync with head.
|
1.31.10.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.31.8.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.31.8.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.31.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.31.6.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.32.10.1 |
| 08-Jan-2008 |
bouyer | Sync with HEAD
|
1.32.4.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.34.6.3 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.34.6.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.34.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.35.4.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.35.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.35.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.35.2.2 |
| 04-Jun-2008 |
yamt | sync with head
|
1.35.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.36.2.2 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.36.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.37.4.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.37.2.1 |
| 18-Jul-2008 |
simonb | Sync with head.
|
1.38.2.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.40.4.2 |
| 31-May-2011 |
rmind | sync with head
|
1.40.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.40.2.2 |
| 06-Nov-2010 |
uebayasi | Sync with HEAD.
|
1.40.2.1 |
| 22-Oct-2010 |
uebayasi | Sync with HEAD (-D20101022).
|
1.42.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.44.4.1 |
| 22-Nov-2011 |
mrg | port umidi to audiomp: get_locks support, take locks in interrupts.
untested, and midi in this branch has general problems still anyway.
|
1.44.2.4 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.44.2.3 |
| 30-Oct-2012 |
yamt | sync with head
|
1.44.2.2 |
| 23-May-2012 |
yamt | sync with head.
|
1.44.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.53.2.7 |
| 02-Jun-2012 |
mrg | remove a no longer relevant XXX SMP comment.
|
1.53.2.6 |
| 02-Jun-2012 |
mrg | sync to latest -current.
|
1.53.2.5 |
| 25-Feb-2012 |
mrg | copyright maintenence.
|
1.53.2.4 |
| 20-Feb-2012 |
mrg | don't take the kernel lock when calling into the usb code anymore
|
1.53.2.3 |
| 19-Feb-2012 |
mrg | pullup umidi.c 1.60: >fix the reversed logic in several uses of the new 'closing' member >introduced in the previous change. > >from Tom Ivar Helbekkmo <tih@hamartun.priv.no> in PR 45909. thanks!
|
1.53.2.2 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.53.2.1 |
| 09-Dec-2011 |
mrg | - make pipe->close method take the thread lock
- convert usb_taskq to use mutex/cv
- convert needs_explore usage into a cv on the thread lock
- remove KERNEL_*LOCK from uaudio and umidi, since we're supposedly MPSAFE here now
- use IPL_SCHED instead of IPL_USB (aka biglocked) interrupts
- drop the audio thread lock when calling into usb when it may sleep, avoiding a deadlock between audiowrite and audioioctl. this fixes mixerctl -a vs. playing hanging the system XXX probably need to check this in a bunch more places.
|
1.59.2.1 |
| 20-Feb-2012 |
sborrill | Pull up the following revisions(s) (requested by mrg in ticket #12): sys/dev/usb/umidi.c: revision 1.60
Fix the reversed logic in several uses of the new 'closing' member introduced in the previous change. From PR 45909.
|
1.63.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.63.2.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.65.14.15 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.65.14.14 |
| 05-Dec-2016 |
skrll | Sync with HEAD
|
1.65.14.13 |
| 27-Oct-2016 |
skrll | Retire usb_detach_{wait,broadcast} and simply use condvar(9) instead
|
1.65.14.12 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
1.65.14.11 |
| 29-May-2016 |
skrll | Sync with HEAD
|
1.65.14.10 |
| 28-Dec-2015 |
skrll | Use IPL_SOFTUSB instead of IPL_USB appropriately. Transfer completions are executed as a softint and so this is the priority level required.
|
1.65.14.9 |
| 28-Dec-2015 |
skrll | Strictly follow the sequence abort pipe, destroy xfers, and close pipe as API now requires. Plug some memory leaks in some drivers while doing this.
Also, remove up_refcnt as it was broken and helped leak more memory.
|
1.65.14.8 |
| 06-Oct-2015 |
skrll | Move from usbd_{alloc,free}_xfer and usbd_{alloc,free}_buffer to usbd_{create,destroy}_xfer. The API change will allow future changes to HCDs to simplify the transfer resource allocation and activation.
Several devices tested including ucom, umass, smsc, uvideo, and uaudio.
|
1.65.14.7 |
| 29-Sep-2015 |
skrll | sizeof KNF
|
1.65.14.6 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.65.14.5 |
| 21-Mar-2015 |
skrll | Add prefixes to attach_arg structure member names. No functional change.
|
1.65.14.4 |
| 19-Mar-2015 |
skrll | Do the same as OpenBSD and get rid of the *_handle typedefs and use plain structures insteads
|
1.65.14.3 |
| 02-Dec-2014 |
skrll | Step #1 of memory allocation re-organisation.
Centralised the buffer allocation routine which now supports DMA and non-DMA capable host controllers. Remove the ubm_{alloc,free}m methods from usbd_bus_methods.
The buffer allocation is only allowed in thread context and, therefore, negates the usefulness of the reserve dma code which is removed in this change.
USBD_NO_COPY is also no longer required as usbd_transfer and usbd_transfer_complete now track buffer usage and handle any copying.
|
1.65.14.2 |
| 30-Nov-2014 |
skrll | Whitespace
|
1.65.14.1 |
| 30-Nov-2014 |
skrll | Use C99 types. u_int{8,16,32,64}_t to uint{8,16,32,64}_t.
No functional change.
|
1.65.12.3 |
| 19-Feb-2018 |
snj | Pull up following revision(s) (requested by skrll in ticket #1556): sys/dev/usb/if_athn_usb.c: 1.25 sys/dev/usb/if_atu.c: 1.56 sys/dev/usb/if_aue.c: 1.142 sys/dev/usb/if_axe.c: 1.84 sys/dev/usb/if_axen.c: 1.12 sys/dev/usb/if_cdce.c: 1.45 sys/dev/usb/if_cue.c: 1.77 sys/dev/usb/if_kue.c: 1.91 sys/dev/usb/if_otus.c: 1.32 sys/dev/usb/if_rum.c: 1.59 sys/dev/usb/if_run.c: 1.25 sys/dev/usb/if_smsc.c: 1.33 sys/dev/usb/if_udav.c: 1.52 sys/dev/usb/if_upgt.c: 1.18 sys/dev/usb/if_upl.c: 1.61 sys/dev/usb/if_ural.c: 1.53 sys/dev/usb/if_url.c: 1.57 sys/dev/usb/if_urndis.c: 1.17 sys/dev/usb/if_urtw.c: 1.14 sys/dev/usb/if_urtwn.c: 1.56 sys/dev/usb/if_zyd.c: 1.45 sys/dev/usb/irmce.c: 1.4 sys/dev/usb/pseye.c: 1.24 sys/dev/usb/ubt.c: 1.60 sys/dev/usb/ucom.c: 1.120 sys/dev/usb/udsir.c: 1.6 sys/dev/usb/ugen.c: 1.137 sys/dev/usb/uhso.c: 1.27 sys/dev/usb/uirda.c: 1.43 sys/dev/usb/ulpt.c: 1.99 sys/dev/usb/umass.c: 1.163 sys/dev/usb/umidi.c: 1.74 sys/dev/usb/uscanner.c: 1.82 sys/dev/usb/usscanner.c: 1.43 sys/dev/usb/ustir.c: 1.39 sys/dev/usb/utoppy.c: 1.30 sys/dev/usb/uvideo.c: 1.46 PR kern/52931 Kernel panics with Atheros usb wireless interface Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is supplied wherever such a transfer is setup. We can drop USBD_SHORT_XFER_OK as it has not bearing on number of TDs
|
1.65.12.2 |
| 05-Apr-2017 |
snj | Pull up following revision(s) (requested by skrll in ticket #1395): share/man/man4/axe.4: netbsd-7-nhusb share/man/man4/axen.4: netbsd-7-nhusb share/man/man4/cdce.4: netbsd-7-nhusb share/man/man4/uaudio.4: netbsd-7-nhusb share/man/man4/ucom.4: netbsd-7-nhusb share/man/man4/uep.4: netbsd-7-nhusb share/man/man4/urtw.4: netbsd-7-nhusb share/man/man4/usb.4: netbsd-7-nhusb share/man/man4/uyap.4: netbsd-7-nhusb share/man/man4/xhci.4: netbsd-7-nhusb share/man/man9/usbdi.9: netbsd-7-nhusb sys/arch/amd64/conf/ALL: netbsd-7-nhusb sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb sys/arch/arm/imx/files.imx23: netbsd-7-nhusb sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb sys/arch/i386/conf/ALL: netbsd-7-nhusb sys/arch/i386/conf/GENERIC: netbsd-7-nhusb sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb sys/conf/files: netbsd-7-nhusb sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb sys/dev/ic/sl811hs.c: netbsd-7-nhusb sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb sys/dev/isa/slhci_isa.c: netbsd-7-nhusb sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb sys/dev/pci/ehci_pci.c: netbsd-7-nhusb sys/dev/pci/ohci_pci.c: netbsd-7-nhusb sys/dev/pci/uhci_pci.c: netbsd-7-nhusb sys/dev/pci/xhci_pci.c: netbsd-7-nhusb sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb sys/dev/usb/TODO: netbsd-7-nhusb sys/dev/usb/TODO.usbmp: netbsd-7-nhusb sys/dev/usb/aubtfwl.c: netbsd-7-nhusb sys/dev/usb/auvitek.c: netbsd-7-nhusb sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb sys/dev/usb/auvitek_video.c: netbsd-7-nhusb sys/dev/usb/auvitekvar.h: netbsd-7-nhusb sys/dev/usb/ehci.c: netbsd-7-nhusb sys/dev/usb/ehcireg.h: netbsd-7-nhusb sys/dev/usb/ehcivar.h: netbsd-7-nhusb sys/dev/usb/emdtv.c: netbsd-7-nhusb sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb sys/dev/usb/emdtvvar.h: netbsd-7-nhusb sys/dev/usb/ezload.c: netbsd-7-nhusb sys/dev/usb/ezload.h: netbsd-7-nhusb sys/dev/usb/files.usb: netbsd-7-nhusb sys/dev/usb/hid.c: netbsd-7-nhusb sys/dev/usb/hid.h: netbsd-7-nhusb sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb sys/dev/usb/if_atu.c: netbsd-7-nhusb sys/dev/usb/if_atureg.h: netbsd-7-nhusb sys/dev/usb/if_aue.c: netbsd-7-nhusb sys/dev/usb/if_auereg.h: netbsd-7-nhusb sys/dev/usb/if_axe.c: netbsd-7-nhusb sys/dev/usb/if_axen.c: netbsd-7-nhusb sys/dev/usb/if_axenreg.h: netbsd-7-nhusb sys/dev/usb/if_axereg.h: netbsd-7-nhusb sys/dev/usb/if_cdce.c: netbsd-7-nhusb sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb sys/dev/usb/if_cue.c: netbsd-7-nhusb sys/dev/usb/if_cuereg.h: netbsd-7-nhusb sys/dev/usb/if_kue.c: netbsd-7-nhusb sys/dev/usb/if_kuereg.h: netbsd-7-nhusb sys/dev/usb/if_otus.c: netbsd-7-nhusb sys/dev/usb/if_otusvar.h: netbsd-7-nhusb sys/dev/usb/if_rum.c: netbsd-7-nhusb sys/dev/usb/if_rumreg.h: netbsd-7-nhusb sys/dev/usb/if_rumvar.h: netbsd-7-nhusb sys/dev/usb/if_run.c: netbsd-7-nhusb sys/dev/usb/if_runvar.h: netbsd-7-nhusb sys/dev/usb/if_smsc.c: netbsd-7-nhusb sys/dev/usb/if_smscreg.h: netbsd-7-nhusb sys/dev/usb/if_smscvar.h: netbsd-7-nhusb sys/dev/usb/if_udav.c: netbsd-7-nhusb sys/dev/usb/if_udavreg.h: netbsd-7-nhusb sys/dev/usb/if_upgt.c: netbsd-7-nhusb sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb sys/dev/usb/if_upl.c: netbsd-7-nhusb sys/dev/usb/if_ural.c: netbsd-7-nhusb sys/dev/usb/if_uralreg.h: netbsd-7-nhusb sys/dev/usb/if_uralvar.h: netbsd-7-nhusb sys/dev/usb/if_url.c: netbsd-7-nhusb sys/dev/usb/if_urlreg.h: netbsd-7-nhusb sys/dev/usb/if_urndis.c: netbsd-7-nhusb sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb sys/dev/usb/if_urtw.c: netbsd-7-nhusb sys/dev/usb/if_urtwn.c: netbsd-7-nhusb sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb sys/dev/usb/if_zyd.c: netbsd-7-nhusb sys/dev/usb/if_zydreg.h: netbsd-7-nhusb sys/dev/usb/irmce.c: netbsd-7-nhusb sys/dev/usb/moscom.c: netbsd-7-nhusb sys/dev/usb/motg.c: netbsd-7-nhusb sys/dev/usb/motgvar.h: netbsd-7-nhusb sys/dev/usb/ohci.c: netbsd-7-nhusb sys/dev/usb/ohcireg.h: netbsd-7-nhusb sys/dev/usb/ohcivar.h: netbsd-7-nhusb sys/dev/usb/pseye.c: netbsd-7-nhusb sys/dev/usb/slurm.c: netbsd-7-nhusb sys/dev/usb/stuirda.c: netbsd-7-nhusb sys/dev/usb/u3g.c: netbsd-7-nhusb sys/dev/usb/uark.c: netbsd-7-nhusb sys/dev/usb/uatp.c: netbsd-7-nhusb sys/dev/usb/uaudio.c: netbsd-7-nhusb sys/dev/usb/uberry.c: netbsd-7-nhusb sys/dev/usb/ubsa.c: netbsd-7-nhusb sys/dev/usb/ubsa_common.c: netbsd-7-nhusb sys/dev/usb/ubsavar.h: netbsd-7-nhusb sys/dev/usb/ubt.c: netbsd-7-nhusb sys/dev/usb/uchcom.c: netbsd-7-nhusb sys/dev/usb/ucom.c: netbsd-7-nhusb sys/dev/usb/ucomvar.h: netbsd-7-nhusb sys/dev/usb/ucycom.c: netbsd-7-nhusb sys/dev/usb/udl.c: netbsd-7-nhusb sys/dev/usb/udl.h: netbsd-7-nhusb sys/dev/usb/udsbr.c: netbsd-7-nhusb sys/dev/usb/udsir.c: netbsd-7-nhusb sys/dev/usb/uep.c: netbsd-7-nhusb sys/dev/usb/uftdi.c: netbsd-7-nhusb sys/dev/usb/uftdireg.h: netbsd-7-nhusb sys/dev/usb/ugen.c: netbsd-7-nhusb sys/dev/usb/ugensa.c: netbsd-7-nhusb sys/dev/usb/uhci.c: netbsd-7-nhusb sys/dev/usb/uhcireg.h: netbsd-7-nhusb sys/dev/usb/uhcivar.h: netbsd-7-nhusb sys/dev/usb/uhid.c: netbsd-7-nhusb sys/dev/usb/uhidev.c: netbsd-7-nhusb sys/dev/usb/uhidev.h: netbsd-7-nhusb sys/dev/usb/uhmodem.c: netbsd-7-nhusb sys/dev/usb/uhso.c: netbsd-7-nhusb sys/dev/usb/uhub.c: netbsd-7-nhusb sys/dev/usb/uipad.c: netbsd-7-nhusb sys/dev/usb/uipaq.c: netbsd-7-nhusb sys/dev/usb/uirda.c: netbsd-7-nhusb sys/dev/usb/uirdavar.h: netbsd-7-nhusb sys/dev/usb/ukbd.c: netbsd-7-nhusb sys/dev/usb/ukbdmap.c: netbsd-7-nhusb sys/dev/usb/ukyopon.c: netbsd-7-nhusb sys/dev/usb/ukyopon.h: netbsd-7-nhusb sys/dev/usb/ulpt.c: netbsd-7-nhusb sys/dev/usb/umass.c: netbsd-7-nhusb sys/dev/usb/umass_isdata.c: netbsd-7-nhusb sys/dev/usb/umass_isdata.h: netbsd-7-nhusb sys/dev/usb/umass_quirks.c: netbsd-7-nhusb sys/dev/usb/umass_quirks.h: netbsd-7-nhusb sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb sys/dev/usb/umassvar.h: netbsd-7-nhusb sys/dev/usb/umcs.c: netbsd-7-nhusb sys/dev/usb/umct.c: netbsd-7-nhusb sys/dev/usb/umidi.c: netbsd-7-nhusb sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb sys/dev/usb/umodem.c: netbsd-7-nhusb sys/dev/usb/umodem_common.c: netbsd-7-nhusb sys/dev/usb/umodemvar.h: netbsd-7-nhusb sys/dev/usb/ums.c: netbsd-7-nhusb sys/dev/usb/uplcom.c: netbsd-7-nhusb sys/dev/usb/urio.c: netbsd-7-nhusb sys/dev/usb/urio.h: netbsd-7-nhusb sys/dev/usb/usb.c: netbsd-7-nhusb sys/dev/usb/usb.h: netbsd-7-nhusb sys/dev/usb/usb_mem.c: netbsd-7-nhusb sys/dev/usb/usb_mem.h: netbsd-7-nhusb sys/dev/usb/usb_quirks.c: netbsd-7-nhusb sys/dev/usb/usb_quirks.h: netbsd-7-nhusb sys/dev/usb/usb_subr.c: netbsd-7-nhusb sys/dev/usb/usbdevices.config: netbsd-7-nhusb sys/dev/usb/usbdevs: netbsd-7-nhusb sys/dev/usb/usbdevs.h: netbsd-7-nhusb sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb sys/dev/usb/usbdi.c: netbsd-7-nhusb sys/dev/usb/usbdi.h: netbsd-7-nhusb sys/dev/usb/usbdi_util.c: netbsd-7-nhusb sys/dev/usb/usbdi_util.h: netbsd-7-nhusb sys/dev/usb/usbdivar.h: netbsd-7-nhusb sys/dev/usb/usbhid.h: netbsd-7-nhusb sys/dev/usb/usbhist.h: netbsd-7-nhusb sys/dev/usb/usbroothub.c: netbsd-7-nhusb sys/dev/usb/usbroothub.h: netbsd-7-nhusb sys/dev/usb/usbroothub_subr.c: delete sys/dev/usb/usbroothub_subr.h: delete sys/dev/usb/uscanner.c: netbsd-7-nhusb sys/dev/usb/uslsa.c: netbsd-7-nhusb sys/dev/usb/usscanner.c: netbsd-7-nhusb sys/dev/usb/ustir.c: netbsd-7-nhusb sys/dev/usb/uthum.c: netbsd-7-nhusb sys/dev/usb/utoppy.c: netbsd-7-nhusb sys/dev/usb/uts.c: netbsd-7-nhusb sys/dev/usb/uvideo.c: netbsd-7-nhusb sys/dev/usb/uvisor.c: netbsd-7-nhusb sys/dev/usb/uvscom.c: netbsd-7-nhusb sys/dev/usb/uyap.c: netbsd-7-nhusb sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb sys/dev/usb/uyurex.c: netbsd-7-nhusb sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb sys/dev/usb/xhci.c: netbsd-7-nhusb sys/dev/usb/xhcireg.h: netbsd-7-nhusb sys/dev/usb/xhcivar.h: netbsd-7-nhusb sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb sys/external/bsd/drm2/include/linux/err.h: delete sys/external/bsd/drm2/include/linux/workqueue.h: delete sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb sys/external/bsd/drm2/linux/linux_work.c: delete sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb sys/modules/i915drmkms/Makefile: netbsd-7-nhusb sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete sys/rump/dev/lib/libusb/opt/opt_usb.h: delete sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete sys/sys/mbuf.h: netbsd-7-nhusb usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb Merge netbsd-7-nhusb: - API / infrastructure changes to support memory management changes. - Memory management improvements and bug fixes. - HCDs should now be MP safe - conversion to KERNHIST based debug - FS/LS isoc support on ehci(4). - conversion to kmem(9) - Some USB 3 support - mostly from Takahiro HAYASHI (t-hash). - interrupt transfers now get proper DMA operations - general bug fixes - kern/48308 - uhub status notification improvements - umass(4) probe fix (applied to HEAD already) - ohci(4) short transfer fix - Change the SOFTINT level from NET to SERIAL for the USB softint handler. This gives the callback a chance of running when another softint handler at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of the network stack. - kern/49065 - ifconfig tun0 ... sequence locks up system / lockup: softnet_lock held across usb xfr - kern/50491 - unkillable wait in usbd_transfer while using usmsc0 on raspberry pi 2 - kern/51395 - USB Ethernet makes xhci hang - Various improvements to slhci(4) - Various improvements to dwc2(4)
|
1.65.12.1 |
| 11-Jan-2015 |
martin | branches: 1.65.12.1.4; Pull up following revision(s) (requested by mrg in ticket #407): sys/dev/midivar.h: revision 1.20 sys/dev/usb/umidivar.h: file removal sys/dev/midi.c: revision 1.82 sys/dev/midi.c: revision 1.83 sys/dev/usb/FILES: revision 1.13 sys/dev/midi_if.h: revision 1.26 sys/dev/sequencer.c: revision 1.60 sys/dev/sequencer.c: revision 1.61 sys/dev/sequencer.c: revision 1.62 sys/dev/sequencer.c: revision 1.63 sys/dev/usb/umidi_quirks.c: revision 1.19 sys/dev/usb/umidi.c: revision 1.66 sys/dev/usb/umidi.c: revision 1.67 sys/dev/usb/umidi.c: revision 1.68 sys/dev/usb/umidireg.h: file removal sys/dev/sequencervar.h: revision 1.17 fix the midi_if documentation to properly describe the locks that will be held during various operations. various umidi clean ups: - move the contents of umidi{reg,var}.h into umidi.c directly as they are not referenced by any other file. - remove the useless include of umidi{reg,var}.h from umidi_quirks.c. - add reference counting and wait/broadcast support to the IO paths. - fix the error handling in midi_attach() and midi_open(). - sprinkle KASSERT() in several places. - drop the local interrupt lock before calling into various parts of the USB code. fixes lockdebug issues, and likely hangs. - rename "binded" member as "bound". with these most of the panics and problems i've seen are gone. there is still one lockdebug panic to deal with that happens when unplugging umidi while midiplay(1) is running. various clean ups for midi and sequencer: midi specific: - add reference counting for midi operations, and ensure that detach waits for other threads to complete before tearing down the device completely. - in detach, halt midi callouts before destroying them - re-check sc->dying after sleeping in midiread() - in real_writebytes(), make sure we're open and not dying - make sure we drop the interrupt lock before calling any code that may want to check thread locks. this is now safe due to the above changes. sequencer specific: - avoid caching the midi softc in the sequencer softc. instead, every time we want to use it, look it up again and make sure it still exists. this fixes various crashes i've seen in the usb midi code when detaching the umidi while it is active. use __func__ in some debug messages. - check sc->dying after sleeping in several more places, and convert it into EIO error where necessary. - remove a wrong additional mutex_exit() call. - make sure to check sc->dying under the device lock. - fix a confusion between midi(4) unit and connected to sequencer devices. - minor comment/debug clean ups. fixes problems attempting to read or write from the right midi(4) device using the sequencer(4) device when one or more of the non-final devices fails to open with midiseq_open(). fix !AUDIO_DEBUG build. CID/1261465: Dereference after NULL check. CID/1261467: Unreachable code actually fix one of the previous: don't test for NULL after deref.
|
1.65.12.1.4.2 |
| 26-Jan-2017 |
skrll | Sync with HEAD/nhusb
|
1.65.12.1.4.1 |
| 06-Sep-2016 |
skrll | First pass at netbsd-7 updated with USB code from HEAD
|
1.71.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.73.2.1 |
| 31-Jan-2018 |
martin | Pull up following revision(s) (requested by skrll in ticket #509): sys/dev/usb/if_ural.c: revision 1.53 sys/dev/usb/if_run.c: revision 1.25 sys/dev/usb/ustir.c: revision 1.39 sys/dev/usb/irmce.c: revision 1.4 sys/dev/usb/if_urtwn.c: revision 1.56 sys/dev/usb/pseye.c: revision 1.24 sys/dev/usb/if_rum.c: revision 1.59 sys/dev/usb/if_upl.c: revision 1.61 sys/dev/usb/ucom.c: revision 1.120 sys/dev/usb/if_zyd.c: revision 1.45 sys/dev/usb/if_axen.c: revision 1.12 sys/dev/usb/umidi.c: revision 1.74 sys/dev/usb/if_udav.c: revision 1.52 sys/dev/usb/if_athn_usb.c: revision 1.25 sys/dev/usb/usscanner.c: revision 1.43 sys/dev/usb/ualea.c: revision 1.6 - 1.9 sys/dev/usb/if_upgt.c: revision 1.18 sys/dev/usb/if_atu.c: revision 1.56 sys/dev/usb/utoppy.c: revision 1.30 sys/dev/usb/ubt.c: revision 1.60 sys/dev/usb/if_urtw.c: revision 1.14 sys/dev/usb/uirda.c: revision 1.43 sys/dev/usb/umass.c: revision 1.163 sys/dev/usb/if_cdce.c: revision 1.45 sys/dev/usb/if_cue.c: revision 1.77 sys/dev/usb/if_kue.c: revision 1.91 sys/dev/usb/uvideo.c: revision 1.46 sys/dev/usb/uhso.c: revision 1.27 sys/dev/usb/if_smsc.c: revision 1.33 sys/dev/usb/ugen.c: revision 1.137 sys/dev/usb/if_axe.c: revision 1.84 sys/dev/usb/if_aue.c: revision 1.142 sys/dev/usb/uscanner.c: revision 1.82 sys/dev/usb/if_urndis.c: revision 1.17 sys/dev/usb/udsir.c: revision 1.6 sys/dev/usb/if_url.c: revision 1.57 sys/dev/usb/if_otus.c: revision 1.32 sys/dev/usb/ulpt.c: revision 1.99
PR kern/52931 Kernel panics with Atheros usb wireless interface Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is supplied wherever such a transfer is setup. We can drop USBD_SHORT_XFER_OK as it has not bearing on number of TDs
ualea: Tidy up a bit. Fulfil requests completely. Don't subtract uninitialized pktsize in error path.
|
1.74.4.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.74.4.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.74.4.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.74.2.1 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.76.2.1 |
| 03-May-2019 |
isaki | Remove dev/auconv.[ch]. Now it is handled in dev/audio/audio.c and dev/audio/linear.c. Remove dev/mulaw.h. It already have been just a link to dev/audio/mulaw.h in this branch.
|
1.78.2.1 |
| 05-Jan-2020 |
martin | Pull up following revision(s) (requested by maxv in ticket #600):
sys/dev/usb/umidi.c: revision 1.82
Remove the call to KERNEL_UNLOCK_ONE(), it was forgotten when the biglock was dropped in rev1.63. Found via vHCI.
|
1.82.8.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|