Poul-Henning Kamp
52400704e9
Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference between
...
a major number for a dev_t.
1999-05-09 13:00:50 +00:00
KATO Takenori
c4f748e7eb
Removed DRIVER_TYPE_TTY field.
1999-05-09 05:02:26 +00:00
KATO Takenori
f88efae58f
Sync with sys/isa/sio.c revision 1.234.
1999-05-09 05:00:54 +00:00
KATO Takenori
ac2e82dee1
Removed DRIVER_TYPE_TTY field.
1999-05-09 04:56:42 +00:00
KATO Takenori
ad4e5e0cfe
Sync with sys/isa/atkbd_isa.c revision 1.4.
1999-05-09 04:53:58 +00:00
KATO Takenori
2623b6551f
Sync with sys/i386/isa/wd.c revision 1.197.
1999-05-09 04:42:10 +00:00
KATO Takenori
b07d43b4ab
Sync with sys/i386/isa/pcausio.c revision 1.48.
1999-05-09 04:39:36 +00:00
KATO Takenori
0b8c369031
Sync with sys/i386/isa/npx.c revision 1.61.
1999-05-09 04:38:27 +00:00
KATO Takenori
f1ff3d972f
Sync with sys/i386/isa/mse.c revision 1.42.
1999-05-09 04:37:17 +00:00
KATO Takenori
75442335ac
Sync with sys/i386/isa/fd.c revision 1.142.
1999-05-09 04:34:28 +00:00
KATO Takenori
c977a12971
Sync with sys/i386/i386/userconfig.c revision 1.141.
1999-05-09 04:30:08 +00:00
KATO Takenori
b1c4ac8e82
Sync with sys/i386/conf/majors.i386 revision 1.72.
1999-05-09 04:28:23 +00:00
KATO Takenori
58d78bbe43
Sync with sys/i386/conf/files.i386 revision 1.238.
1999-05-09 04:27:30 +00:00
KATO Takenori
a1fe075531
Sync with sys/i386/conf/Makefile.i386 revision 1.149.
1999-05-09 04:26:06 +00:00
Poul-Henning Kamp
46eede0058
Continue where Julian left off in July 1998:
...
Virtualize bdevsw[] from cdevsw. bdevsw() is now an (inline)
function.
Join CDEV_MODULE and BDEV_MODULE to DEV_MODULE (please pay attention
to the order of the cmaj/bmaj arguments!)
Join CDEV_DRIVER_MODULE and BDEV_DRIVER_MODULE to DEV_DRIVER_MODULE
(ditto!)
(Next step will be to convert all bdev dev_t's to cdev dev_t's
before they get to do any damage^H^H^H^H^H^Hwork in the kernel.)
1999-05-07 10:11:40 +00:00
Poul-Henning Kamp
c48d17750f
Introduce two functions: physread() and physwrite() and use these directly
...
in *devsw[] rather than the 46 local copies of the same functions.
(grog will do the same for vinum when he has time)
1999-05-07 07:03:47 +00:00
Poul-Henning Kamp
b0eeea2042
remove b_proc from struct buf, it's (now) unused.
...
Reviewed by: dillon, bde
1999-05-06 20:00:34 +00:00
Peter Wemm
03a4d0108f
Fix a precedence bug in the atapi tape driver. I think it could either
...
write a filemark where it wasn't needed, or neglect to write one at all,
depending on how the boolean converted to an int value for the &.
1999-05-06 18:50:10 +00:00
Peter Wemm
d5558c001a
Fix up a few easy 'assignment used as truth value' and 'suggest parens
...
around && within ||' type warnings. I'm pretty sure I have not masked
any problems here, I've committed real problem fixes seperately.
1999-05-06 18:44:42 +00:00
KATO Takenori
5c32431080
Sync with sys/i386/i386/userconfig.c revision 1.138.
1999-05-06 09:15:20 +00:00
KATO Takenori
bb0992d7ab
Sync with sys/i386/conf/files.i386 revision 1.237.
1999-05-06 09:13:56 +00:00
Luoqi Chen
c300b7b6c1
Initialize dblfault_tss.tss_fs to the per-cpu private data segment selector.
1999-05-06 00:54:54 +00:00
Luoqi Chen
68db6cea99
Do not set curproc until proc0 is fully initialized (in proc0_init()).
1999-05-06 00:39:00 +00:00
KATO Takenori
ef560ddafd
Sync with sys/i386/isa/fd.c revision 1.137.
1999-05-05 03:43:00 +00:00
KATO Takenori
635a64d91f
Sync with sys/i386/conf/majors.i386 revision 1.71.
1999-05-05 03:41:39 +00:00
KATO Takenori
86f210dfba
Fixed missing parenthesis.
...
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-05-05 01:53:43 +00:00
Peter Wemm
271694cc1e
Operator precedence bug
...
PR: 11415
Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
1999-05-02 21:46:31 +00:00
KATO Takenori
28e5bf9207
Added $Id$.
1999-04-30 07:31:17 +00:00
Dmitrij Tejblum
604359cf9b
s/static foo_devsw_installed = 0;/static int foo_devsw_installed;/.
...
(Edited automatically)
1999-04-28 10:54:24 +00:00
KATO Takenori
482f0be026
Sync with sys/i386/isa/clock.c revision 1.132.
1999-04-28 08:06:00 +00:00
KATO Takenori
8aef41e249
Sync with sys/i386/i386/machdep.c revision 1.332.
1999-04-28 08:03:54 +00:00
Poul-Henning Kamp
f711d546d2
Suser() simplification:
...
1:
s/suser/suser_xxx/
2:
Add new function: suser(struct proc *), prototyped in <sys/proc.h>.
3:
s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/
The remaining suser_xxx() calls will be scrutinized and dealt with
later.
There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.
More changes to the suser() API will come along with the "jail" code.
1999-04-27 11:18:52 +00:00
KATO Takenori
19add1f020
Remove obsolete interrupt labels.
1999-04-25 05:59:02 +00:00
KATO Takenori
473541c8c3
Sync with sys/i386/i386/userconfig.c revision 1.137.
1999-04-25 04:06:43 +00:00
KATO Takenori
949f91f87c
Sync with sys/i386/conf/options.i386 revision 1.112.
1999-04-25 04:05:31 +00:00
KATO Takenori
c1327c0f76
Sync with sys/i386/conf/Makefile.i386 revision 1.148.
1999-04-25 04:04:24 +00:00
KATO Takenori
38160a0f0d
De-quote.
1999-04-25 04:03:22 +00:00
KATO Takenori
742958ce9d
Commented out adv_isa.c.
1999-04-24 04:22:57 +00:00
KATO Takenori
866a540287
Sync with sys/i386/isa/isa_dma.c revision 1.2.
1999-04-21 12:17:00 +00:00
KATO Takenori
8e6e1dfb88
Sync with sys/i386/isa/clock.c revision 1.131.
1999-04-21 12:14:37 +00:00
KATO Takenori
14349c1d6f
Sync with sys/i386/i386/userconfig.c revision 1.136.
1999-04-20 09:10:47 +00:00
KATO Takenori
32c9ff911e
Sync with sys/i386/i386/machdep.c revision 1.330.
1999-04-20 09:08:51 +00:00
KATO Takenori
07a6f835ff
Sync with sys/i386/conf/Makefile.i386 revision 1.147.
1999-04-20 09:07:19 +00:00
KATO Takenori
bf362ede5f
Rectivate pnp0.
1999-04-20 09:06:03 +00:00
KATO Takenori
feee147835
Fixed missing changes for new-bus (return value of the probe routine).
...
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-04-19 16:10:40 +00:00
KATO Takenori
3d88f91408
Sync with sys/isa/sio.c revision 1.226.
1999-04-19 11:11:01 +00:00
KATO Takenori
d4d6ff4d66
Sync with sys/i386/i386/userconfig.c revision 1.135.
1999-04-19 11:06:08 +00:00
KATO Takenori
c55a92c639
Sync with follwing files:
...
Path Revision
i386/conf/GENERIC 1.162
i386/conf/Makefile.i386 1.146
i386/conf/files.i386 1.236
i386/conf/options.i386 1.111
i386/i386/machdep.c 1.329
i386/i386/userconfig.c 1.134
i386/isa/fd.c 1.135
i386/isa/if_ed.c 1.151
i386/isa/isa_dam.c 1.1
i386/isa/npx.c 1.67
isa/sio.c 1.224
dev/syscons/syscons.c 1.300
i386/isa/wd.c 1.194
isa/vga_isa.c 1.5
isa/atkbd_isa.c 1.3
isa/syscons_isa.c 1.2
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-04-18 14:42:20 +00:00
Peter Wemm
3e3e4375c8
Shoot the LKM support in the old wd/wdc/atapi driver set in the head and
...
perform a cleanup/unifdef sweep over it to tidy things up. The atapi
code is permanently attached to the wd driver and is always probed.
I will add an extra option bit in the flags to disable an atapi probe on
either the master or slave if needed, if people want this.
Remember, this driver is destined to die some time. It's possible that
it will loose all atapi support down the track and only be used for
dumb non-ATA disks and all ata/atapi devices will be handled by the new
ata system.
ATAPI, ATAPI_STATIC and CMD640 are no longer options, all are implicit.
Previously discussed with: sos
1999-04-13 19:38:12 +00:00
KATO Takenori
aafbdf0b08
Sync with sys/i386/isa/isa.c revision 1.118.
1999-04-12 03:31:05 +00:00