Commit Graph

987 Commits

Author SHA1 Message Date
KATO Takenori
1ec0a1bcd4 Don't forget to initialize va_mode.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Forgotten by:	kato
1999-01-18 14:47:01 +00:00
KATO Takenori
4e1cc33d71 Sync with sys/i386/i386/userconfig.c revision 1.126. 1999-01-18 11:01:57 +00:00
KATO Takenori
56cdcc561b Sync with sys/i386/conf/Makefile.i386 revision 1.135. 1999-01-18 11:00:29 +00:00
KATO Takenori
1835ec2219 Switched to new syscons driver.
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp> and
             	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-01-18 08:38:08 +00:00
KATO Takenori
a464f91c8d Make old syscons work. (New syscons driver for PC98 is still under
development.)

Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-17 15:42:27 +00:00
KATO Takenori
e53a4818c5 Sync with sys/i386/isa/wd.c revision 1.186. 1999-01-17 12:24:48 +00:00
KATO Takenori
5d4a8edf37 Revise sio entries to synchronize with current driver.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-16 13:20:42 +00:00
KATO Takenori
e42f0a2ea6 Sync with sys/i386/isa/wd.c revision up to 1.185. 1999-01-16 11:43:12 +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
0061057d70 Sync with sys/i386/isa/npx.c revision 1.65. 1999-01-16 11:41:18 +00:00
KATO Takenori
21da8ffad1 Sync with sys/i386/isa/fd.c revision 1.131. 1999-01-16 11:40:02 +00:00
KATO Takenori
485f69e3db Sync with sys/i386/i386/machdep.c revision up to 1.125. 1999-01-16 11:39:08 +00:00
KATO Takenori
eb5417aa3a Sync with sys/i386/i386/machdep.c revision up to 1.322. 1999-01-16 11:38:03 +00:00
KATO Takenori
5b87bd54cf Sync with sys/i386/conf/majors.i386 revision up to 1.64. 1999-01-16 11:36:28 +00:00
Eivind Eklund
a4a4aa0dd9 Add a prototype to silence warnings. 1999-01-12 01:28:00 +00:00
Eivind Eklund
d20a303759 Silence warnings. 1999-01-12 00:36:36 +00:00
John Polstra
f92bdbd010 Switch to using ".So" as the extension for PIC object files rather
than ".so".  The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.
1999-01-09 21:51:00 +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
0cc73f671d Sync with sys/i386/i386/userconfig.c revision up to 1.120. 1999-01-08 16:05:27 +00:00
KATO Takenori
b4d4a2e5d4 Sync with sys/i386/i386/machdep.c revision 1.320. 1999-01-08 16:04:20 +00:00
KATO Takenori
2992a071da Oops, remove duplicate line. 1999-01-08 16:03:11 +00:00
KATO Takenori
904e55d93a Sync with sys/i386/conf/majors.i386 revision 1.60. 1999-01-08 16:02:03 +00:00
KATO Takenori
9ed7b39888 Sync with sys/i386/conf/Makefile.i386 revision 1.133. 1999-01-08 15:59:41 +00:00
KATO Takenori
9faa78835a Sync with sys/i386/conf/options.i386 revision 1.101. 1999-01-04 08:09:15 +00:00
KATO Takenori
f06eb99ea9 Sync with sys/i386/conf/majors.i386 revision 1.59. 1999-01-04 08:08:28 +00:00
KATO Takenori
47badd2e6f Sync with sys/i386/conf/files.i386 revision up to 1.217. 1999-01-04 08:07:47 +00:00
KATO Takenori
d81f52e533 Sync with sys/i386/boot/rawboot/Makefile revision 1.12. 1999-01-04 08:05:55 +00:00
KATO Takenori
5235b94692 Sync with sys/i386/boot/netboot/Makefile revision 1.22. 1999-01-04 08:05:01 +00:00
KATO Takenori
cc44dd6486 Sync with sys/i386/boot/kzipboot/Makefile revision 1.10. 1999-01-04 08:03:17 +00:00
KATO Takenori
c1413f26a7 Sync with sys/i386/boot/biosboot/Makefile revision 1.68. 1999-01-04 08:02:13 +00:00
KATO Takenori
701c68e36b Sync with sys/i386/boot/Makefile.inc revision up to 1.5. 1999-01-04 08:01:04 +00:00
KATO Takenori
4b6b2a8495 Recognize IDE controler even if HDD is not connected.
Submitted by:	IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-01-03 17:26:04 +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
Tim Vanderhoek
28cb15a9a9 Extraneous space. 1999-01-02 17:11:45 +00:00
KATO Takenori
bce191bf65 Enables snd driver. 1998-12-31 11:38:52 +00:00
KATO Takenori
a305035083 Add SMC EtherEZ98 support(PC-98).
Slim up of if_ed98.h.

Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1998-12-31 03:23:39 +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
390d616e16 Sync with sys/i386/isa/pcaudio.c revision 1.45. 1998-12-30 08:08:05 +00:00
KATO Takenori
a498ae6954 Sync with sys/i386/isa/fd.c revision 1.130. 1998-12-30 08:06:41 +00:00
KATO Takenori
7e925cf6b0 Sync with sys/i386/conf/options.i386 revision up to 1.100. 1998-12-30 08:03:03 +00:00
KATO Takenori
93bbb475a1 Sync with sys/i386/conf/majors.i386 revision up to 1.58. 1998-12-30 07:58:42 +00:00
KATO Takenori
f6814477b7 Sync with sys/i386/conf/files.i386 revision up to 1.215. 1998-12-30 07:57:00 +00:00
KATO Takenori
91ebcb74ed Sync with sys/i386/conf/devices.i386 revision 1.15. 1998-12-30 07:51:20 +00:00
KATO Takenori
2e96c09cf7 SMP stuff has been merged into GENERIC98 file. 1998-12-30 07:49:47 +00:00
KATO Takenori
3789d36ef8 Removed GENERICupgrade file. 1998-12-30 07:47:53 +00:00
KATO Takenori
48bd413130 Sync with sys/i386/conf/GENERIC revision up to 1.140. 1998-12-30 07:46:23 +00:00
Søren Schmidt
28706d37a7 Fix breakage by cleanup. 1998-12-27 17:12:02 +00:00
KATO Takenori
0eb3f1fd2f Sync with sys/i386/isa/wd.c revision 1.182. 1998-12-25 09:05:17 +00:00
KATO Takenori
3ab80a8e63 Sync with sys/i386/conf/files.i386 revision 1.207. 1998-12-25 09:04:11 +00:00
KATO Takenori
3bdb02e60a Sync with sys/i386/conf/Makefile.i386 revision 1.132. 1998-12-25 09:03:18 +00:00
KATO Takenori
3f89e59381 Sync with sys/i386/conf/options.i386 revision 1.96. 1998-12-21 09:58:37 +00:00
KATO Takenori
aad7f41eee Sync with sys/i386/conf/Makefile.i386 revision 1.131. 1998-12-21 09:57:42 +00:00
KATO Takenori
57276bc0d3 Sync with sys/i386/isa/clock.c revision 1.129. 1998-12-17 08:54:47 +00:00
KATO Takenori
2da7825a28 The fe driver has been merged into sys/i386/isa/if_fe.c.
Forgotten by:	kato
1998-12-17 08:45:07 +00:00
KATO Takenori
73711314e2 Sync with sys/i386/isa/wd.c revision 1.181. 1998-12-17 08:42:10 +00:00
KATO Takenori
7e2b44203e Sync with sys/i386/isa/npx.c revision 1.64. 1998-12-17 08:41:34 +00:00
KATO Takenori
012291989b Sync with sys/i386/isa/fd.c revision 1.129. 1998-12-17 08:40:36 +00:00
Bruce Evans
4c56fcdead Removed the cast to a pointer in the definition of PS_STRINGS and
adjusted related casts to match (only in the kernel in this commit).
The pointer was only wanted in one place in kern_exec.c.  Applications
should use the kern.ps_strings sysctl instead of PS_STRINGS, so they
shouldn't notice this change.
1998-12-16 16:28:58 +00:00
KATO Takenori
9de1707415 Sync with current sc driver in sys/i386/isa.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-12-16 14:57:38 +00:00
KATO Takenori
4896212043 Oops, I forgot to commit two diffs to fe driver. 1998-12-15 15:56:37 +00:00
KATO Takenori
c2a3601760 Sync with sys/i386/isa/fd.c revision 1.128. 1998-12-14 09:06:23 +00:00
KATO Takenori
ba8d06b9f7 Sync with sys/i386/isa/pcaudio.c revision 1.44. 1998-12-14 08:58:56 +00:00
KATO Takenori
ec16d9c2fc Sync with sys/i386/isa/if_ed.c revision 1.147. 1998-12-14 08:58:12 +00:00
KATO Takenori
82749a0af6 Sync with sys/i386/i386/userconfig.c revision 1.118. 1998-12-14 08:53:32 +00:00
KATO Takenori
dcb6aac9bb Sync with sys/i386/conf/options.i386 revision 1.95. 1998-12-14 08:52:20 +00:00
KATO Takenori
77d493c5b5 Sync with sys/i386/isa/lpt.c revision 1.72. 1998-12-11 08:48:21 +00:00
KATO Takenori
e4a8d41703 Sync with sys/i386/i386/machdep.c revision 1.317. 1998-12-11 08:04:33 +00:00
Eivind Eklund
2ae353f9a7 Rename one of the two devfs_link's to devfs_makelink. 1998-12-10 19:57:01 +00:00
KATO Takenori
d021dab50a Sync with sys/i386/conf/Makefile.i386 revision 1.130. 1998-12-08 08:19:45 +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
5a5f82fc61 Sync with sys/i386/i386/userconfig.c revision 1.117. 1998-12-08 08:17:43 +00:00
Archie Cobbs
f1d19042b0 The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
1998-12-07 21:58:50 +00:00
KATO Takenori
6684a4f19d Sync with sys/i386/isa/fd.c revision 1.125. 1998-12-05 09:24:20 +00:00
KATO Takenori
dae18d3bae Sync with sys/i386/i386/userconfig.c revision 1.116. 1998-12-05 09:22:05 +00:00
KATO Takenori
7d1d31e431 Sync with sys/i386/conf/optins.i386 revision 1.94. 1998-12-05 09:20:53 +00:00
KATO Takenori
0289a3dcbb Sync with sys/i386/conf/SMP-GENERIC revision 1.23. 1998-12-05 09:19:30 +00:00
KATO Takenori
5365b3a408 Sync with sys/i386/conf/GENERIC revision 1.133. 1998-12-05 09:17:31 +00:00
Archie Cobbs
2127f26023 Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
for possible buffer overflow problems. Replaced most sprintf()'s
with snprintf(); for others cases, added terminating NUL bytes where
appropriate, replaced constants like "16" with sizeof(), etc.

