NetBSD/sys/dev
jdolecek 8927d6f1be Fix serious bug in bounce buf handling - the EDF_BOUNCEBUF flag needs
to be cleared always in edmcadone(), otherwise if there is a write
via bounce buffer followed by read directly to buf, the read operation
would return trashed data (the buf data would get overwritten
by contents of bounce buffer in edmcadone()).
Reset b_resid as necessary when the i/o is done, too.

g/c some unneeded stuff, use lockmgr()-style locking in ed_[un]lock(),
better avoid some deadlocks

These changes make the driver quite a bit more stable. It's actually
reliable enough to be possible to newfs the drive and use it for
read/write filesystem now.
2001-04-22 11:32:49 +00:00
..
ata fix typo in comment - s/splio()/splbio()/ 2001-04-18 05:40:03 +00:00
bi splimp -> splvm. 2001-04-12 20:38:25 +00:00
cardbus Add support for ADMtek AN985. 2001-04-13 00:18:11 +00:00
dec Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
eisa Regen. 2001-04-17 14:30:01 +00:00
hpc Add Mobile Pro 780 own keymap. This resolves the arrow key problem on 2001-04-18 14:01:06 +00:00
i2c Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
i2o Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
ic Make sure to check SC_ACCEL_TAGS in ncr53c9x_ioctl() 2001-04-21 07:28:22 +00:00
ieee1394 Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
isa ctype-like functions are now in libkern. 2001-04-18 15:40:58 +00:00
isapnp Add Aztech sound card found in HP Kayaks. 2001-04-15 03:31:37 +00:00
mca Fix serious bug in bounce buf handling - the EDF_BOUNCEBUF flag needs 2001-04-22 11:32:49 +00:00
microcode Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
mii Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
mscp Upon inspection of a 4000/600 dmesg, change the splbios to splubas. 2001-04-12 20:13:26 +00:00
news Move NEWS keymap file into MI place to share with news68k. 2001-01-25 13:13:59 +00:00
ofisa Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
ofw Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
pci Preliminary support for Acard ATP850/860 UDMA PCI IDE controllers. 2001-04-21 16:36:37 +00:00
pckbc Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
pcmcia Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
podulebus Add rudimentary support for the ACE Midi-Connect card which abs gave me. 2001-04-14 20:39:23 +00:00
qbus splimp -> spluba. 2001-04-12 20:08:09 +00:00
raidframe A value of 1 for tracks/cylinder in the disklabel is apparently sub-optimal. 2001-04-05 02:48:51 +00:00
rasops Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
rcons Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
sbus Clean up bus dma code for request/response queues. 2001-04-12 21:40:56 +00:00
scsipi Correct the opcode for SCSI_MODE_SENSE_BIG. 2001-04-19 10:16:25 +00:00
std Add macro for extracting the whole key as one byte value. 2001-04-16 01:09:31 +00:00
sun Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
sysmon Make sure to clear sysmon_armed_wdog once the watchdog timer 2001-01-30 22:24:31 +00:00
tc Fix a few race conditions ... the VSYNC update flag could be cleared 2001-04-20 11:53:06 +00:00
usb Remove stuff I didn't mean to commit yet. 2001-04-19 00:50:22 +00:00
vme Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
wscons Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
wsfont Only install headers which are actually used by our userland. This 2001-04-11 07:42:31 +00:00
xmi Initial support for the XMI bus on VAX, MIPS and Alpha systems. 2000-07-06 17:45:52 +00:00
DEVNAMES Add latches (arm26). 2001-04-22 00:27:18 +00:00
Makefile Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
auconv.c
auconv.h
audio.c The previous revision was my fault. audio_calcwater() needs to be 2001-01-25 15:25:34 +00:00
audio_if.h Change the kernel mmap interface so that the offset to map is an 2000-06-26 04:55:19 +00:00
audiovar.h
ccd.c Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when 2001-01-08 02:03:45 +00:00
ccdvar.h
clock_subr.c Move #define POSIX_BASE_YEAR to clock_subr.h. 2000-10-03 13:41:07 +00:00
clock_subr.h Move #define POSIX_BASE_YEAR to clock_subr.h. 2000-10-03 13:41:07 +00:00
cninit.c
cons.c check for when cnopen() will call itself recursively, and panic instead of losing badly. 2000-06-12 05:02:22 +00:00
cons.h move static function getstr() to cons.c, make it publically available 2000-05-08 16:30:57 +00:00
ld.c Allow for draining/adjusting the queue. 2001-02-04 17:15:37 +00:00
ldvar.h Allow for draining/adjusting the queue. 2001-02-04 17:15:37 +00:00
md.c Fix md_root.c path in comment. 2001-02-08 13:11:31 +00:00
md.h
md_root.c Add MI md_root.c, per discussion on tech-kern. 2000-10-02 15:22:32 +00:00
midi.c solve the race condition while output for umidi. 2001-01-31 16:19:35 +00:00
midi_if.h Define splaudio as splbio and IPL_AUDIO as IPL_BIO only if IPL_AUDIO 2000-07-07 01:11:12 +00:00
midisyn.c constify 2001-01-18 20:28:15 +00:00
midisynvar.h
midivar.h add detaching/deactivation code to midi driver. 2001-01-13 16:09:04 +00:00
mulaw.c constify 2001-01-18 20:28:15 +00:00
mulaw.h
rnd.c Take just the low-order 32 bits of cpu_counter() here. 2000-07-02 21:04:33 +00:00
rndpool.c portability fix: when rotating, don't do shifts >= wordsize. 2000-06-10 17:01:15 +00:00
sequencer.c
sequencervar.h
vnd.c Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when 2001-01-08 02:03:45 +00:00
vndvar.h