KATO Takenori
5e36b573bc
Merged from sys/isa/sio.c revision 1.316.
2000-10-06 11:52:32 +00:00
KATO Takenori
a3e04bd352
Merged from sys/isa/sio.c revision 1.315.
2000-09-22 12:56:55 +00:00
KATO Takenori
0011dc221c
Merged from sys/i386/isa/sio.c revision 1.314.
2000-09-15 05:45:23 +00:00
KATO Takenori
715ca46f5c
Merged from sys/isa/sio.c revision 1.312.
2000-09-13 10:14:43 +00:00
KATO Takenori
3584f98832
Merged from sys/isa/sio.c revisions 1.309 - 1.311.
2000-09-08 11:54:13 +00:00
KATO Takenori
106038c33b
Merged from sys/isa/sio.c revision 1.306, 1.307 and 1.308.
2000-09-07 13:34:45 +00:00
Poul-Henning Kamp
77978ab8bc
Previous commit changing SYSCTL_HANDLER_ARGS violated KNF.
...
Pointed out by: bde
2000-07-04 11:25:35 +00:00
Poul-Henning Kamp
82d9ae4e32
Style police catches up with rev 1.26 of src/sys/sys/sysctl.h:
...
Sanitize SYSCTL_HANDLER_ARGS so that simplistic tools can grog our
sources:
-sysctl_vm_zone SYSCTL_HANDLER_ARGS
+sysctl_vm_zone (SYSCTL_HANDLER_ARGS)
2000-07-03 09:35:31 +00:00
Yoshihiro Takahashi
b5f05e294c
Fixed to support RSA98-III non-pnp mode. rman_get_start() had returned
...
iobase + 8 because the I/O address table for RSA98-III starts with +8.
Now, bus_alloc_resource() is used instead of isa_alloc_resourcev() if
device type is RSA98III.
2000-06-21 11:21:14 +00:00
Yoshihiro Takahashi
0f90341e15
Use bus_space stuff except where it needs high performance.
2000-05-12 12:38:25 +00:00
Yoshihiro Takahashi
4b38c2c0ac
Release allocated resources and return ENXIO on error.
2000-04-22 15:12:52 +00:00
KATO Takenori
769e7115b7
Merged from sys/isa/sio.c revisions 1.293 and 1.294.
2000-04-01 11:27:31 +00:00
KATO Takenori
6eeafd696c
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 Takenori
5a9a82e820
Merged from sys/isa/sio.c revision 1.291.
2000-03-12 13:14:51 +00:00
KATO Takenori
e299a9db22
Merged from sys/isa/sio.c revisions 1.289 and 1.290.
2000-03-10 10:34:36 +00:00
KATO Takenori
df16ced79a
Merged from sys/isa/sio.c rev 1.288.
2000-02-17 15:09:12 +00:00
KATO Takenori
6dbccd6e00
Synced with sys/isa/sio.c rev 1.287.
2000-01-29 04:47:22 +00:00
KATO Takenori
69d4b82b48
Return ENXIO on error.
...
Submitted by: n_hibma
2000-01-24 08:20:54 +00:00
KATO Takenori
21e10b2d88
Synced with sys/isa/sio.c rev 1.285.
2000-01-20 08:37:54 +00:00
KATO Takenori
50a2971692
Synced with sys/isa/sio.c rev 1.284.
2000-01-13 11:45:33 +00:00
KATO Takenori
d224d2aea2
Synced with sys/isa/sio.c rev 1.282.
1999-12-27 14:01:06 +00:00
KATO Takenori
fd04609c0d
Merge from sys/isa/sio.c rev 1.279.
1999-12-10 14:03:47 +00:00
KATO Takenori
9976554fa0
Merge from sys/isa/sio.c rev 1.277 & 1.278.
1999-12-07 09:29:15 +00:00
Yoshihiro Takahashi
02ebab9383
Supported i8251 (internal COM1) FIFO mode.
...
Submitted by: tanimura and nyan
1999-12-06 00:23:38 +00:00
Yoshihiro Takahashi
132b70df15
Sync with sys/isa/sio.c revision 1.276.
1999-12-01 13:40:03 +00:00
Yoshihiro Takahashi
36de18e214
- Fixed to support RSB-384/2000/3000.
...
- Fixed warnings.
1999-11-29 13:20:47 +00:00
Yoshihiro Takahashi
cfe60dd328
Sync with sys/isa/sio.c revision up to 1.275.
1999-11-18 12:22:09 +00:00
Yoshihiro Takahashi
75c0f11718
Support RSA-98III PnP mode.
1999-11-03 09:13:16 +00:00
Yoshihiro Takahashi
53a70a424e
Sync with sys/isa/sio.c revision from 1.269 to 1.273.
1999-11-03 09:02:23 +00:00
Poul-Henning Kamp
d6a0e38a1b
Remove five now unused fields from struct cdevsw. They should never
...
have been there in the first place. A GENERIC kernel shrinks almost 1k.
Add a slightly different safetybelt under nostop for tty drivers.
Add some missing FreeBSD tags
1999-09-25 18:24:47 +00:00
Poul-Henning Kamp
ae8e1d08d7
This patch clears the way for removing a number of tty related
...
fields in struct cdevsw:
d_stop moved to struct tty.
d_reset already unused.
d_devtotty linkage now provided by dev_t->si_tty.
These fields will be removed from struct cdevsw together with
d_params and d_maxio Real Soon Now.
The changes in this patch consist of:
initialize dev->si_tty in *_open()
initialize tty->t_stop
remove devtotty functions
rename ttpoll to ttypoll
a few adjustments to these changes in the generic code
a bump of __FreeBSD_version
add a couple of FreeBSD tags
1999-09-25 16:21:39 +00:00
Yoshihiro Takahashi
1065b855f9
Fixed missing changes from sys/isa/sio.c.
1999-09-12 13:44:54 +00:00
KATO Takenori
62fdcb4fc6
Change isa_get/set_flags() to device_get/set_flags().
...
Submitted by: dfr
1999-09-07 11:17:09 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Julian Elischer
ada9bd8cb8
Add PHK's make_dev() into more places where DEVFS used to be
...
hooked in directly.
Alpha change checked by: Matthew Jacob <mjacob@feral.com>
i4b ISDN changes checked by: Udo Schweigert <ust@cert.siemens.de>
and Hellmuth Michaelis <hm@hcs.de>
PC98 changes checked by: Takahashi Yoshihiro <nyan@FreeBSD.org>
1999-08-27 07:26:26 +00:00
Yoshihiro Takahashi
4e943310b7
Use V-FAST mode register to check whether it supports V-FST mode.
...
Submitted by: WATANABE Takuya <sodium@xuni.ne.jp>
1999-08-17 04:33:11 +00:00
Yoshihiro Takahashi
91ec7ad5f7
Fixed checking a type of the interface.
...
Submitted by: Tomohiko Kurahashi <kura@tim.hi-ho.ne.jp>
1999-08-09 13:03:35 +00:00
Poul-Henning Kamp
ce9edcf5b5
Merge the cons.c and cons.h to the best of my ability. alpha may or
...
may not compile, I can't test it.
1999-08-09 10:35:05 +00:00
Poul-Henning Kamp
03016f421b
Remove cmaj and bmaj args from DEV_DRIVER_MODULE.
1999-07-04 14:58:56 +00:00
KATO Takenori
4b148932c7
PC98 part of the second phase of syscons reorganization.
...
Submitted by: yokota
1999-06-24 10:51:40 +00:00
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
KATO Takenori
ab29750a7f
Sync with sys/i386/isa/sio.c revision 1.194.
1998-01-08 10:50:06 +00:00
KATO Takenori
b8c15aa548
Sync with sys/i386/isa/sio.c revision up to 1.193.
1997-12-29 16:08:48 +00:00
Eivind Eklund
5591b823d1
Make COMPAT_43 and COMPAT_SUNOS new-style options.
1997-12-16 17:40:42 +00:00
Bruce Evans
239b7b699e
Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are
...
not handled at a particular level. This fixes mainly restarting
of interrupted TIOCDRAINs and TIOCSETA{W,F}s.
1997-12-06 13:25:01 +00:00
KATO Takenori
681be1a529
Sync with sys/i386/isa/if_ed.c, if_fe.c and sio.c revisions 1.129,
...
1.35 and 1.189, respectively.
1997-11-25 09:42:26 +00:00
KATO Takenori
00be5a552a
Sync with sys/i386/isa/sio.c revision 1.188.
1997-11-03 02:30:45 +00:00
KATO Takenori
6fd3c7fdea
Synchronize with sys/i386/isa/sio.c revision 1.187.
1997-10-27 11:00:31 +00:00
KATO Takenori
5ea17fc758
Synchronize with sys/i386/isa/sio.c revision 1.184.
1997-10-13 09:23:14 +00:00
KATO Takenori
e79c5cf3a8
Synchronize with sys/i386/isa/fd.c, isa.c and sio.c revisions 1.103,
...
1.105 and 1.183, respectively.
1997-09-22 12:23:49 +00:00
KATO Takenori
55d994bfb5
Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/sio.c
...
revisions 1.60 and 1.182, respectively.
1997-09-20 05:28:02 +00:00