Commit Graph

1046 Commits

Author SHA1 Message Date
KATO Takenori
d969b47c9c Sync with sys/i386/isa/wd.c revision up to 1.180. 1998-11-16 08:13:54 +00:00
KATO Takenori
258591400a Sync with sys/i386/conf/options.i386 revision 1.92. 1998-11-16 08:11:58 +00:00
KATO Takenori
22276a9a88 Sync with sys/i386/conf/Makefile.i386 revision 1.129. 1998-11-16 08:09:16 +00:00
KATO Takenori
e6a8c534a3 Sync with sys/i386/conf/GENERIC revision 1.131. 1998-11-13 08:18:44 +00:00
KATO Takenori
e4b4a0d1dc Sync with sys/i386/boot/kzipboot/malloc.c revision 1.7. 1998-11-13 08:18:14 +00:00
Doug Rabson
7095ee912b * Fix a couple of places in the device pager where an address was
truncated to 32 bits.
* Change the calling convention of the device mmap entry point to
  pass a vm_offset_t instead of an int for the offset allowing
  devices with a larger memory map than (1<<32) to be supported
  on the alpha (/dev/mem is one such).

These changes are required to allow the X server to mmap the various
I/O regions used for device port and memory access on the alpha.
1998-11-08 12:39:07 +00:00
KATO Takenori
f3284683fb Sync with sys/i386/i386/userconfig.c revision up to 1.115. 1998-11-06 08:08:05 +00:00
KATO Takenori
c70606fd9f Sync with sys/i386/i386/machdep.c revision up to 1.315. 1998-11-06 08:07:32 +00:00
KATO Takenori
48ba888a6a Sync with sys/i386/conf/options.i386 revision 1.91. 1998-11-06 08:07:00 +00:00
KATO Takenori
a0a1e229e8 Sync with sys/i386/conf/Makefile.i386 revision 1.128. 1998-11-06 08:06:32 +00:00
Dag-Erling Smørgrav
fb46af4f6c Back out previous commit. The bpfilter -> bpf transition will have to be a
flag day unless we can hack config(8) to smooth things over.
1998-11-03 22:01:22 +00:00
Dag-Erling Smørgrav
10b4ab477f Rename the 'bpfilter' pseudo-device to 'bpf'. The old syntax is still legal
and will stick around for a while.
1998-11-03 21:12:20 +00:00
Luigi Rizzo
9525e8f53c Use "KB" instead of "Kb" for KiloBytes, consistently with other
drivers and common practices.
1998-10-30 10:57:09 +00:00
KATO Takenori
5ff07d2ee7 Sync with sys/i386/conf/Makefile.i386 revision 1.127. 1998-10-28 10:48:37 +00:00
KATO Takenori
7f9848cd68 Sync with sys/i386/isa/clock.c revision 1.128. 1998-10-23 13:13:43 +00:00
Bruce Evans
d0644dfc47 Removed all `vector xxxintr' specifications. Interrupt handlers are now
configured in drivers.

Don't quote port names that don't have a digit in them.
1998-10-22 16:16:02 +00:00
Bruce Evans
291adf9b21 Removed all `vector xxxintr' specifications. Interrupt handlers are now
configured in drivers.
1998-10-22 15:31:33 +00:00
KATO Takenori
b494420086 Added rl driver. 1998-10-22 11:29:58 +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
abd5db200f Commented out aic. 1998-10-18 15:55:20 +00:00
KATO Takenori
c8e89e8bbd Update SMP-GENERIC98 to something a bit more recent based on GENERIC98. 1998-10-18 14:02:43 +00:00
KATO Takenori
a8a4a44273 Sync with sys/i386/conf/GENERIC revision 1.125. 1998-10-18 13:58:16 +00:00
KATO Takenori
e165741792 Commented out bs driver. 1998-10-16 16:22:35 +00:00
Søren Schmidt
8de3e08bf8 Make the next_writeable address specific for each drive, there might
be more than one burner online.
1998-10-15 08:11:55 +00:00
KATO Takenori
9e9260f743 Sync with sys/i386/isa/isa.c and wd.c revisions 1.115 and 1.177,
respectively.
1998-10-13 09:44:09 +00:00
KATO Takenori
b69b4c650c Sync with sys/i386/i386/userconfig.c revision 1.112. 1998-10-13 09:43:09 +00:00
KATO Takenori
d74a7fd03e Commented out aic driver. 1998-10-13 08:14:33 +00:00
KATO Takenori
854de3d138 Fix for wrap arround. 1998-10-13 03:24:01 +00:00
KATO Takenori
f1132a191e Implement TSC clock calibration for PC-98. 1998-10-13 02:33:21 +00:00
KATO Takenori
aea68bce9f Sync with sys/i386/isa/isa.c revision 1.114. 1998-10-12 15:06:02 +00:00
KATO Takenori
9aba3db9f1 Sync with sys/i386/boot/biosboot/table.c revision 1.17. 1998-10-11 15:09:36 +00:00
KATO Takenori
02ca745405 Sync with sys/i386/boot/biosboot/boot.c revision up to 1.74. 1998-10-11 15:09:14 +00:00
KATO Takenori
980418a9b0 Sync with sysi/386/boot/biosboot/boot.h revision 1.24. 1998-10-11 15:08:50 +00:00
KATO Takenori
45b48978af Sync with sys/i386/i386/machdep.c revision 1.313. 1998-10-11 15:04:38 +00:00
KATO Takenori
9e1e84578a Sync with sys/i386/conf/files.i386 revision 1.206. 1998-10-11 15:02:49 +00:00
KATO Takenori
abe3697a3a Sync with sys/i386/conf/Makefile.i386 revision 1.126. 1998-10-11 15:01:40 +00:00
KATO Takenori
049f9fd334 Sync with sys/i386/conf/GENERIC revision 1.124. 1998-10-11 15:00:24 +00:00
KATO Takenori
60f27d13a7 Sync with sys/i386/i386/machdep.c revision 1.312. 1998-10-09 12:36:25 +00:00
KATO Takenori
c9b153c8af Oops, discard my previous commits becase sumitted code is for RELENG_2_2. 1998-10-08 17:16:41 +00:00
KATO Takenori
caff4610b9 Add entry for EtherEZ98 and Access/PC N98C+ cards.
Reviewed by:	kato
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-10-08 17:07:44 +00:00
KATO Takenori
7143cdbb01 Add ungermann-Bass Access/PC N98C+ support to fe driver (PC-98).
Reviewed by:	kato
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-10-08 17:06:32 +00:00
KATO Takenori
bb168650e8 Add SMC EtherEZ98 support to ed driver (PC-98).
Reviewed by:	kato
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-10-08 17:04:59 +00:00
KATO Takenori
acb3c15910 Sync with sys/i386/conf/GENERIC revision up to 1.123. 1998-10-08 12:10:07 +00:00
KATO Takenori
6939f71026 Sync with sys/i386/i386/userconfig.c revision 1.111. 1998-10-08 12:09:38 +00:00
Søren Schmidt
f8161cee7c Remove debug output on disk change. 1998-10-08 06:41:44 +00:00
KATO Takenori
4536af6a70 - Implement enabling write allocate on AMD K5/K6/K6-2 cpus.
The code was originaly contributed by Kelly Yancey
  <kbyanc@freedomnet.com> in PR i386/6269 and revised by Akio Morita
  <amorita@meadow.scphys.kyoto-u.ac.jp> and me.  Test was performed by
  Akio Morita and Toshiomi Moriki <moriki@db.is.kyushu-u.ac.jp>.
