NetBSD/sys/dev
cegger 36244f71ec Fix error path:
Don't try to free non-allocated memory. Only free allocated memory.
This fixes a crash reported by Brian A. Seklecki on port-xen:
http://mail-index.netbsd.org/port-xen/2008/04/10/msg003555.html

Fix tested by Brian A. Seklecki:
http://mail-index.netbsd.org/port-xen/2008/04/21/msg003604.html
2008-04-22 09:29:08 +00:00
..
acpi AcpiOsGetThreadId should return lwpid, not pid -- otherwise we always return 2008-04-22 02:02:50 +00:00
adb use aprint_*_dev and device_xname 2008-04-05 21:31:23 +00:00
apm Use device_t and its accessors throughout. Use aprint_*_dev(). 2008-03-12 18:02:21 +00:00
arcbios Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
ata use aprint_*_dev and device_xname 2008-04-05 22:04:36 +00:00
bi use aprint_*_dev and device_xname 2008-04-06 07:23:57 +00:00
bluetooth some changes to serial bluetooth host controller interfaces 2008-04-15 11:17:47 +00:00
cardbus - ansify 2008-04-14 21:20:41 +00:00
dec use aprint_*_dev and device_xname 2008-04-08 07:35:35 +00:00
dkwedge Fix a minor nit in a comment 2008-04-10 09:31:51 +00:00
dmover Update dmover fileops to compile again. From he@. 2008-03-26 13:33:58 +00:00
drm Change the DRM_SPININIT macro to call mutex_init with MUTEX_DEFAULT 2008-04-15 04:08:58 +00:00
ebus use aprint_*_dev and device_xname 2008-04-08 07:35:35 +00:00
eisa use aprint_*_dev and device_xname 2008-04-06 08:54:43 +00:00
gpib use aprint_*_dev and device_xname 2008-04-08 07:35:35 +00:00
gpio Use PMF_FN_ARGS, PMF_FN_PROTO. 2008-02-29 06:38:28 +00:00
hpc use aprint_*_dev and device_xname 2008-04-06 20:25:59 +00:00
i2c Re-add chunk of code that got lost in rev. 1.10. Makes this file build/work again. vi sometimes plays games with me. Spotted by dogcow. 2008-04-09 06:13:26 +00:00
i2o use aprint_*_dev and device_xname 2008-04-06 20:25:59 +00:00
ic Fix error path: 2008-04-22 09:29:08 +00:00
ieee1394 use aprint_*_dev and device_xname 2008-04-08 06:12:21 +00:00
if_ndis use aprint_*_dev and device_xname 2008-04-08 06:12:21 +00:00
ir use aprint_*_dev and device_xname 2008-04-08 20:40:42 +00:00
isa device_t / softc split. From Hans Rosenfeld. 2008-04-16 09:39:01 +00:00
isapnp Regen from isapnpdevs rev 1.66: 2008-04-20 13:26:14 +00:00
marvell Put back a %s so that the format matches again. Fixes build for evbppc. 2008-04-11 06:25:25 +00:00
mca Split device_t/softc for MI ncr53c9x and some related devices, 2008-04-13 04:55:52 +00:00
microcode Checkpoint of some fairly major isp(4) rototilling. 2008-03-11 05:33:30 +00:00
mii pretty up if_ex: pmf'ify, device split, and improve printing a bit too. 2008-04-14 20:03:13 +00:00
mscp use aprint_*_dev and device_xname 2008-04-08 20:08:49 +00:00
mvme use aprint_*_dev and device_xname 2008-04-08 20:40:42 +00:00
news
ofisa device_t / softc split. From Hans Rosenfeld. 2008-04-16 09:39:01 +00:00
ofw use aprint_*_dev and device_xname 2008-04-08 20:08:49 +00:00
onewire use aprint_*_dev and device_xname 2008-04-08 20:08:49 +00:00
pad Split device_t and softc for audio(4), and other related cosmetic changes. 2008-03-04 18:23:44 +00:00
pci Restore jumbo frame support and protect access to the DMA space for 2008-04-20 08:57:37 +00:00
pckbport Use proper types. 2008-03-15 18:59:07 +00:00
pcmcia Split device_t/softc for MI ncr53c9x and some related devices, 2008-04-13 04:55:52 +00:00
podulebus use aprint_*_dev and device_xname 2008-04-05 20:08:52 +00:00
ppbus Make ntp, pmc, reboot, sysarch, time syscalls MPSAFE. 2008-04-21 12:56:30 +00:00
pud one more lock to destroy 2007-11-28 17:01:59 +00:00
putter Catch up with descriptor handling changes. See kern_descrip.c revision 2008-03-21 21:54:58 +00:00
qbus use aprint_*_dev and device_xname 2008-04-05 19:16:49 +00:00
raidframe Cleanup function prototypes. No functional change. 2008-04-20 20:46:41 +00:00
rasops The stamp mutex is not unsafe, so remove this comment so people don't get the wrong idea. ok ad@ 2008-01-07 00:25:19 +00:00
rcons - Factor out too many copies of the same bit of tty code. 2007-11-19 18:51:36 +00:00
sbus Don't send signals from a hardware interrupt handler. XXX This is still 2008-04-21 00:30:21 +00:00
scsipi use aprint_*_dev and device_xname 2008-04-05 15:47:00 +00:00
smbus
spi use aprint_*_dev and device_xname 2008-04-05 16:35:35 +00:00
splash machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
std
sun Fix minor device_t split fallout. 2008-04-21 08:16:12 +00:00
sysmon Pass KTHREAD_MPSAFE to kthread_create(). I've been testing this for 2008-04-06 09:42:04 +00:00
tc Split device_t/softc for MI ncr53c9x and some related devices, 2008-04-13 04:55:52 +00:00
tprof a simple performance monitor based profiler, inspired from linux oprofile. 2008-01-01 21:28:37 +00:00
usb Cleanup uhub autoconfiguration messages. 2008-04-21 23:31:18 +00:00
videomode
vme make this compile 2008-04-05 18:16:56 +00:00
wscons use aprint_*_dev and device_xname 2008-04-05 15:50:49 +00:00
wsfb use aprint_*_dev and device_xname 2008-04-05 15:50:49 +00:00
wsfont
xmi Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf 2008-03-11 05:34:01 +00:00
DEVNAMES Add finsio(4). 2008-04-03 23:09:59 +00:00
Makefile pud (userspace char/block drivers) build goo 2007-11-20 18:54:31 +00:00
auconv.c Split device_t and softc for audio(4), and other related cosmetic changes. 2008-03-04 18:23:44 +00:00
auconv.h
audio.c Fix audio_volume_toggle. How did this ever work for me? Thinkpad T61 2008-04-01 00:52:11 +00:00
audio_if.h Split device_t and softc for audio(4), and other related cosmetic changes. 2008-03-04 18:23:44 +00:00
audiobell.c
audiobellvar.h
audiovar.h g/c unused softc members 2008-04-01 19:25:53 +00:00
aurateconv.c
bio.c use aprint_*_dev and device_xname 2008-04-09 05:47:19 +00:00
biovar.h Add definitions to specify RAID 0+1/1+0 levels. 2008-03-03 13:43:19 +00:00
ccd.c Catch up with descriptor handling changes. See kern_descrip.c revision 2008-03-21 21:54:58 +00:00
ccdvar.h
cgd.c Catch up with descriptor handling changes. See kern_descrip.c revision 2008-03-21 21:54:58 +00:00
cgd_crypto.c __FUNCTION__ -> __func__ 2007-12-15 00:39:14 +00:00
cgd_crypto.h
cgdvar.h Start detangling lock.h from intr.h. This is likely to cause short term 2008-01-04 21:17:40 +00:00
clock_subr.c
clock_subr.h
clockctl.c Refactor time modification checks and place them in the secmodel code. 2007-11-25 00:35:26 +00:00
cninit.c foo() -> foo(void) 2008-03-11 05:31:00 +00:00
cons.c specfs changes for PR kern/37717 (raidclose() is no longer called on 2008-01-24 17:32:52 +00:00
cons.h
dksubr.c Allow to pass device_xname() to dk_sc_init() without build error 2008-04-05 00:02:55 +00:00
dkvar.h Allow to pass device_xname() to dk_sc_init() without build error 2008-04-05 00:02:55 +00:00
firmload.c Catch up with descriptor handling changes. See kern_descrip.c revision 2008-03-21 21:54:58 +00:00
firmload.h
fss.c Catch up with descriptor handling changes. See kern_descrip.c revision 2008-03-21 21:54:58 +00:00
fssvar.h sys/simplelock.h is required now. 2008-01-04 21:33:17 +00:00
kloader.c Catch up with descriptor handling changes. See kern_descrip.c revision 2008-03-21 21:54:58 +00:00
kloader.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
kttcp.c Make rusage collection per-LWP and collate in the appropriate places. 2008-03-27 19:06:51 +00:00
kttcpio.h
ld.c use aprint_*_dev and device_xname 2008-04-09 05:47:19 +00:00
ldvar.h
lockstat.c Start detangling lock.h from intr.h. This is likely to cause short term 2008-01-04 21:17:40 +00:00
lockstat.h lockstat: no longer track lockmgr() events. 2008-01-26 14:29:31 +00:00
md.c use aprint_*_dev and device_xname 2008-04-09 05:47:19 +00:00
md.h
md_root.c
midi.c Fix fallout from midi(4)'s softc split. 2008-03-05 10:48:48 +00:00
midi_if.h Split device_t/softc for midi(4), and other related cosmetic changes. 2008-03-04 21:56:11 +00:00
midictl.c
midictl.h
midisyn.c
midisynvar.h
midivar.h Fix fallout from midi(4)'s softc split. 2008-03-05 10:48:48 +00:00
mm.c
mulaw.c Split device_t and softc for audio(4), and other related cosmetic changes. 2008-03-04 18:23:44 +00:00
mulaw.h
nullcons_subr.c
radio.c
radio_if.h
radiovar.h
rnd.c Welcome to 4.99.55: 2008-03-01 14:16:49 +00:00
rndpool.c
sequencer.c use devsw_name2chr() to look up the major number of the midi device as 2008-03-21 19:33:24 +00:00
sequencervar.h
verified_exec.c remove borken/unnecessary __RCSID 2007-12-11 12:16:14 +00:00
vnd.c use aprint_*_dev and device_xname 2008-04-09 05:47:19 +00:00
vndvar.h Split device_t/softc and other related cosmetic changes. 2008-03-04 23:03:29 +00:00