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
Yoshihiro Takahashi
b19a8c613b
Merged from sys/dev/sio/sio.c revision 1.399.
2003-06-01 04:44:43 +00:00
Alexander Kabaev
104a9b7e3e
Deprecate machine/limits.h in favor of new sys/limits.h.
...
Change all in-tree consumers to include <sys/limits.h>
Discussed on: standards@
Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
2003-04-29 13:36:06 +00:00
Poul-Henning Kamp
891619a66d
Use bioq_flush() to drain a bio queue with a specific error code.
...
Retain the mistake of not updating the devstat API for now.
Spell bioq_disksort() consistently with the remaining bioq_*().
#include <geom/geom_disk.h> where this is more appropriate.
2003-04-01 15:06:26 +00:00
Jake Burkholder
227f9a1c58
- Add vm_paddr_t, a physical address type. This is required for systems
...
where physical addresses larger than virtual addresses, such as i386s
with PAE.
- Use this to represent physical addresses in the MI vm system and in the
i386 pmap code. This also changes the paddr parameter to d_mmap_t.
- Fix printf formats to handle physical addresses >4G in the i386 memory
detection code, and due to kvtop returning vm_paddr_t instead of u_long.
Note that this is a name change only; vm_paddr_t is still the same as
vm_offset_t on all currently supported platforms.
Sponsored by: DARPA, Network Associates Laboratories
Discussed with: re, phk (cdevsw change)
2003-03-25 00:07:06 +00:00
Matthew N. Dodd
c1f567e304
PC98 systems don't need to worry about the MCA bus.
2003-03-24 19:10:33 +00:00
Poul-Henning Kamp
b4b138c27f
Including <sys/stdint.h> is (almost?) universally only to be able to use
...
%j in printfs, so put a newsted include in <sys/systm.h> where the printf
prototype lives and save everybody else the trouble.
2003-03-18 08:45:25 +00:00
Poul-Henning Kamp
ddcceb7e08
Fix malloc() without legal mode flag.
2003-03-17 07:28:01 +00:00
Poul-Henning Kamp
1ecc485c1b
Call devstat_start_transaction_bio() instead of devstat_start_transaction()
2003-03-15 10:50:44 +00:00
Yoshihiro Takahashi
947878824d
Merged from sys/dev/sio/sio.c revisions 1.387 and 1.388.
2003-03-09 10:15:11 +00:00
Poul-Henning Kamp
a9d2245ea8
Allocate the devstat structure with devstat_new_entry().
2003-03-08 21:44:46 +00:00
Poul-Henning Kamp
182a9f7455
Make nokqfilter() return the correct return value.
...
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
2003-03-03 16:24:47 +00:00