- Fix stylistic bug in identcpu.c.
- Update copyright in initcpu.c
- Fix typo in LINT.

PR:		6269 and 6270
1998-10-06 13:16:29 +00:00
KATO Takenori
2ed839e4cf Sync with sys/i386/conf/Makefile.i386 revision 1.125. 1998-10-05 08:57:17 +00:00
KATO Takenori
b4c3b946da Sync with sys/i386/boot/biosboot/boot.c revision 1.72. 1998-10-05 07:58:05 +00:00
KATO Takenori
b3c2b0173a Sync with sys/i386/i386/machdep.c revision 1.311. 1998-09-30 13:21:44 +00:00
KATO Takenori
2b336086eb Sync with sys/i386/i386/userconfig.c revision 1.110. 1998-09-28 08:26:10 +00:00
KATO Takenori
6a75025663 Sync with sys/i386/i386/machdep.c revision 1.310. 1998-09-28 08:25:29 +00:00
KATO Takenori
f36effada3 Sync with sys/i386/conf/options.i386 revision 1.89. 1998-09-28 08:23:26 +00:00
KATO Takenori
b68e295760 Sync with sys/i386/conf/SMP-GENERIC revision 1.16. 1998-09-28 08:20:55 +00:00
KATO Takenori
42d36a9a0b Sync with sys/i386/isa/clock.c revision 1.127. 1998-09-22 16:12:00 +00:00
KATO Takenori
91dc9190a6 Sync with sys/i386/conf/majors.i386 revision 1.50. 1998-09-22 16:11:38 +00:00
KATO Takenori
a80a8d7271 Sync with sys/i386/conf/Makefile.i386 revision 1.124. 1998-09-22 16:11:08 +00:00
KATO Takenori
77c2f3685e Sync with sys/i386/conf/GENERICupgrade revision 1.3. 1998-09-22 16:10:40 +00:00
KATO Takenori
e0029f2568 Sync with sys/i386/isa/clock.c revision 1.126. 1998-09-20 10:51:57 +00:00
KATO Takenori
47d002cf75 Sync with sys/i386/conf/files.i386 revision 1.205. 1998-09-20 10:50:18 +00:00
KATO Takenori
e185bae6e1 Sync with sys/i386/conf/SMP-GENERIC revision up to 1.15. 1998-09-19 13:36:13 +00:00
KATO Takenori
770e1ffc56 Sync with sys/i386/conf/GENERIC revision 1.118. 1998-09-19 13:35:18 +00:00
KATO Takenori
7ef16b04e6 Sync with sys/i386/i386/userconfig.c revision 1.109. 1998-09-17 13:14:14 +00:00
KATO Takenori
facd783008 Sync with sys/i386/isa/pcaudio.c revision 1.43. 1998-09-16 08:38:50 +00:00
KATO Takenori
12629290f5 Sync with sys/i386/isa/files.i386 and options.i386 revisions 1.204 and
1.87, respectively.
1998-09-16 08:37:40 +00:00
KATO Takenori
c87ddee143 Sync with sys/i386/isa/fd.c revision 1.123. 1998-09-16 08:08:38 +00:00
KATO Takenori
6b47fe275c Sync with sys/i386/conf/Makefile.i386 revision 1.123. 1998-09-16 08:04:40 +00:00
Søren Schmidt
a8445737e7 Add VESA support to syscons.
Kazu writes:

