Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ofppc/conf Add fdc@isa.
details: https://anonhg.NetBSD.org/src/rev/6b831a2a739e
branches: trunk
changeset: 753007:6b831a2a739e
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sun Mar 14 10:14:14 2010 +0000
description:
Add fdc@isa.
tested on PegasosII.
diffstat:
sys/arch/ofppc/conf/GENERIC | 8 ++++++--
sys/arch/ofppc/conf/files.ofppc | 12 +++++++++++-
2 files changed, 17 insertions(+), 3 deletions(-)
diffs (55 lines):
diff -r c7f259fc7b0a -r 6b831a2a739e sys/arch/ofppc/conf/GENERIC
--- a/sys/arch/ofppc/conf/GENERIC Sun Mar 14 10:03:49 2010 +0000
+++ b/sys/arch/ofppc/conf/GENERIC Sun Mar 14 10:14:14 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.124 2010/03/07 09:39:43 plunky Exp $
+# $NetBSD: GENERIC,v 1.125 2010/03/14 10:14:14 kiyohara Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.124 $"
+#ident "GENERIC-$Revision: 1.125 $"
maxusers 32
@@ -219,6 +219,10 @@
# ISA parallel printer interfaces
lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
+# ISA floppy
+fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
+fd* at fdc? drive ? # the drives themselves
+
# SCSI Controllers and Devices
siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
esiop* at pci? dev ? function ? # Symbios 53c875 SCSI and newer
diff -r c7f259fc7b0a -r 6b831a2a739e sys/arch/ofppc/conf/files.ofppc
--- a/sys/arch/ofppc/conf/files.ofppc Sun Mar 14 10:03:49 2010 +0000
+++ b/sys/arch/ofppc/conf/files.ofppc Sun Mar 14 10:14:14 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.ofppc,v 1.40 2008/04/08 02:33:03 garbled Exp $
+# $NetBSD: files.ofppc,v 1.41 2010/03/14 10:14:14 kiyohara Exp $
#
# NetBSD/ofppc configuration info
#
@@ -112,6 +112,16 @@
include "dev/pckbport/files.pckbport"
+# Floppy disk controller
+device fdc {drive = -1}: isadma
+file dev/isa/fd.c fdc needs-flag
+
+attach fdc at isa with fdc_isa
+file dev/isa/fdc_isa.c fdc_isa
+
+device fd: disk
+attach fd at fdc
+
device cpu
attach cpu at mainbus
file arch/ofppc/ofppc/cpu.c cpu
Home |
Main Index |
Thread Index |
Old Index