phk
6746c7cf0d
Move B_ERROR flag to b_ioflags and call it BIO_ERROR.
...
(Much of this done by script)
Move B_ORDERED flag to b_ioflags and call it BIO_ORDERED.
Move b_pblkno and b_iodone_chain to struct bio while we transition, they
will be obsoleted once bio structs chain/stack.
Add bio_queue field for struct bio aware disksort.
Address a lot of stylistic issues brought up by bde.
2000-04-02 15:24:56 +00:00
kato
23c7b063fd
Merged from sys/isa/sio.c revisions 1.293 and 1.294.
2000-04-01 11:27:31 +00:00
peter
4ace50a779
Make sysv-style shared memory tuneable params fully runtime adjustable
...
via sysctl. It's done pretty simply but it should be quite adequate.
Also move SHMMAXPGS from $machine/include/vmparam.h as the comments that
went with it were wrong... we don't allocate KVM space for the pages so
that comment is bogus.. The only practical limit is how much physical
ram you want to lock up as this stuff isn't paged out or swap backed.
2000-03-30 07:17:05 +00:00
imp
8edbcf2a7c
NewBus the cs driver.
...
Submitted by: max@rsu.ru
2000-03-30 05:16:16 +00:00
nyan
1750096e92
- Added PC-98 Cbus frontend.
...
- Move dev/aic/aic_isa.c entry from conf/files to conf/files.MACHINE
because PC-98 uses different file.
Submitted by: nyan and IMAI Takeshi <take-i@ceres.dti.ne.jp>
2000-03-29 14:32:34 +00:00
nyan
b5e984531f
Newbusify mse driver.
2000-03-29 14:23:16 +00:00
kato
59c8129129
Commented out apm0. It could cause hang-up.
2000-03-29 13:39:15 +00:00
nyan
7184c46c62
- Supported display suspended mode.
...
- Switch on/off not only text screen but also graphic screen.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2000-03-29 12:29:27 +00:00
nyan
3688937382
Merge from the following changes.
...
File Revision
sys/conf/files.i386 1.303 and 1.304
sys/dev/kbd/atkbd.c 1.23
sys/dev/syscons/scterm-sc.c 1.2
sys/dev/syscons/scvgarndr.c 1.5
sys/dev/syscons/scvtb.c 1.5
sys/dev/syscons/syscons.c 1.335
sys/isa/syscons_isa.c 1.11
sys/isa/vga_isa.c 1.17
2000-03-29 12:26:41 +00:00
kato
3f9c9e2d51
Merged from sys/isa/fd.c revision 1.180.
2000-03-28 15:09:13 +00:00
kato
ca58b744cc
Merged from sys/i386/i386/userconfig.c revision 1.179.
2000-03-28 15:07:28 +00:00
kato
72790a030b
Merged from sys/i386/i386/machdep.c revision 1.387.
2000-03-28 15:04:29 +00:00
kato
784a291eb5
Merged from sys/i386/isa/clock.c and sys/isa/sio.c revisions 1.150 and
...
1.292, respectively.
2000-03-23 08:55:45 +00:00
kato
f1e1b4621a
Removed B_READ and B_WRITE.
2000-03-23 08:53:15 +00:00
kato
4cc93fc592
Disable fdctl_wr_foo. This feature is not supported by PC98.
2000-03-23 08:50:56 +00:00
nyan
552d76a039
Added the joy driver (commented out).
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2000-03-22 03:19:37 +00:00
nyan
d159c3fea3
Fixed style bugs.
2000-03-20 14:50:48 +00:00
kato
0285582815
Removed old boot loader.
2000-03-20 12:14:12 +00:00
phk
37454307f3
Rename the existing BUF_STRATEGY() to DEV_STRATEGY()
...
substitute BUF_WRITE(foo) for VOP_BWRITE(foo->b_vp, foo)
substitute BUF_STRATEGY(foo) for VOP_STRATEGY(foo->b_vp, foo)
This patch is machine generated except for the ccd.c and buf.h parts.
2000-03-20 11:29:10 +00:00
phk
f6b69faae4
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
kato
233fa52063
Merged from sys/isa/fd.c.
2000-03-19 15:18:22 +00:00
kato
7148133828
Merged from sys/i386/i386/userconfig.c rev 1.178.
2000-03-19 14:46:22 +00:00
kato
c921fe2353
Added COMPAT_OLDPCI and COMPAT_OLDISA options.
2000-03-19 14:42:52 +00:00
nyan
93a61154a0
Fixed header file path and added necessary file.
2000-03-17 12:56:23 +00:00
nyan
055a6d41a7
Sync with sys/i386/i386/userconfig.c revision 1.175 and 1.176.
2000-03-17 12:24:59 +00:00
nyan
20a3c1e5ee
Backed out ppc0 flags addtion. It isn't necessary without PPC_PROBE_CHIPSET
...
option.
Pointed out by: peter
2000-03-17 11:37:03 +00:00
nyan
432c2c3ce0
Fixed to probe extended memory for over 256M or under 64M.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2000-03-16 12:14:00 +00:00
nyan
a992cc17c2
Fixed to support old parallel interface.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2000-03-16 12:06:29 +00:00
nyan
c81c21c1cc
Added 'flags 0x40' to ppc0.
2000-03-16 12:03:36 +00:00
nyan
e918c4c652
Changed sio1 flags to 0x12000010 to enable serial console.
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
2000-03-16 11:53:16 +00:00
phk
0e0cff7128
Stop isadma from abusing the B_READ, B_RAW and B_WRITE flags.
...
Define ISADMA_{READ,WRITE,RAW} macros with the same numeric
values as the B_{READ,WRITE,RAW} and use them instead throughout.
2000-03-13 10:19:32 +00:00
kato
cc08773a74
Merged from sys/isa/sio.c revision 1.291.
2000-03-12 13:14:51 +00:00
kato
9ffff2be83
Merged from sys/isa/sio.c revisions 1.289 and 1.290.
2000-03-10 10:34:36 +00:00
kato
e8d287ea60
Merged from sys/i386/isa/isa_compat.h revision 1.27.
2000-03-01 08:56:47 +00:00
kato
5dc1d2ae4a
Merged from sys/i386/i386/userconfig.c revision 1.174.
2000-03-01 08:55:23 +00:00
kato
dd74612e62
Merged from sys/i386/i386/machdep.c revisions 1.384 and 1.385.
2000-03-01 08:53:59 +00:00
kato
205c859825
Merged from sys/i386/conf/GENERIC revisions 1.243, 1.244 and 1.245.
2000-03-01 08:52:28 +00:00
kato
5505c5547b
Merged from sys/isa/sio.c rev 1.288.
2000-02-17 15:09:12 +00:00
kato
89aa5d1e59
Synced with sys/i386/i386/userconfig.c rev 1.173.
2000-02-17 14:45:05 +00:00
peter
dd4b87e5a8
Clean up some loose ends in the network code, including the X.25 and ISO
...
#ifdefs. Clean out unused netisr's and leftover netisr linker set gunk.
Tested on x86 and alpha, including world.
Approved by: jkh
2000-02-13 03:32:07 +00:00
kato
faf04d591e
Synced with sys/dev/syscons/syscons.c rev 1.336.
2000-02-11 08:54:56 +00:00
kato
87a4750283
Synced with sys/dev/syscons/scterm-sc.c rev 1.4.
2000-02-11 08:54:16 +00:00
kato
0e974ebcfa
Synced with sys/i386/conf/GENERIC revision 1.241.
...
Approved by: jkh
2000-02-05 00:43:04 +00:00
kato
37984717b0
Synced with sys/i386/conf/GENERIC rev 1.240.
...
Approved by: jkh
2000-02-03 10:46:28 +00:00
kato
78b06d60e1
Synced with sys/i386/isa/isa_compat.h rev 1.18.
...
Approved by: jkh
2000-02-01 09:00:09 +00:00
kato
4f1930b2aa
Synced with sys/i386/isa/wd.c revision 1.219.
...
Approved by: jkh
2000-02-01 08:57:21 +00:00
kato
cb62acaaf9
Synced with sys/i386/isa/mse.c, npx.c and spkr.c revisions 1.49, 1.80
...
and 1.45, respectively.
Approved by: jkh
2000-02-01 08:54:14 +00:00
peter
0e3b7819f3
Remove 'conflicts' token - it has been effectively doing absolutely
...
nothing for quite some time. The only thing that cared was userconfig,
but it was for one invisible device so we never saw it's effects.
2000-01-29 18:07:07 +00:00
peter
d1505f3899
Zap isa_device -> id_conflicts. The sole user of it (userconfig) never
...
actually used it since the only device that specified it (vga0) was marked
as "FLG_INVISIBLE" in userconfig and therefore never shown.
Suggested by: bde
2000-01-29 18:01:10 +00:00
peter
bacd8d5578
Remove #if NFOO > 0 (it's not required in most cases) and also where it
...
isn't used as a result, remove #include "foo.h". Many of these drivers
still use NFOO for softc struct sizing etc however.
2000-01-29 16:00:34 +00:00