The VESA support code requires vm86 support. Make sure your kernel
configuration file has the following line.
        options "VM86"
If you want to statically link the VESA support code to the kernel,
add the following option to the kernel configuration file.
        options "VESA"

The vidcontrol command now accepts the following video mode names:
VESA_132x25, VESA_132x43, VESA_132x50, VESA_132x60, VESA_800x600

The VESA_800x600 mode is a raster display mode. The 80x25 text will
be displayed on the 800x600 screen. Useful for some laptop computers.

vidcontrol accepts the new `-i <info>' option, where <info> must be
either `adapter' or `mode'.  When the `-i adapter' option is given,
vidcontrol will print basic information (not much) on the video
adapter. When the `-i mode' option is specified, vidcontrol will
list video modes which are actually supported by the video adapter.

Submitted by:   Kazutaka YOKOTA yokota@FreeBSD.ORG
1998-09-15 18:16:39 +00:00
KATO Takenori
1867aaa0e8 Sync with sys/i386/i386/userconfig.c revision 1.108. 1998-09-15 14:11:42 +00:00
KATO Takenori
81083f630d Sync with sys/i386/conf/GENERIC, SMP-GENERIC, device.i386, files.i386,
majors.i386 and options.i386 revisions 1.116, 1.13, 1.14, 1.203, 1.49
and 1.86, respectively.
1998-09-15 14:10:56 +00:00
KATO Takenori
a19c2697f0 Adjust for sd->da and the loss of od. 1998-09-15 14:08:34 +00:00
KATO Takenori
a42481ee16 Sync with sys/i386/isa/fd.c and wd.c revisions 1.122 and 1.176,
respectively.
1998-09-15 14:07:08 +00:00
Justin T. Gibbs
27970de130 Convert SCSI disk bios geometry code to CAM. 1998-09-15 10:05:50 +00:00
KATO Takenori
7b2c5bd263 Deleted DDB and DIAGNOSTIC options. 1998-09-15 08:25:09 +00:00
Justin T. Gibbs
b2dfb1f906 Update system to new device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
		mike@smith.net.au (Mike Smith)
1998-09-15 08:15:30 +00:00
KATO Takenori
76c468f222 Sync with sys/i386/i386/machdep.c revision up to 1.309. 1998-09-15 03:50:08 +00:00
KATO Takenori
c17091756f Sync with sys/i386/confMakefile.i386 revision 1.122. 1998-09-15 03:49:43 +00:00
Søren Schmidt
d024c95599 Remove the SLICE code.
This clearly needs alot more thought, and we dont need this to hunt
us down in 3.0-RELEASE.
1998-09-14 19:56:42 +00:00
KATO Takenori
db6f50bf50 Sync with sys/i386/isa/syscons.c revision 1.277. 1998-09-14 11:37:58 +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
3031fd3097 Sync with sys/i386/conf/majors.i386 revision 1.48. 1998-09-14 10:43:26 +00:00
Warner Losh
89afdb2434 Print warning about block size not being optimal once per open rather than
once per offending write.
1998-09-09 17:20:32 +00:00
KATO Takenori
00d11a6a37 Sync with sys/i386/conf/majors.i386 revision 1.47. 1998-09-09 14:40:27 +00:00
KATO Takenori
2663a4af57 Sync with sys/i386/conf/files.i386 revision 1.202. 1998-09-09 14:39:56 +00:00
KATO Takenori
c792da10e3 Sync with sys/i386/conf/options.i386 revision 1.85. 1998-09-09 14:39:20 +00:00
Søren Schmidt
eeded4d82e Add new atapi-cd driver that supports atapi CD-R/RW drives.
This is only a stop-gab solution to get atapi burner support into 3.0.
1998-09-08 20:57:47 +00:00
KATO Takenori
9df3bd9208 Sync with sys/i386/isa/clock.c revision 1.125. 1998-09-08 09:47:46 +00:00
KATO Takenori
ddf7a8ea87 Sync with sys/i386/i386/userconfig.c revision 1.107. 1998-09-08 09:47:09 +00:00
John Birrell
b3e7339e37 Add a GENERICupgrade config file for pc98 users to upgrade to elf
in the same way as i386 users. This is a copy of GENERIC98.
1998-09-05 08:14:36 +00:00
KATO Takenori
2bfe25d193 Sync with sys/i386/conf/files.i386 revision 1.201. 1998-09-05 02:36:18 +00:00
KATO Takenori
0e28be212a Sync with sys/i386/conf/Makefile.i386 revision 1.121. 1998-09-05 02:35:21 +00:00
KATO Takenori
6924358493 Increase 'maxusers' to 32. 1998-09-05 02:20:52 +00:00
KATO Takenori
a6ccc598a3 Sync with sys/i386/conf/Makefile.i386 revision 1.120. 1998-09-01 07:18:09 +00:00
KATO Takenori
794cfbb48e Sync with sys/i386/i386/machdep.c revision 1.306. 1998-09-01 07:17:36 +00:00
KATO Takenori
aa53a702c9 - Fix style bug.
- hw.ispc98 -> machdep.ispc98.

