KATO Takenori
1964ed8cde
Synchronize with sys/i386/isa/wd.c revision 1.128.
1997-04-04 15:22:59 +00:00
KATO Takenori
a7379b84f5
Removed <mv/lock.h> and <mv/vm_map.h>.
1997-04-03 09:59:03 +00:00
KATO Takenori
8c5ac22f9b
Synchronize with sys/i386/confi/files.i386 revision 1.158.
1997-04-03 09:55:26 +00:00
David Greenman
9caaadb63a
Changed the way that the exec image header is read to be filesystem-
...
centric rather than VM-centric to fix a problem with errors not being
detectable when the header is read.
Killed exech_map as a result of these changes.
There appears to be no performance difference with this change.
1997-03-31 11:11:26 +00:00
KATO Takenori
529016f9e7
Synchronize with sys/i386/conf/GENERIC revision 1.89.
1997-03-31 08:27:05 +00:00
KATO Takenori
f37dd3ba03
Synchronize with sys/i386/i386/machdep.c revision 1.233.
1997-03-29 02:48:49 +00:00
KATO Takenori
66b1f423ac
Synchronize with sys/i386/isa/syscons.c revision 1.207.
1997-03-29 02:46:28 +00:00
KATO Takenori
a07ac8e453
Synchronize with sys/i386/isa/isa.c revision 1.80.
1997-03-29 02:43:49 +00:00
KATO Takenori
e0762592a1
Synchronize with sys/i386/i386/machdep.c revision 1.232.
1997-03-26 07:03:30 +00:00
KATO Takenori
a8032951a0
Fixed reset port address for PC-9801-108 card.
1997-03-25 10:06:41 +00:00
KATO Takenori
e41d6d04fc
Synchronize with sys/i386/isa/isa.c revision 1.79.
1997-03-25 10:04:50 +00:00
Bruce Evans
3a32c6706b
Don't include <sys/ioctl.h> in the kernel. Stage 9: same changes
...
in pc98 as in isa.
1997-03-24 12:29:48 +00:00
KATO Takenori
507cf9c96e
Merge PC-98 code int i386/isa/ft.c.
1997-03-24 07:20:35 +00:00
KATO Takenori
d1dd81c99f
Fixed corrupted CFLAGS definition. (Deleted harmful backslash.)
...
Submitted by: H. Nokubi <h-nokubi@nmit.mt.nec.co.jp>
1997-03-24 02:38:48 +00:00
Bruce Evans
fe10481de8
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
...
Fixed everything that depended on getting fcntl.h stuff from the wrong
place. Most things don't depend on file.h stuff at all.
1997-03-23 03:49:00 +00:00
KATO Takenori
4c024bbdf8
Improved CPU identification and initialization routines. This
...
supports All Cyrix CPUs, IBM Blue Lightning CPU and NexGen (now AMD)
Nx586 CPU, and initialize special registers of Cyrix CPU and msr of
IBM Blue Lightning CPU.
If revision of Cyrix 6x86 CPU < 2.7, CPU cache is enabled in
write-through mode. This can be disabled by kernel configuration
options.
Reviewed by: Bruce Evans <bde@freebsd.org> and
Jordan K. Hubbard <jkh@freebsd.org>
1997-03-22 18:54:54 +00:00
KATO Takenori
2f284f07f8
Synchronize with sys/i386/conf/files.i386 revision 1.156.
1997-03-19 16:14:25 +00:00
KATO Takenori
3abc0e5cd9
Synchronize with sys/i386/boot/biosboot/sys.c revision 1.19.
1997-03-16 10:57:54 +00:00
KATO Takenori
dfbc54730c
Synchronize with sys/i386/conf/GNERIC revision up to 1.88.
1997-03-15 15:58:43 +00:00
KATO Takenori
38f8e5fbc7
Synchronize with sys/i386/i386/userconfig.c revision 1.85.
1997-03-15 15:44:05 +00:00
KATO Takenori
904385e65b
Synchornize with sys/i386/conf/options.i386 revision 1.37.
1997-03-13 17:04:23 +00:00
KATO Takenori
b5ff11dbb6
Synchronize with sys/i386/isa/wd.c revision 1.126.
1997-03-13 17:00:27 +00:00
KATO Takenori
77fd6eeaf8
Synchronize with sys/i386/boot/biosboot/boot.c revision 1.64.
1997-03-13 16:58:15 +00:00
KATO Takenori
c4d420eee3
Added `\' (backslash) at the end of line in the CFLAGS definition.
...
Submitted by: H. Nokubi <h-nokubi@nmit.mt.nec.co.jp>
1997-03-13 02:04:47 +00:00
KATO Takenori
078e650eb4
Synchronize with sys/i386/i386/userconfig.c revision 1.84.
1997-03-11 16:19:55 +00:00
KATO Takenori
ef5c2a7815
Synchronize with sys/i386/conf/majors.i386 revision 1.14.
1997-03-11 16:18:08 +00:00
KATO Takenori
593b35ace1
Synchronize with sys/i386/boot/biosboot/Makefile revision 1.55.
1997-03-08 15:46:59 +00:00
KATO Takenori
b95c15c20f
Added missing i8251 code.
...
Submitted by: H. Nokubi <h-nokubi@nmit.mt.nec.co.jp>
1997-03-06 15:07:04 +00:00
KATO Takenori
85c57124b2
Synchronize with sys/i386/isa/clock.c revision 1.79.
1997-03-05 16:19:48 +00:00
KATO Takenori
5db523b1d5
Fixed devfs code. Old code remained in pc98 tree.
...
Submitted by: URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>
1997-03-04 06:39:02 +00:00
KATO Takenori
541de8d9a5
Synchronize with sys/i386/isa/syscons.c revision 1.205.
1997-03-04 06:25:54 +00:00
KATO Takenori
7f247c74a9
Synchronize with sys/i386/conf/options.i386 revision 1.36.
1997-03-01 11:06:41 +00:00
KATO Takenori
070c946661
Synchronize with sys/i386/isa/syscons.c up to revision 1.204.
1997-03-01 10:53:07 +00:00
KATO Takenori
f3af5d6cd0
Synchronize with sys/i386/i386/machdep.c revision 1.229.
1997-02-25 16:36:48 +00:00
Peter Wemm
6875d25465
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not
...
ready for it yet.
1997-02-22 09:48:43 +00:00
KATO Takenori
655c4c9dab
Synchronize with sys/i386/isa/wd.c revision 1.124.
1997-02-19 13:19:08 +00:00
KATO Takenori
b18cdf97dd
Synchronize with sys/i386/boot/biosboot/boot.h revision 1.16.
1997-02-19 13:06:03 +00:00
KATO Takenori
def9b7665d
Synchronize with sys/i386/isa/syscons.c revision 1.201.
1997-02-13 18:43:50 +00:00
KATO Takenori
8ea8b7549d
Synchronize with sys/i386/boot/biosboot/boot.c revision 1.62.
1997-02-13 18:41:03 +00:00
KATO Takenori
2f0fdf5504
Added check routine for memory window configuration. The probe
...
routine of C-NET(98) returns 0 when isa_dev->id_maddr == 0 or
isa_dev->id_msize == 0.
1997-02-12 13:39:24 +00:00
KATO Takenori
39a0888f8a
Added memory addres and size of d8 (C-NET(98) network card).
1997-02-12 13:32:58 +00:00
KATO Takenori
1c3ae72914
Deleted prototypes. They are in pc98_machdep.h.
1997-02-11 14:59:54 +00:00
KATO Takenori
33a262b0dc
Synchronize with sys/i386/isa/if_ed.c revision 1.114.
1997-02-11 13:55:36 +00:00
KATO Takenori
512b30df54
Synchronize with sys/i386/conf/majors.i386 revision 1.12.
1997-02-11 13:54:44 +00:00
KATO Takenori
6ed46f82d8
Synchronize with Lite/2 commit: i386/i386/machdep.c, i386/i386/trap.c,
...
i386/isa/fd.c and i386/isa/wd.c revisions 1.227, 1.87, 1.96 and 1.123,
respectively.
1997-02-10 11:53:20 +00:00
KATO Takenori
77720af4dd
Replaced hardcoded unit number with ftu.
1997-02-08 09:59:27 +00:00
KATO Takenori
5007dce7da
Synchronize with sys/i386/conf/majors.i386 revision 1.11.
1997-02-08 07:39:07 +00:00
KATO Takenori
15466e1892
Moved macros which are related to BIOS work area from pc98.h
...
(corresponds to isa.h) to pc98_machdep.h.
1997-02-07 19:07:43 +00:00
KATO Takenori
f97a606a78
Enabled pccard code which was disabled by mistake.
...
Reminded by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-02-07 19:02:41 +00:00
KATO Takenori
8716a6359b
Deleted ioskip member of the structure pc98_edregister. The member
...
port is always used for accessing PAR and MAR instead of constant
interval of I/O address.
1997-02-06 14:16:52 +00:00
KATO Takenori
a43de6bdb2
Cosmetic change. Sorted by function, added `1997' to copyright
...
notice, and added comment.
1997-02-06 13:38:04 +00:00
KATO Takenori
487c0bf139
Changed document encoding system from JIS X 0208 to EUC.
1997-02-05 16:52:51 +00:00
KATO Takenori
ed39d36d27
Moved PC-98 routine in sd_get_parms() to pc98_machdep.c.
1997-02-04 22:27:09 +00:00
KATO Takenori
860f44565e
Changed return value of ed_probe (= number of I/O ports). Because
...
I/O port address of most devices is not contiguos, a return value of
probe routine is not so useful for detecting conflict. The return
value was too big, and kernel sometimes detected conflict even though
two devices are not conflict in I/O address between them.
Suggested by: Chiharu Shibata <chi@rd.njk.co.jp>
1997-02-03 14:19:01 +00:00
KATO Takenori
59e8efa110
Synchronize with sys/i386/isa/sio.c revision 1.158.
1997-02-02 08:09:41 +00:00
KATO Takenori
b8586e15da
- KNFized pc98 specific files.
...
- Disabled unuseinit_cpu_accel_mem() which doesn't work now.
- Deleted extra space at the end of line.
1997-01-31 17:38:58 +00:00
KATO Takenori
7546bbf82e
Synchronize with sys/i386/isa/syscons.c revision 1.200.
1997-01-31 11:24:01 +00:00
KATO Takenori
0e5d7a6941
Synchronize with sys/i386/i386/locore.s revision 1.80.
1997-01-31 11:23:18 +00:00
KATO Takenori
da2c67c4aa
Synchronize with sys/i386/isa/sio.c revision 1.157.
1997-01-30 10:48:06 +00:00
KATO Takenori
d44a313ca1
Synchronize with sys/i386/isa/npx.c revision 1.38.
1997-01-30 10:45:36 +00:00
KATO Takenori
d3e1120fab
Synchronize with sys/i386/isa/clock.c revision 1.75.
1997-01-30 10:44:05 +00:00
KATO Takenori
b3136a8709
Fixed reset port address of PC-9801-108.
...
Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
1997-01-29 12:42:41 +00:00
KATO Takenori
d00c34d948
Synchronize with sys/i386/conf/options.i386 revision 1.34.
1997-01-28 13:10:22 +00:00
KATO Takenori
6d5d69845a
Change default I/O recovery time for Cyrix 5x86 to 0. The BIOS
...
Writers Guide mentions that IORT should be 0 for errata fix.
1997-01-25 10:37:03 +00:00
KATO Takenori
1817f78ea0
Synchronize with sys/i386/i386/machdep.c rev. 1.226.
1997-01-25 06:42:19 +00:00
KATO Takenori
d8750fa79b
Synchronize with sys/i386/isa/syscons.{c,h} rev. 1.199 and 1.27,
...
respectively.
1997-01-25 06:38:14 +00:00
KATO Takenori
2410185246
Synchronize with sys/i386/isa/if_fe.c rev. 1.26.
1997-01-25 06:33:24 +00:00
KATO Takenori
30fcb6026c
Synchronize with sys/i386/i386/trap.c revision 1.86.
1997-01-23 08:39:59 +00:00
KATO Takenori
2ffc5777b7
Synchronize with sys/i386/isa/syscons.c revision 1.198.
1997-01-21 07:11:14 +00:00
KATO Takenori
7aa571fe7e
Synchronize with sys/i386/isa/syscons.c revision 1.197.
1997-01-20 12:26:04 +00:00
KATO Takenori
86c07de1d7
Synchronize with sys/i386/isa/syscons.c revision 1.196.
1997-01-19 07:46:28 +00:00
KATO Takenori
f533d5bfe1
Re-construct PC-98 code of device_infor[] entries. Enabled all
...
devices which was #ifndef PC98'ed. This makes diff small between
i386/i386/userconfig.c and pc98/i386/userconfig.c.
1997-01-18 15:59:46 +00:00
KATO Takenori
c59a3dbd01
- Changed retry count from 1000000 to 10000 (same as IBM-PC's).
...
- Deleted unnecessary DELAY().
- Deleted space character at the end of line.
1997-01-18 15:51:43 +00:00
KATO Takenori
75ef4c3a5a
Synchronize with sys/i386/conf/files.i386 (revision 1.151).
1997-01-18 10:29:55 +00:00
KATO Takenori
58e44cc813
Synchronize with sys/i386/isa/syscons.c (revision 1.195).
1997-01-18 10:26:43 +00:00
KATO Takenori
b1c7657eef
Synchronize with sys/i386/isa/clock.c (revision 1.74).
1997-01-18 10:25:04 +00:00
KATO Takenori
ece9035f43
Synchronize with sys/i386/i386/machdep.c (revision 1.225).
1997-01-18 10:21:45 +00:00
KATO Takenori
caff639262
Synchronize with sys/i386/i386/userconfig.s (revision 1.82).
1997-01-18 10:16:02 +00:00
KATO Takenori
9124cd1f10
Disabled LPC_ENA related I/O access. This I/O access clobbers i8255
...
mode register on PC98.
1997-01-17 14:43:34 +00:00
KATO Takenori
66548b7ce9
Synchronize with followings:
...
sys/i386/conf/files.i386 revision 1.149
sys/i386/conf/options.i386 revision 1.33
sys/i386/isa/if_fe.c revision 1.25
sys/i386/isa/syscons.c revision 1.194
sys/i386/isa/syscons.h revision 1.26
1997-01-16 14:50:17 +00:00
KATO Takenori
0c6d0cce02
Re-enable ds_subtype, and ds_name (included in #ifdef PC98).
...
Userland programs which access partition information require
ds_subtype and ds_name on PC98.
1997-01-16 05:27:10 +00:00
KATO Takenori
8df4619996
Synchronize with sys/i386/isa/if_ed.c revision 1.112 and
...
sys/i386/isa/if_fe.c revision 1.23 (new if_multiaddrs list).
1997-01-14 12:37:32 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
KATO Takenori
14c138a505
Synchronize with sys/i386/i386/userconfig.c revision 1.80.
1997-01-13 12:32:09 +00:00
KATO Takenori
97fcf1ddb2
Fix typo.
1997-01-11 08:59:45 +00:00
KATO Takenori
079e6754a1
Change initialize routine of Cyrix 5x86 CPU.
...
- Turn off BTB (Branch Target Buffer) because the BTB makes system
unstable on some machines. The BTB feature can be enabled if
"options BTB_EN" is added in kernel a configuration file.
- Change comment.
- Reorder `orb XX,%al's.
- Reset NMI F/F (mask NMI) before setting registers, and set it after
setting them. Normally, this change has no effect.
1997-01-11 07:14:35 +00:00
KATO Takenori
af4342c037
Staticize the functions rtc_inb, rtc_outb, rtc_serialcombit, and
...
rtc_serialcom. These functions are only used by PC98.
1997-01-10 17:11:09 +00:00
KATO Takenori
be832e6c07
Synchronize with sys/i386/isa/ft.c revision 1.29 (fix ft driver
...
panics).
1997-01-10 06:50:47 +00:00
KATO Takenori
fbb488e831
Synchronize with sys/i386/isa/isa.c rev. 1.75.
1997-01-09 13:13:38 +00:00
KATO Takenori
a4e2f35f5a
Synchronize with sys/i386/isa/npx.c revision 1.36 (reenable
...
i586_optimized_copyin/out).
1997-01-05 05:05:43 +00:00
KATO Takenori
c6ee180260
Fix collapse code included in #ifdef WDDEBUG: add `;' at the end of the
...
line, and `"' at the end of first argument of printf().
Submitted by: Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
1997-01-04 20:13:41 +00:00
KATO Takenori
d01d65d47a
Fix cursor address calculation.
...
Submitted by: Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
1997-01-04 18:02:18 +00:00
KATO Takenori
55c32b9f4f
Delete collapse code to avoid overflow of the number of cylinders.
...
This should be in 2.2 after src/sys/i386/isa/wdreg.h revsion 1.15
(short -> u_short change) is merged.
1997-01-04 10:57:45 +00:00
KATO Takenori
0000fd92fd
(1) Change iomem of SMIT transfer mode from 0xdd000 (BIOS ROM base
...
address+0x1000) into 0xdc000 (BIOS ROM base address).
(2) Add sample line for Logitec LHA-20x SCSI card.
(3) Change I/O port address of ed8 (C-NET(98) card) from 0x00d0 into
0x03d0 (vendor default).
Submitted by: Michio "Karl" Jibo <karl@marcer.nagaokaut.ac.jp>
1997-01-04 09:01:57 +00:00
KATO Takenori
d3191c67bf
Clean-up.
...
Submitted by: Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
1997-01-04 08:32:33 +00:00
KATO Takenori
f825359008
Staticize dma_bouncebuf. This variable was kept global because sbic
...
driver used it. The sbic driver has been obsoleted now, so the
variable can be static as that in isa.c.
This is a 2.2 candidate.
1997-01-04 06:48:28 +00:00
KATO Takenori
1cd7883776
Correct I/O port address table for ELECOM LD-BDN ethernet card.
...
Should be in 2.2.
1997-01-04 06:42:43 +00:00
KATO Takenori
a2aded7b8e
Add `#ifdef PC98' to include PC98-specific code. Add declaration of the
...
function rtc_outb().
This is a 2.2 candidate.
1997-01-04 06:38:46 +00:00
KATO Takenori
674d08dbc0
Oops, delete extra push %edi and push %esi in memsize().
...
Submitted by: Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
1997-01-03 16:21:08 +00:00
KATO Takenori
c4948ba6a1
Change IMR of master PIC from 0x7f into 0xff in isa_defaultirq().
...
This is a 2.2 candidate.
1997-01-03 07:45:41 +00:00