Poul-Henning Kamp
e451f9b758
Make the remaining serial drivers call ttyioctl() rather than calling
...
the linedisc directly.
2004-06-04 08:02:37 +00:00
Poul-Henning Kamp
186f2b9e04
Add missing <sys/module.h> includes currently relying on nested include
...
in <sys/kernel.h>
2004-06-03 06:10:02 +00:00
Poul-Henning Kamp
be9bd88238
There is no need to explicitly call the stop function. In all likelyhood
...
->l_close() did it and ttyclose certainly will.
2004-06-01 11:57:15 +00:00
Poul-Henning Kamp
a1cda79464
There is no need to explicitly call ttwakeup() and ttwwakeup() after
...
ttyclose() has been called. It's already been done once by ttyclose,
and probably once by the line-discipline too.
2004-06-01 11:38:06 +00:00
Poul-Henning Kamp
bda4474a59
ttyclose() increments t_gen. Remove redundant increments in drivers.
2004-06-01 10:15:56 +00:00
Yoshihiro Takahashi
a83e8010cc
Merged from sys/dev/fdc/fdc.c revision 1.272.
2004-05-30 13:56:06 +00:00
Yoshihiro Takahashi
413131337a
Mereged from sys/dev/sio/sio.c revision 1.429.
2004-05-06 13:16:45 +00:00
Yoshihiro Takahashi
4496bb391f
- Remove obsolete examples.
...
- Add a comment about meaning of flags.
- Disable unused defines.
2004-05-01 06:53:38 +00:00
Yoshihiro Takahashi
2c7f49d5d5
Merged from sys/dev/sio/sio.c revision 1.428.
2004-05-01 06:46:10 +00:00
Yoshihiro Takahashi
944d807245
Merged from sys/isa/fd.c revision 1.270.
2004-04-25 12:43:44 +00:00
Warner Losh
2fcbca0d85
Remove advertising clause from University of California Regent's
...
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.
Approved by: core, peter, alc, rwatson
2004-04-07 05:00:01 +00:00
Yoshihiro Takahashi
2c08d6bea1
Add a comment about time stamper.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2004-03-29 12:51:46 +00:00
Yoshihiro Takahashi
279b998b38
- Fix PC98 supports after importing auto selection. [1]
...
- Fix 1.44MB floppy drive probe sequence. [2]
Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp> [1]
chi@bd.mbn.or.jp (Chiharu Shibata) [2]
2004-03-28 13:40:23 +00:00
Nate Lawson
5f96beb9e0
Convert callers to the new bus_alloc_resource_any(9) API.
...
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
2004-03-17 17:50:55 +00:00
Warner Losh
91a5625be4
including isa_device.h was historical in this file, remove it
2004-03-15 10:39:01 +00:00
Yoshihiro Takahashi
05f0fb092f
Remove '#include <machine/bus_pio.h>'. This is meaningless.
2004-03-07 05:39:38 +00:00
Poul-Henning Kamp
db42ff97da
Remove unused FDNUMTOUNIT() macro
2004-02-29 10:21:40 +00:00
Yoshihiro Takahashi
6cab36d49d
Merged from sys/isa/fd.c revision 1.266.
2004-02-26 14:59:10 +00:00
Poul-Henning Kamp
dc08ffec87
Device megapatch 4/6:
...
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
2004-02-21 21:10:55 +00:00
Poul-Henning Kamp
8e1f1df080
Device megapatch 3/6:
...
Add missing D_TTY flags to various drivers.
Complete asserts that dev_t's passed to ttyread(), ttywrite(),
ttypoll() and ttykqwrite() have (d_flags & D_TTY) and a struct tty
pointer.
Make ttyread(), ttywrite(), ttypoll() and ttykqwrite() the default
cdevsw methods for D_TTY drivers and remove the explicit initializations
in various drivers cdevsw structures.
2004-02-21 20:41:11 +00:00
Poul-Henning Kamp
c9c7976f7f
Device megapatch 1/6:
...
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
2004-02-21 19:42:58 +00:00
Yoshihiro Takahashi
9ce630976e
Merged from sys/dev/sio/sio.c revision 1.418.
2004-01-21 16:12:29 +00:00
Yoshihiro Takahashi
92c531b502
Add detach method.
2003-12-28 12:25:49 +00:00
Bruce Evans
ac0e70c401
Merged from sys/dev/sio/sio.c revision 1.417.
2003-12-26 03:06:11 +00:00
Bruce Evans
f177e8630c
Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416.
...
Approved by: nyan
(Blanket approval for simple changes in sio.)
2003-11-17 23:13:08 +00:00
Yoshihiro Takahashi
6469c6629c
MFi386: revision 1.206
2003-11-04 13:15:12 +00:00
Yoshihiro Takahashi
95755cc99b
Split pc98 support into pc98/pc98/nmi.c.
2003-11-04 13:01:41 +00:00
Yoshihiro Takahashi
a59a17a08d
Merged from sys/isa/syscons_isa.c revision 1.24.
2003-10-31 13:48:24 +00:00
Poul-Henning Kamp
b52b7f465d
Eliminate use bio_blkno.
2003-10-18 17:51:26 +00:00
Yoshihiro Takahashi
6d8fc6bf6f
Merged from sys/dev/sio/sio.c revisions from 1.405 to 1.414.
2003-10-05 11:55:14 +00:00
Yoshihiro Takahashi
d4b3b85f35
MFi386: revision 1.205
2003-10-05 08:56:49 +00:00
Poul-Henning Kamp
3f99f14bf1
OK, I messed up /dev/console with what I had hoped would be compat
...
code. Convert remaining console drivers and hope for the best.
2003-09-26 19:35:50 +00:00
Poul-Henning Kamp
405f776c83
Typo in last commit: missing ')'
2003-09-26 12:13:35 +00:00
Poul-Henning Kamp
4866f95d76
Change fb_attach() and fb_detach() to take a integer unit number rather
...
than a dev_t.
All of the dev_t's passed were bogusly created with makedev()
2003-09-26 10:41:44 +00:00
Yoshihiro Takahashi
6c04a4a3dd
Merged from sys/isa/fd.c revisions 1.259 and 1.260.
2003-09-18 09:49:08 +00:00
Yoshihiro Takahashi
211822ccef
Merged from sys/isa/fd.c revision 1.258.
2003-09-13 12:56:05 +00:00
Yoshihiro Takahashi
916a70c619
MFi386: revision 1.204.
2003-09-11 14:05:06 +00:00
Yoshihiro Takahashi
79a5a35f9e
Merged from sys/isa/fd.c revisions 1.252, 1.253, 1.254, 1.255 and 1.257.
2003-09-11 13:35:35 +00:00
Yoshihiro Takahashi
65463a6400
Merged from sys/dev/sio/sio.c revisions 1.403 and 1.404.
2003-08-28 11:20:54 +00:00
Yoshihiro Takahashi
07efc976b0
MFi386: revisions 1.202 and 1.203.
2003-08-23 06:06:55 +00:00
Warner Losh
ba4b44f1c4
bandaide to make this build again
2003-08-16 17:22:54 +00:00
Yoshihiro Takahashi
cbb06fd60c
MFi386: revision 1.201.
2003-08-08 12:45:42 +00:00
Yoshihiro Takahashi
a99de58f92
Merged from sys/dev/sio/sio.c revision 1.400.
2003-08-02 09:41:31 +00:00
Yoshihiro Takahashi
91e953ae9b
Merged from sys/dev/ppc/ppc.c revision 1.42.
2003-08-02 09:25:25 +00:00
Yoshihiro Takahashi
6b6ee1e771
Supported the gdc_clear function.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2003-07-21 13:00:09 +00:00
John Baldwin
8a9bc9c03b
- Use the new resource_disabled() helper function to see if devices are
...
disabled.
- Change the apm driver to match the acpi driver's behavior by checking to
see if the device is disabled in the identify routine instead of in the
probe routine. This way if the device is disabled it is never created.
Note that a few places (ips(4), Alpha SMP) used "disable" instead of
"disabled" for their hint names, and these hints must be changed to
"disabled". If this is a big problem, resource_disabled() can always be
changed to honor both names.
2003-07-02 16:09:02 +00:00
Poul-Henning Kamp
2ca77c355d
Replace evil abuse of geteblk() with malloc(9).
2003-06-16 07:41:47 +00:00
Yoshihiro Takahashi
079a4307f0
MFi386: revision 1.199
2003-06-01 04:51:07 +00:00
Yoshihiro Takahashi
de31756031
Merged from sys/isa/ppc.c revision 1.40.
2003-06-01 04:48:34 +00:00
Yoshihiro Takahashi
adeebc533e
Merged from sys/isa/fd.c revision 1.250.
2003-06-01 04:46:30 +00:00