Submitted by:	Garrett Wollman (hw -> machdep)
1998-09-01 02:04:17 +00:00
KATO Takenori
582e52862a - hw.machine_arch returns cpu architecture type.
- moved definition of MACHINE_ARCH from cpu.h to parm.h as alpha.
- Added definitions of _MACHINE and _MACHINE_ARCH.
- Added hw.ispc98. The hw.ispc98 is 1 in PC98 kernel and is 0 in
  IBM-PC kernel.

Discussed with:	John Birrell <jb@FreeBSD.ORG>
1998-08-31 08:41:58 +00:00
KATO Takenori
c2dc9fa74b Sync with sys/i386/conf/majors.i386 revision 1.46. 1998-08-28 12:49:09 +00:00
KATO Takenori
b5ecefd598 Sync with sys/i386/conf/Makefile.i386 revision 1.118. 1998-08-28 12:48:38 +00:00
KATO Takenori
722e860eb0 Sync with sys/i386/isa/if_ed.c and spkr.c revisions 1.35 and 1.144,
respectively.
1998-08-28 12:47:45 +00:00
KATO Takenori
de2c5240b0 Sync with sys/i386/i386/trap.c revision 1.128. 1998-08-28 12:46:28 +00:00
KATO Takenori
b45ff52639 Sync with sys/i386/isa/syscons.c revision 1.276. 1998-08-28 12:45:43 +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
Bruce Evans
00671271c3 Fixed printf format errors. Only one left in LINT on i386's. 1998-08-24 02:28:16 +00:00
Poul-Henning Kamp
be18fc123b remove bdevsw arg from dsopen();
Forgotten by:	julian
Reviewed by:	bde
1998-08-23 20:16:35 +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
e10741bfea Sync with sys/i386/isa/syscons.c revision 1.275. 1998-08-19 09:35:18 +00:00
KATO Takenori
41bf2268ba Sync with sys/i386/i386/machdep.c revision 1.304. 1998-08-19 09:32:15 +00:00
KATO Takenori
5827b1ee8d Delete dpt driver. 1998-08-19 02:41:51 +00:00
KATO Takenori
30b8d76d79 Sync with sys/i386/isa/lpt.c revision 1.70. 1998-08-17 08:21:09 +00:00
KATO Takenori
b7ff9c6070 - change at2pc98() into global from static.
- Oops, I forgot to merge several lines from sys/i386/isa/syscons.c.
1998-08-15 09:08:26 +00:00
KATO Takenori
f84bf06b3f Sync with sys/i386/isa/syscons.c revision 1.274. 1998-08-15 09:04:03 +00:00
Søren Schmidt
45696a866c Only write a filemark on close when data has actually been written. 1998-08-14 15:54:57 +00:00
KATO Takenori
c0e4cfbfe2 Sync with sys/i386/isa/sio.c revision 1.210. 1998-08-13 07:36:40 +00:00
KATO Takenori
fb050f435d Sync with sys/i386/isa/syscons.c revision 1.273. 1998-08-10 16:56:53 +00:00
KATO Takenori
d64be4c2bd Sync with sys/i386/isa/diskslice_machdep.c revision 1.31. 1998-08-10 16:55:54 +00:00
KATO Takenori
5634e13ae6 Sync with sys/i386/conf/majors.i386 revision 1.45. 1998-08-10 16:54:47 +00:00
KATO Takenori
1e62449ada Sync with sys/i386/conf/options.i386 revision up to 1.84. 1998-08-10 16:54:09 +00:00
KATO Takenori
757571642a Fix garbage after quitting X server.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-08-07 18:04:24 +00:00
KATO Takenori
cdc2343491 Sync with sys/i386/conf/files.i386 and majors.i386 revisions 1.200 and
1.44, respectively.
1998-08-07 11:52:19 +00:00
KATO Takenori
8ca7bcb78f Sync with sys/i386/isa/syscons.c and syscons.h revisions 1.272 and
1.39, respectively.
1998-08-07 11:51:06 +00:00
KATO Takenori
127c346fec Sync with sys/i386/isa/syscons.h revision 1.38. 1998-08-03 10:50:57 +00:00
KATO Takenori
b7138d3739 Sync with sys/i386/isa/syscons.c revision up to 1.271. 1998-08-03 10:50:27 +00:00
KATO Takenori
93e52f2dce Sync with sys/i386/i386/userconfig.c revision 1.106. 1998-08-03 10:49:18 +00:00
KATO Takenori
7ea1329d05 Sync with sys/i386/boot/netboot/main.c revision 1.23. 1998-08-01 12:20:59 +00:00
Bruce Evans
34e9dea435 Added a flags arg to dsopen() and updated drivers. The DSO_ONESLICE
and DSO_NOLABELS flags prevent searching for slices and labels
respectively.  Current drivers don't set these flags.  When
DSO_NOLABELS is set, the in-core label for the whole disk is cloned
to create an in-core label for each slice.  This gives the correct
result (a good in-core label for the compatibility slice) if
DSO_ONESLICE is set or only one slice is found, but usually gives
broken labels otherwise, so DSO_ONESLICE should be set if DSO_NOLABELS
is set.
1998-07-30 15:16:06 +00:00
KATO Takenori
523bea959c Sync with sys/i386/isa/fd.c revision 1.120. 1998-07-30 09:01:12 +00:00
Alexander Langer
f7aad78d24 Typo fix: teh --> (the|they) 1998-07-30 02:27:41 +00:00
KATO Takenori
a0f5e52d43 Sync with sys/i386/isa/diskslice_machdep.c revision 1.30. 1998-07-27 09:49:23 +00:00
KATO Takenori
991b3bc3b3 Sync with sys/i386/i386/userconfig.c revision 1.105. 1998-07-21 12:07:49 +00:00
KATO Takenori
fd3ae2d6b0 Sync with sys/i386/conf/files.i386 revision 1.199. 1998-07-21 12:07:02 +00:00
KATO Takenori
649db6f0df Sync with sys/i386/isa/diskslice_machdep.c revision 1.29. 1998-07-21 12:06:04 +00:00
KATO Takenori
b0e1d5716a Sync with sys/i386/isa/isa.c revision 1.113. 1998-07-19 15:04:26 +00:00
KATO Takenori
1e023fc3c6 Sync with sys/i386/isa/fd.c revision 1.119. 1998-07-19 15:03:49 +00:00
KATO Takenori
d577e090c0 Merge from sys/i386/isa/syscons.c (1.265->1.266). 1998-07-16 10:29:11 +00:00
KATO Takenori
c76d1cd8e7 Sync with sys/i386/isa/fd.c revision 1.118. 1998-07-16 10:27:49 +00:00
KATO Takenori
f474f59dc4 Sync with sys/i386/i386/userconfig.c revision 1.104. 1998-07-16 10:26:59 +00:00
KATO Takenori
d4f1ed8581 Sync with sys/i386/isa/pcaudio.c revision 1.42. 1998-07-16 10:25:50 +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
Bruce Evans
9bffbcd4f5 Fixed printf format errors (only 1 left in GENERIC now). 1998-07-13 09:53:11 +00:00
KATO Takenori
6baa65474d Sync with sys/i386/isa/fd.c and wd.c revisions 1.117 and 1.172,
respectively.
1998-07-13 09:29:25 +00:00
KATO Takenori
0faba01ed8 Sync with sys/i386/conf/Makefile.i386 revision 1.117. 1998-07-12 14:30:54 +00:00
KATO Takenori
c435f1ef25 Sync with sys/i386/isa/wd.c revision 1.171. 1998-07-11 17:02:48 +00:00
KATO Takenori
13992e6dc1 Sync with sys/i386/isa/fd.c revision 1.116. 1998-07-11 17:02:07 +00:00
KATO Takenori
70e1187f6c Sync with sys/i386/isa/diskslice_machdep.c revision 1.28. 1998-07-11 17:01:25 +00:00
KATO Takenori
e1c32d9d2d Sync with sys/i386/i386/machdep.c revision 1.303. 1998-07-11 17:00:33 +00:00
KATO Takenori
ff8cc45a43 Oops, I broke netboot.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-07-08 16:01:34 +00:00
KATO Takenori
e809645c27 Sync with sys/i386/isa/syscons.c revision 1.265. 1998-07-08 08:54:38 +00:00
KATO Takenori
5c59deba3c Sync with sys/i386/boot/netboot/Makefile revision 1.19. 1998-07-08 08:53:43 +00:00
KATO Takenori
36a5980c70 Sync with sys/i386/isa/fd.c and wd.c revisions 1.115 and 1.170,
respectively.
1998-07-06 10:09:42 +00:00
Julian Elischer
f7ea2f55d1 There is no such thing any more as "struct bdevsw".
There is only cdevsw (which should be renamed in a later edit to deventry
or something). cdevsw contains the union of what were in both bdevsw an
cdevsw entries.  The bdevsw[] table stiff exists and is a second pointer
to the cdevsw entry of the device. it's major is in d_bmaj rather than
d_maj. some cleanup still to happen (e.g. dsopen now gets two pointers
to the same cdevsw struct instead of one to a bdevsw and one to a cdevsw).

