1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/sys/pc98/cbus
Poul-Henning Kamp 21144e3bf1 Remove B_READ, B_WRITE and B_FREEBUF and replace them with a new
field in struct buf: b_iocmd.  The b_iocmd is enforced to have
exactly one bit set.

B_WRITE was bogusly defined as zero giving rise to obvious coding
mistakes.

Also eliminate the redundant struct buf flag B_CALL, it can just
as efficiently be done by comparing b_iodone to NULL.

Should you get a panic or drop into the debugger, complaining about
"b_iocmd", don't continue.  It is likely to write on your disk
where it should have been reading.

This change is a step in the direction towards a stackable BIO capability.

A lot of this patch were machine generated (Thanks to style(9) compliance!)

Vinum users:  Greg has not had time to test this yet, be careful.
2000-03-20 10:44:49 +00:00
..
30line.h
cbus_dma.c Stop isadma from abusing the B_READ, B_RAW and B_WRITE flags. 2000-03-13 10:19:32 +00:00
cbus.h
clock.c Synced with sys/i386/isa/clock.c rev 1.149. 2000-01-05 12:35:03 +00:00
fdc.c Remove B_READ, B_WRITE and B_FREEBUF and replace them with a new 2000-03-20 10:44:49 +00:00
fdcreg.h Merge from sys/isa/fd.c revision from 1.171 to 1.176 and sys/isa/fdreg.h 2000-01-09 10:01:21 +00:00
gdc.c - Fixed warnings. 2000-01-04 04:46:50 +00:00
olpt.c Fixed to support old parallel interface. 2000-03-16 12:06:29 +00:00
pckbd.c Synced with following changes: 2000-01-13 11:47:42 +00:00
pcrtc.c Synced with sys/i386/isa/clock.c rev 1.149. 2000-01-05 12:35:03 +00:00
ppc.c Synced with sys/isa/ppc.c rev 1.26. 2000-01-29 14:30:28 +00:00
ppcreg.h Port of the PC-98 ppc to the newbus system. 2000-01-20 00:58:49 +00:00
sc_machdep.h Synced with the sc driver in the sys/dev/syscons directory. 2000-01-20 15:16:49 +00:00
scgdcrndr.c Synced with the sc driver in the sys/dev/syscons directory. 2000-01-20 15:16:49 +00:00
scterm-sck.c Synced with sys/dev/syscons/scterm-sc.c rev 1.4. 2000-02-11 08:54:16 +00:00
scvtb.c - Fixed warnings. 2000-01-04 04:46:50 +00:00
sio.c Merged from sys/isa/sio.c revision 1.291. 2000-03-12 13:14:51 +00:00
syscons_cbus.c Synced with the sc driver in the sys/dev/syscons directory. 2000-01-20 15:16:49 +00:00