Poul-Henning Kamp
4e2f199e0c
This commit should be a extensive NO-OP:
...
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, although it is never used.
I used a program to do most of this, so all the files now use the
same consistent format. Please keep it that way.
Vinum and i4b not modified, patches emailed to respective authors.
1999-05-30 16:53:49 +00:00
KATO Takenori
09a41d3082
Sync with sys/isa/sio.c revision 1.241.
1999-05-11 08:38:28 +00:00
KATO Takenori
f77f865c0f
Fixed for COM_MULTIPORT option. Members flags and unit should be
...
obtained via appropriate functions.
1999-05-10 09:37:37 +00:00
KATO Takenori
871d777f45
Sync with sys/isa/sio.c revision 1.240.
1999-05-10 09:14:40 +00:00
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
f88efae58f
Sync with sys/isa/sio.c revision 1.234.
1999-05-09 05:00:54 +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
KATO Takenori
86f210dfba
Fixed missing parenthesis.
...
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-05-05 01:53:43 +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
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
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
KATO Takenori
e82834ca32
Sync with sys/i386/isa/sio.c revision 1.234.
1999-04-03 15:51:14 +00:00
KATO Takenori
812d50e7a5
Sync with sys/i386/isa/sio.c revision up to 1.233.
1999-04-01 13:44:15 +00:00
KATO Takenori
b2fa1a8926
Sync with sys/i386/isa/sio.c revision up to 1.231.
1999-03-25 08:26:50 +00:00
KATO Takenori
bd87150cd2
Sync with sys/i386/isa/sio.c revision 1.229.
1999-03-04 10:37:30 +00:00
KATO Takenori
533601dc35
Sync with sys/i386/isa/sio.c revision up to 1.228.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-02-05 11:37:40 +00:00
KATO Takenori
f19a38101a
Added braces around initializsers and in if-statements.
...
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-02-02 17:26:03 +00:00
Poul-Henning Kamp
4e2d2aa1cd
Use suser() to check for super user rather than examining cr_uid directly.
...
Use TTYDEF_SPEED rather than 9600 a couple of places.
Reviewed by: bde, with a few grumbles.
1999-01-30 12:17:38 +00:00
KATO Takenori
4d8efbff69
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
...
and local variables, goto labels, and functions declared but not defined.
1999-01-28 11:24:36 +00:00
KATO Takenori
9e0c98036f
Sync with sys/i386/isa/sio.c revision 1.225.
1999-01-27 08:26:16 +00:00
Peter Wemm
d17e4ee67d
Update the pccard hooks to use a module style declaration instead.
1999-01-19 00:21:53 +00:00
KATO Takenori
a87737af86
Sync with sys/i386/isa/sio.c revision up to 1.223.
1999-01-16 11:42:16 +00:00
KATO Takenori
fe1e7db615
Sync with sys/i386/isa/sio.c and syscons.c revisions 1.221 and 1.289,
...
respectively.
1999-01-08 16:09:23 +00:00
KATO Takenori
8f1ca31497
- Remove bus-dependent addresses from `ic' file.
...
- Special registers of IO-DATA device's RSA series are defined in
ic/rsa.h (new file).
Pointed out by: Bruce Evans <bde@zeta.org.au>
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-03 15:57:02 +00:00
KATO Takenori
3171a83027
Support following devices:
...
- on board 2nd CCU
- Midori Elec. MDC-926Rs
- Midori-Hayes ESP98
- NEC PC-9861K, PC-9801-101 PC-9801-120
- Melco IND-SP and IND-SS
- PIO-9032A/B/C
- B98-01 and B98-02
- IO-data device RSA-98II and RSA-98III
- MC-16550
- MC-RS98
- Media Inteligent RSB-2000/3000 and RSB-384
- PCMCIA modem card
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-03 05:03:47 +00:00
KATO Takenori
d35502a380
Sync with sys/i386/isa/sio.c revision 1.220.
1998-12-30 08:09:11 +00:00
KATO Takenori
e4561e2ae0
Sync with sys/i386/isa/fd.c, if_fe.c, npx.c and sio.c revisions 1.126,
...
1.44, 1.63 and 1.219, respectively.
1998-12-08 08:18:59 +00:00
KATO Takenori
76a505024d
Sync with sys/i386/isa/sio.c revision up to 1.218.
1998-11-23 07:49:03 +00:00
Bruce Evans
fe310de802
Initialize isa_devtab entries for interrupt handlers in individual
...
device drivers, not in ioconf.c. Use a different hack in isa_device.h
so that a new config(8) is not required yet.
pc98 parts approved by: kato
1998-10-22 05:58:45 +00:00
KATO Takenori
cabd14ebb6
Sync with sys/i386/isa/if_ed.c and sio.c revisions 1.145 and 1.215,
...
respectively.
1998-09-14 11:37:29 +00:00
KATO Takenori
750d7ad72e
Sync with sys/i386/isa/sio.c revision up to 1.214.
1998-08-28 12:44:49 +00:00
KATO Takenori
da2b3f29f2
Sync with sys/i386/isa/sio.c revision 1.211.
1998-08-19 11:48:38 +00:00
KATO Takenori
c0e4cfbfe2
Sync with sys/i386/isa/sio.c revision 1.210.
1998-08-13 07:36:40 +00:00
Bruce Evans
18da528d41
Changed %n to %r in devfs name format strings. %n has almost gone away.
1998-07-15 12:18:34 +00:00
KATO Takenori
d035c1e702
Sync with sys/i386/isa/syscons.c revision 1.208.
1998-06-24 13:37:23 +00:00
KATO Takenori
0495b7f964
Sync with sys/i386/isa/sio.c revision 1.207.
1998-06-17 09:27:15 +00:00
KATO Takenori
c7e9ceee59
Merge 64bit portability fixes from sys/i386 stuff.
1998-06-08 08:55:47 +00:00
KATO Takenori
1bd5af4d02
Sync with sys/i386/isa/sio.c revision up to 1.205.
1998-06-05 08:31:01 +00:00
KATO Takenori
1098580586
Sync with sys/i386/isa/sio.c revision 1.203.
1998-06-01 12:40:24 +00:00
KATO Takenori
bcd11c3b62
Sync with sys/i386/isa/sio.c revision 1.202.
1998-05-20 13:39:06 +00:00
KATO Takenori
cd0ab95415
Sync with sys/i386/isa/sio.c revision 1.201.
1998-05-13 10:42:36 +00:00
KATO Takenori
54f5627faa
Sync with sys/i386/isa/sio.c revision 1.200.
1998-05-04 11:25:13 +00:00
KATO Takenori
269d7ee60c
Sync with sys/i386/isa/sio.c revision up to 1.199.
1998-02-27 15:24:51 +00:00
KATO Takenori
127f07ea76
Sync with sys/i386/isa/sio.c revision 1.197.
1998-02-15 11:18:47 +00:00
Poul-Henning Kamp
a4daaa09f2
Implement the spirit but not the letter of Terrys hot-char patch.
...
The differences Terrys patch and this patch are:
* Remove a lot of un-needed comments.
* Don't put l_hotchar at the front of stuct linesw, there is no need to.
* Use the #defines for the hotchar in the SLIP and PPP line disciplines
1998-02-13 12:46:28 +00:00
KATO Takenori
4e82d9dc12
Fixed bugs introduced by syncing with i386/isa/sio.c revision 1.143.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-02-02 07:59:05 +00:00
Eivind Eklund
7b778b5e61
Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.
...
This introduce an xxxFS_BOOT for each of the rootable filesystems.
(Presently not required, but encouraged to allow a smooth move of option *FS
to opt_dontuse.h later.)
LFS is temporarily disabled, and will be re-enabled tomorrow.
1998-01-24 02:54:56 +00:00
KATO Takenori
774f324f38
Added dealy.
...
Submitted by: Kawanobe Koh <kawanobe@st.rim.or.jp>
1998-01-22 03:52:55 +00:00
KATO Takenori
60fa2968df
Fixed bugs introduced when files were synchronized with
...
sys/i386/isa/mse.c and sio.c.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-01-16 11:20:22 +00:00