rawread()/rawwrite() went away as part of this though it's not strictly
the same  patch, just that it involves all the same lines in the drivers.

cdroms no longer have write() entries (they did have rawwrite (?)).
tapes no longer have support for bdev operations.

Reviewed by: Eivind Eklund and Mike Smith
	Changes suggested by eivind.
1998-07-04 22:30:26 +00:00
KATO Takenori
1479b9a895 Sync with sys/i386/conf/options.i386 revision 1.82. 1998-07-02 12:40:01 +00:00
KATO Takenori
a723d97973 Sync with sys/i386/i386/machdep.c revision 1.302. 1998-07-02 12:39:32 +00:00
KATO Takenori
3744016942 Sync with sys/i386/boot/netboot/Makefile, bootmenu.c, main.c and
ns8390.c revisions 1.18, 1.15, 1.22 and 1.13, respectiely.
1998-07-02 12:37:36 +00:00
Poul-Henning Kamp
761b9eeed9 Add D_DISK flag. 1998-06-26 18:13:57 +00:00
KATO Takenori
e379d366dd Sync with sys/i386/conf/Makefile.i386 revision 1.115. 1998-06-25 10:49:49 +00:00
KATO Takenori
6aa96b0f62 Sync with sys/i386/isa/syscons.c revision 1.264. 1998-06-24 13:37:50 +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
986ecdf316 Sync with sys/i386/isa/if_ed.c and npx.c revisions 1.143 and 1.61,
respectively.
1998-06-22 08:06:58 +00:00
KATO Takenori
b0eb6f6a10 Sync with sys/i386/i386/machdep.c revision 1.301. 1998-06-22 08:05:12 +00:00
KATO Takenori
76ed357a00 Sync with sys/i386/isa/if_fe.c revision 1.42. 1998-06-22 08:03:52 +00:00
Bruce Evans
be160d60ab Removed unused includes. 1998-06-21 18:02:50 +00:00
KATO Takenori
64c4ba0748 Delete redundant declaration of lptintr. 1998-06-17 16:33:14 +00:00
KATO Takenori
a47dddaf2d Sync with sys/i386/conf/Makefile.i386 revision 1.114. 1998-06-17 16:30:53 +00:00
KATO Takenori
d5f1066e45 Sync with sys/i386/i386/machdep.c revision 1.300. 1998-06-17 16:30:16 +00:00
KATO Takenori
f8330c4760 Sync with sys/i386/isa/if_ed.c revision 1.142. 1998-06-17 16:29:27 +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
14f155eeb0 Sync with sys/i386/isa/conf/files.i386 revision 1.198. 1998-06-17 09:26:23 +00:00
KATO Takenori
f67d01d564 Sync with sys/i386/isa/syscons.c revision 1.263. 1998-06-15 13:06:33 +00:00
KATO Takenori
a06a8629ce Sync with sys/i386/isa/clock.c revision 1.124. 1998-06-10 08:25:23 +00:00
Bruce Evans
a09bee1aa8 Fixed pedantic semantics errors (bitfields not of type int, signed int
or unsigned int (this doesn't change the struct layout, size or
alignment in any of the files changed in this commit, at least for
gcc on i386's.  Using bitfields of type u_char may affect size and
alignment but not packing)).
1998-06-08 09:47:47 +00:00
KATO Takenori
4dd125707d Sync with sys/i386/isa/clock.c revision 1.123. 1998-06-08 08:56:43 +00:00
KATO Takenori
c7e9ceee59 Merge 64bit portability fixes from sys/i386 stuff. 1998-06-08 08:55:47 +00:00
Bruce Evans
ea0be99955 Updated yet another ioctl, and put wst in LINT to inhibit further bitrot. 1998-06-08 06:18:53 +00:00
Doug Rabson
ecbb00a262 This commit fixes various 64bit portability problems required for
FreeBSD/alpha.  The most significant item is to change the command
argument to ioctl functions from int to u_long.  This change brings us
inline with various other BSD versions.  Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.