These changes include several bug fixes, but most changes are for
maintainability's sake. Any instance where it wasn't "immediately
obvious" that a buffer overflow could not occur was made safer.

Reviewed by:	Bruce Evans <bde@zeta.org.au>
Reviewed by:	Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by:	Mike Spengler <mks@networkcs.com>
1998-12-04 22:54:57 +00:00
KATO Takenori
c31c6a9cce Sync with sys/i386/conf/majors.i386 revision 1.93. 1998-12-04 14:41:32 +00:00
KATO Takenori
7ef0b9d6e5 Sync with sys/i386/conf/majors.i386 revision up to 1.55. 1998-12-04 14:39:29 +00:00
KATO Takenori
9ad861edee - For some old Cyrix CPUs, %cr2 is clobbered by interrupts. This
problem is worked around by using an interrupt gate for the page
   fault handler.  This code was originally made for NetBSD/pc98 by
   Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp> and has already
   been in PC98 tree.  Because of this bug, trap_fatal cannot show
   correct page fault address if %cr2 is obtained in this function.
   Therefore, trap_fatal uses the value from trap() function.
-  The trap handler always enables interruption when buggy application
   or kernel code has disabled interrupts and then trapped.  This code
   was prepared by Bruce Evans <bde@FreeBSD.org>.

Submitted by:	Bruce Evans <bde@FreeBSD.org>
		Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp>
1998-12-02 08:15:17 +00:00
KATO Takenori
2992cdbc3f Sync with sys/i386/isa/isa.c revision 1.117. 1998-12-02 08:04:12 +00:00
KATO Takenori
de693de8e7 Sync with sys/i386/conf/majors.i386 revision up to 1.53. 1998-12-02 08:02:41 +00:00
KATO Takenori
f06a63b4f2 Sync with sys/i386/boot/netboot/Makefile revision 1.21. 1998-11-29 11:55:11 +00:00
KATO Takenori
7adae46cd3 Sync with sys/i386/boot/netboot/Makefile revision 1.20. 1998-11-26 11:47:51 +00:00
KATO Takenori
fcc6e7373f Reorder entries of ed drivers. Many NICs can be automatically
detected, even though a user doesn't disable unused entries with
userconfig.

Submitted by:	Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
1998-11-25 11:00:31 +00:00
KATO Takenori
3bf3b7af20 Cosmetic change. 1998-11-25 10:53:21 +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
KATO Takenori
94563b4513 Sync with sys/i386/boot/biosboot/Makefile revision 1.67. 1998-11-23 07:34:37 +00:00
Archie Cobbs
2b81bbcbef Eliminate compiler warning. 1998-11-21 01:57:48 +00:00
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