summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2002-12-03 20:20:44 +0000
committersos <sos@FreeBSD.org>2002-12-03 20:20:44 +0000
commit71edc5e4eb36ba021cec4018ead8d4e7bd6d759d (patch)
tree905ab8bf0e6cc6504398fed7db55f39319883169 /sys/pc98
parent9a5da33a40507cd3fd2cebf1aa8999a6cdd27862 (diff)
downloadFreeBSD-src-71edc5e4eb36ba021cec4018ead8d4e7bd6d759d.zip
FreeBSD-src-71edc5e4eb36ba021cec4018ead8d4e7bd6d759d.tar.gz
Add support for the PC98 platform to the ATA driver.
This mostly consists of functionality to serialize accesses to the two ATA channels (which can also be used to "fix" certain PCI based controllers). Add support for Acard controllers. Enable the ATA driver in PC98 GENERIC, and add device hints. Update man page with latest support. The PC98 core team has kindly provided me with a PC98 machine that made this all possible, thanks to all that contributed to that effort, without that this would probably newer have been possible.. Approved by: re@
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/conf/GENERIC12
-rw-r--r--sys/pc98/conf/GENERIC.hints5
2 files changed, 15 insertions, 2 deletions
diff --git a/sys/pc98/conf/GENERIC b/sys/pc98/conf/GENERIC
index d822edf..5559e3d 100644
--- a/sys/pc98/conf/GENERIC
+++ b/sys/pc98/conf/GENERIC
@@ -78,11 +78,19 @@ options COMPAT_OLDISA # Old ISA driver shims
# Floppy drives
device fdc
+# ATA and ATAPI devices
+device ata
+device atadisk # ATA disk drives
+device atapicd # ATAPI CDROM drives
+device atapifd # ATAPI floppy drives
+device atapist # ATAPI tape drives
+options ATA_STATIC_ID # Static device numbering
+
# IDE controller and disks
-device wdc 1
+#device wdc 1
# ATAPI devices on wdc
-device wcd 1 #IDE CD-ROM
+#device wcd 1 #IDE CD-ROM
#device wfd 1 #IDE Floppy (e.g. LS-120)
#device wst 1 #IDE Tape (e.g. Travan)
diff --git a/sys/pc98/conf/GENERIC.hints b/sys/pc98/conf/GENERIC.hints
index b33e8e9..5ccb8f9 100644
--- a/sys/pc98/conf/GENERIC.hints
+++ b/sys/pc98/conf/GENERIC.hints
@@ -1,4 +1,9 @@
# $FreeBSD$
+
+hint.atacbus.0.at="isa"
+hint.atacbus.0.port="0x640"
+hint.atacbus.0.irq="9"
+
hint.fdc.0.at="isa"
hint.fdc.0.port="0x090"
hint.fdc.0.irq="11"
OpenPOWER on IntegriCloud