The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
1998-06-07 17:13:14 +00:00
KATO Takenori
4b71df3705 Sync with sys/i386/isa/clock.c revision 1.122. 1998-06-07 09:51:08 +00:00
KATO Takenori
060b58da67 Make LINE30 a new style option. 1998-06-06 05:25:37 +00:00
KATO Takenori
0f66fe0109 Make BS_TARG_SAFEMODE a new style option. 1998-06-06 05:21:56 +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
365fc7aac3 Sync with sys/i386/conf/GENERIC revision 1.110. 1998-06-05 08:29:55 +00:00
KATO Takenori
57e8fac883 Sync with sys/i386/i386/machdep.c revision 1.298. 1998-06-03 08:48:00 +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
cdd1d1d0fd Sync with sys/i386/conf/majors.i386 revision 1.43. 1998-05-29 13:34:22 +00:00
KATO Takenori
35800bf56f Sync with sys/i386/isa/clock.c revision 1.121. 1998-05-28 13:51:39 +00:00
KATO Takenori
6113cb00d6 Sync with sys/i386/i386/machdep.c revision 1.297. 1998-05-28 13:50:13 +00:00
KATO Takenori
8cd4c80f68 Sync with sys/i386/boot/kzipboot/Makefile revision 1.9. 1998-05-28 13:48:40 +00:00
KATO Takenori
c0d4448d22 Sync with sys/i386/boot/biosboot/Makefile revision 1.64. 1998-05-28 13:46:04 +00:00
KATO Takenori
8c1bd9897c Fixed missing semicolon and added space before semicolon.
Noticed by:	Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>
1998-05-25 09:57:34 +00:00
KATO Takenori
a85be450c5 Sync with sys/i386/conf/Makefile.i386 revision 1.113. 1998-05-23 07:45:54 +00:00
KATO Takenori
020737132f Sync with sys/i386/conf/GENERIC revision 1.109. 1998-05-21 09:22:03 +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
499579a474 Sync with sys/i386/isa/clock.c revision 1.120. 1998-05-20 13:38:42 +00:00
KATO Takenori
fa7cfb3b65 Sync with sys/i386/i386/machdep.c revision 1.296. 1998-05-19 12:58:05 +00:00
Poul-Henning Kamp
c21410e119 s/nanoruntime/nanouptime/g
s/microruntime/microuptime/g

