NetBSD/sys/dev
mrg dc74fbbf85 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.
2012-06-10 06:15:52 +00:00
..
acpi Add some pre-processor magic to verify that the type of the data item 2012-06-02 21:36:41 +00:00
adb Add some pre-processor magic to verify that the type of the data item 2012-06-02 21:36:41 +00:00
altmem
apm
arcbios
ata If the PHY reports link up but no communication, wait 5 more 2012-05-15 19:01:10 +00:00
bi
bluetooth Add some pre-processor magic to verify that the type of the data item 2012-06-02 21:36:41 +00:00
cardbus - Add pmf(9) suspend, resume to bwi(4) cardbus front end. 2012-04-12 12:52:58 +00:00
dec
dkwedge Use the label's packname to create wedge names instead of the classic 2012-06-07 16:15:31 +00:00
dm Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
dmover
drm add dependency on "drm" module 2011-08-28 17:18:31 +00:00
dtv add dtv_math.h 2011-08-09 10:53:09 +00:00
ebus Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
eisa
filemon Add the plumbing so one could compile filemon(4) into a kernel. 2011-10-15 00:23:08 +00:00
flash Rename slightly misleading KTHREAD_JOINABLE to KTHREAD_MUSTJOIN. 2011-08-07 14:03:15 +00:00
gpib Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
gpio Add some pre-processor magic to verify that the type of the data item 2012-06-02 21:36:41 +00:00
hil
hpc Change old-style function defintions to C89 prototypes. 2012-02-12 16:34:06 +00:00
i2c Add some pre-processor magic to verify that the type of the data item 2012-06-02 21:36:41 +00:00
i2o Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
ic merge the jmcneill-usbmp branch. many thanks to jared for the 2012-06-10 06:15:52 +00:00
ieee1394 Remove everything to do with 'struct malloc_type' and the malloc link_set. 2012-04-29 20:27:31 +00:00
if_ndis
ir
isa Add some pre-processor magic to verify that the type of the data item 2012-06-02 21:36:41 +00:00
isapnp Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
iscsi Close file descriptor passed into the kernel on success. 2012-06-09 06:19:58 +00:00
marvell Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
mca Fix missed inclusion from my previous commit. 2012-02-03 01:20:45 +00:00
microcode Use /libdata/firmware/run instead of /libdata/firmware/rum for run(4) firmwares. 2012-06-01 13:19:38 +00:00
mii Regen. 2012-04-06 18:49:44 +00:00
mscp
mvme Change old-style function defintions to C89 prototypes. 2012-02-12 16:34:06 +00:00
nand Rename isbad argument to is_bad - stupid namespace pollution and ancient 2011-08-28 20:49:30 +00:00
news
nor - In cfi_probe() iterate over all chip widths for every port width to find 2011-12-17 19:42:41 +00:00
ofisa Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
ofw
onewire Add glue code to build as module. 2011-08-31 12:17:51 +00:00
pad get rid of a variable which is no longer used after the demise of splaudio 2011-11-24 01:54:08 +00:00
pci merge the jmcneill-usbmp branch. many thanks to jared for the 2012-06-10 06:15:52 +00:00
pckbport Remove a couple of (void *) casts added in the previous commin. 2012-06-03 13:52:46 +00:00
pcmcia fix incomplete device_t/softc split which led to crash on attachment, 2012-02-14 13:51:19 +00:00
podulebus
ppbus
pud
putter
qbus
raidframe If our raid is now accessed from wedges, adjust the root to be the wedge 2012-04-07 01:39:38 +00:00
rasops add another convenience function: 2012-04-19 06:57:39 +00:00
rcons ANSIfy the prototypes 2012-01-31 04:28:02 +00:00
sbus Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
scsipi Fix locking issue triggered by drvctr -r of a scsibus(4). 2012-05-13 01:03:13 +00:00
sdmmc Do not read past array end, found by gcc -O3. 2012-03-15 18:37:43 +00:00
smbus
spi
splash Nat Sloss in PR kern/46516: advance fb pointer by stride, not logical 2012-06-02 14:24:00 +00:00
stbi p->out is always NULL here 2012-06-02 14:37:38 +00:00
std
sun make this compile again. 2012-05-02 14:54:26 +00:00
sysmon Don't export sysmon_envsys_list as a common. 2012-02-18 01:08:00 +00:00
tc Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
tprof
usb merge the jmcneill-usbmp branch. many thanks to jared for the 2012-06-10 06:15:52 +00:00
videomode
vme Change old-style function defintions to C89 prototypes. 2012-02-12 16:34:06 +00:00
wscons Add the following above the version = 0 line, just to provide a hint... 2012-05-24 18:16:31 +00:00
wsfb in 32 bit colour assume RGB ordering, allow override using a device property 2012-04-12 22:36:15 +00:00
wsfont add license header 2012-05-01 07:46:47 +00:00
xmi
auconv.c Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
auconv.h Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
audio_if.h Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
audio.c ensure that the intr lock is held for all audio_clear() callers. 2012-04-30 02:16:46 +00:00
audiobell.c
audiobellvar.h
audiovar.h Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
aurateconv.c Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
bio.c
biovar.h
ccd.c use getdisksize 2011-11-13 23:02:46 +00:00
ccdvar.h
cgd_crypto.c
cgd_crypto.h
cgd.c Modify dksubr.c to add a function that sets the disk properties in 2012-05-25 10:53:46 +00:00
cgdvar.h Modify dksubr.c to add a function that sets the disk properties in 2012-05-25 10:53:46 +00:00
clock_subr.c
clock_subr.h
clockctl.c When processing ioctl CLOCKCTL_NTP_ADJTIME, set the return value from 2012-01-04 13:40:53 +00:00
cninit.c
cons.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
cons.h
DEVNAMES add rum, run, urtw, urtwn. 2012-06-03 01:47:26 +00:00
dksubr.c Fix 32/64 bit int truncation issue. 2012-05-29 10:20:33 +00:00
dkvar.h Modify dksubr.c to add a function that sets the disk properties in 2012-05-25 10:53:46 +00:00
firmload.c Remove everything to do with 'struct malloc_type' and the malloc link_set. 2012-04-29 20:27:31 +00:00
firmload.h
fss.c On LP64 host, fss_get and fss_get50 have the same size; so FSSIOCGET50 2011-11-30 09:51:18 +00:00
fssvar.h Complete backward compat with NetBSd 5.x: time_t changed size, so did 2011-11-29 20:56:12 +00:00
keylock.c
keylock.h
kloader.c
kloader.h
kttcp.c Fix up changes commited in kttcp.c 1.29. 2011-12-22 02:00:19 +00:00
kttcpio.h
ld.c Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
ldvar.h use uint64_t for sc_disksize512. 2012-05-03 21:21:08 +00:00
lockstat.c
lockstat.h
Makefile Make the test for MKISCSI actually work by including bsd.own.mk and 2011-11-17 09:58:21 +00:00
md_root.c
md.c
md.h
midi_if.h Tidy up a little, the way that midi attachment code works 2012-04-09 10:18:16 +00:00
midi.c Tidy up a little, the way that midi attachment code works 2012-04-09 10:18:16 +00:00
midictl.c Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
midictl.h Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
midisyn.c Tidy up a little, the way that midi attachment code works 2012-04-09 10:18:16 +00:00
midisynvar.h Tidy up a little, the way that midi attachment code works 2012-04-09 10:18:16 +00:00
midivar.h midi_attach() does not actually ever use the parent device 2012-04-05 20:25:53 +00:00
mm.c mm_init: re-enable zero page protection. 2012-02-21 21:57:06 +00:00
mm.h
mulaw.c Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
mulaw.h
nullcons_subr.c
radio_if.h
radio.c
rnd_private.h Remove rnd_extract_data from the public kernel API (it is for use by the 2011-11-29 03:50:31 +00:00
rndpseudo.c Fix two problems that could cause /dev/random to not wake up readers when entropy became available. 2012-05-19 16:00:41 +00:00
sequencer.c Tidy up a little, the way that midi attachment code works 2012-04-09 10:18:16 +00:00
sequencervar.h Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From 2011-11-23 23:07:28 +00:00
TODO.audiomp zaudio(4) works fine for me. 2012-01-17 15:43:54 +00:00
verified_exec.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
video_if.h
video.c fill in timestamps in outgoing data buffers 2012-02-02 17:21:18 +00:00
vnd.c autodiscover wedges 2012-06-09 06:20:45 +00:00
vndvar.h When backed by a sparse file limit the number of pending requests. 2012-03-26 16:28:08 +00:00