Reviewed by:	bde
1998-05-17 11:53:46 +00:00
KATO Takenori
73a9e38355 Sync with sys/i386conf/majors.i386 revision 1.42. 1998-05-14 12:42:11 +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
2b4c22da51 Sync with sys/i386/conf/majors.i386 revision 1.41. 1998-05-13 10:40:32 +00:00
KATO Takenori
fd9cfd28fd Sync with sys/i386/isa/wd.c revision 1.167. 1998-05-12 09:32:19 +00:00
KATO Takenori
150bac3199 Sync with sys/i386/conf/options.i386 revision 1.78. 1998-05-12 09:31:44 +00:00
KATO Takenori
b0fb6a41a9 Sync with sys/i386/conf/majors.i386 revision 1.40. 1998-05-12 09:31:12 +00:00
KATO Takenori
78f718856a Sync with sys/i386/isa/wd.c revision 1.166. 1998-05-07 08:37:27 +00:00
KATO Takenori
0b9df1bef1 Sync with sys/i386/isa/fd.c revision 1.112. 1998-05-07 08:36:48 +00:00
KATO Takenori
9a84338c84 Sync with sys/i386/isa/wd.c revision 1.164. 1998-05-06 08:25:58 +00:00
KATO Takenori
68b675d4af Deleted unused item. 1998-05-05 13:19:34 +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
49621c4a59 Added amd controller to support MELCO IFC-DP SCSI card. 1998-05-04 08:48:23 +00:00
KATO Takenori
84e0975d46 Added SMP kernel configuration file for PC-98 machine. 1998-05-04 07:58:36 +00:00
KATO Takenori
b30dab363b System clock speed is always detected automatically. 1998-05-04 07:47:33 +00:00
KATO Takenori
2d6d6d4050 Use 0xf8' instead of IO_NPX' macro to support compiling with `SMP'
option.
1998-05-04 07:33:32 +00:00
KATO Takenori
3c61948518 Support compiling with `gcc -ansi'. 1998-05-04 04:55:36 +00:00
KATO Takenori
230812653e Support compiling with `gcc -ansi'. 1998-05-04 04:41:23 +00:00
KATO Takenori
b3a77ee548 Support 1.44MB floppy disk.
Submitted by:	Nobuyuki Koganemaru <kogane@koganemaru.co.jp>,
             	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-05-02 02:06:08 +00:00
Warner Losh
3f6c4fc33b Use ${.TARGET} rather than $@. i386 tested, pc98 untested because config
on my box doesn't grok machine type pc98.
PR:		3272
Submitted by:	jhs
1998-04-29 18:21:35 +00:00
KATO Takenori
ccf47cfced Sync with sys/i386/i386/trap.c revision 1.127. 1998-04-29 09:45:38 +00:00
KATO Takenori
3d9a94b05a Sync with sys/i386/isa/wd.c revision up to 1.163. 1998-04-25 05:19:33 +00:00
KATO Takenori
012417733c Sync with sys/i386/isa/wd.c revision 1.161. 1998-04-25 04:27:54 +00:00
KATO Takenori
3562d37f74 Sync with sys/i386/conf/GENERIC revision 1.108. 1998-04-25 04:27:15 +00:00
KATO Takenori
d6226d453f Sync with sys/i386/conf/majors.i386 revision 1.39. 1998-04-22 13:35:21 +00:00
Julian Elischer
26d3bf5f1b close() is no longer a SLICE method.
Close is simply an open with no-read and no-write once internal to SLICE
(it still exports a close to the rest of the kernel)
1998-04-22 10:25:27 +00:00
Søren Schmidt
d264ed7a01 Enable DEVFS usage of the device (include opt_devfs.h> 1998-04-20 18:51:33 +00:00
KATO Takenori
b4e7319708 Commented out ide_pci.c.
Reviewed by:	kato
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-04-20 13:54:47 +00:00
KATO Takenori
9bfbfc62fd Sync with sys/i386/conf/options.i386 revision 1.77. 1998-04-20 13:52:44 +00:00
KATO Takenori
47c5d70acc Sync with sys/i386/conf/files.i386 revision 1.197. 1998-04-20 13:52:13 +00:00
KATO Takenori
c140c97201 Sync with sys/i386/isa/wd.c revision up to 1.159. 1998-04-20 13:51:34 +00:00
KATO Takenori
9a3c443d5a Sync with sys/i386/isa/fd.c revision 1.109. 1998-04-20 13:50:58 +00:00
KATO Takenori
1a373dbe8a Sync with sys/i386/isa/npx.c revision 1.60. 1998-04-20 13:50:21 +00:00
KATO Takenori
141d52a900 Sync with sys/i386/conf/majors.i386 revision 1.37. 1998-04-18 05:09:50 +00:00
KATO Takenori
2cf9b07390 Sync with sys/i386/isa/syscons.c revision 1.260. 1998-04-18 05:09:07 +00:00
KATO Takenori
bac806c18d Sync with sys/i386/conf/Makefile.i386 revision 1.109. 1998-04-18 05:07:43 +00:00
Dag-Erling Smørgrav
dc73342347 Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108. 1998-04-17 22:37:19 +00:00
KATO Takenori
e86160672a Sync with sys/i386/isa/syscons.c revision 1.259. 1998-04-16 16:35:23 +00:00
KATO Takenori
e6fb658c24 Sync with sys/i386/isa/npx.c revision 1.59. 1998-04-16 16:34:46 +00:00
KATO Takenori
3755fd6d2d Sync with sys/i386/conf/Makefile.i386 revision 1.108. 1998-04-16 16:34:09 +00:00
KATO Takenori
5b24b4a0a4 Sync with sys/i386/isa/pcaudio.c revision 1.40. 1998-04-16 16:33:21 +00:00
KATO Takenori
0739f338b1 Sync with sys/i386/isa/lpt.c revision 1.68. 1998-04-16 16:32:49 +00:00
KATO Takenori
aff756e77f Sync with sys/i386/isa/if_ed.c revision 1.139. 1998-04-16 16:32:15 +00:00
KATO Takenori
adf97e2edc Sync with sys/i386/i386/trap.c revision 1.126. 1998-04-16 16:31:36 +00:00
KATO Takenori
ecbb31cda2 Fix page fault panic by probing NE200 compatible PCI card.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1998-04-14 13:51:19 +00:00
Mike Smith
a470e6686d Don't use INTR when only one device supports it.
Submitted by:	Satoh Junichi <junichi@astec.co.jp>
1998-04-13 17:45:56 +00:00
KATO Takenori
625c217460 Sync with sys/i386/isa/wd.c revision 1.156. 1998-04-13 08:35:37 +00:00
KATO Takenori
44ed0f3748 Sync with sys/i386/isa/wd.c revision 1.155. 1998-04-12 05:05:19 +00:00
KATO Takenori
66cc72d13d Fix the problem when SCSI ID is not contiguous.
Submitted by:	URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>
1998-04-12 04:48:11 +00:00
Søren Schmidt
40a2ce6ee5 Fix a minor bug (|| instead of |) 1998-04-08 20:00:03 +00:00
KATO Takenori
216949b446 Sync with sys/i386/boot/biosboot/README.serial revision 1.9. 1998-04-07 15:33:47 +00:00
KATO Takenori
7b0e2080ab Sync with sys/i386/isa/npx.c revision 1.58. 1998-04-07 09:09:41 +00:00
KATO Takenori
74a64e52c9 Sync with sys/i386/conf/files.i386 revision 1.196. 1998-04-07 09:08:27 +00:00
KATO Takenori
130eeca5d6 Sync with sys/i386/i386/machdep.c revision 1.294. 1998-04-07 09:07:53 +00:00
KATO Takenori
237d5c328a Sync with sys/i386/isa/clock.c revision 1.119. 1998-04-06 03:38:18 +00:00
KATO Takenori
c8e4433596 Sync with sys/i386/isa/syscons.c revision 1.258. 1998-04-06 03:37:55 +00:00
KATO Takenori
71dab323ee Sync with sys/i386/isa/syscons.c revision 1.257. 1998-04-04 17:18:09 +00:00
KATO Takenori
18352eee9a Sync with sys/i386/isa/wd.c revision 1.152. 1998-04-02 11:06:59 +00:00
KATO Takenori
e40c3a225b Cosmetic. Move a blank line. 1998-03-31 09:37:44 +00:00