From 6562508c4b9d57e7d329f13df15a4dd769507d49 Mon Sep 17 00:00:00 2001 From: pooka Date: Wed, 8 May 2002 13:52:17 +0000 Subject: [PATCH] Make INDY the Indy config file Add DRAKEN as a model of what to do with the O2 (effectively the same file as the old INDY) --- sys/arch/sgimips/conf/DRAKEN | 103 +++++++++++++++++++++++++++++++++++ sys/arch/sgimips/conf/INDY | 63 ++++++--------------- 2 files changed, 121 insertions(+), 45 deletions(-) create mode 100644 sys/arch/sgimips/conf/DRAKEN diff --git a/sys/arch/sgimips/conf/DRAKEN b/sys/arch/sgimips/conf/DRAKEN new file mode 100644 index 000000000000..0eb048b7fadc --- /dev/null +++ b/sys/arch/sgimips/conf/DRAKEN @@ -0,0 +1,103 @@ +# $NetBSD: DRAKEN,v 1.1 2002/05/08 13:52:17 pooka Exp $ +# +# O2 + +include "arch/sgimips/conf/std.sgimips" + +#options INCLUDE_CONFIG_FILE # embed config file in kernel binary + +makeoptions TEXTADDR=0x80069000 # O2 + +maxusers 32 + +#options SYSCALL_DEBUG +#options PARANOIADIAG + +#options PCI_CONFIG_DUMP + +options SCSI_DELAY=0 + +options IP32 # this is required for an O2 + +#options MIPS1 +options MIPS3 +options MIPS3_L2CACHE_ABSENT +#options MIPS3_L2CACHE_PRESENT +options MIPS3_5200 # XXX + +#options MEMORY_DISK_HOOKS +#options MEMORY_DISK_IS_ROOT +#options MEMORY_DISK_SERVER=0 +#options MEMORY_DISK_ROOT_SIZE=8192 + +options KTRACE +#options USERCONF # userconf(4) support +#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) + +options DDB +options DDB_HISTORY_SIZE=100 +options DEBUG +options DIAGNOSTIC +makeoptions DEBUG="-g" + +#options EXEC_ECOFF + +file-system FFS +file-system NFS +file-system MFS +file-system KERNFS +file-system PROCFS + +options SOFTDEP + +options FFS_EI + +options INET + +options SCSIVERBOSE + +options NFS_BOOT_DHCP +#options NFS_BOOT_BOOTPARAM + +config netbsd root on ? type ? + +mainbus0 at root +cpu0 at mainbus0 + +# O2 +crime0 at mainbus0 addr 0x14000000 +mace0 at mainbus0 addr 0x1f000000 +macepci0 at mace0 offset 0x080000 intr 7 +pci0 at macepci0 bus 0 +mec0 at mace0 offset 0x280000 intr 3 +pckbc0 at mace0 offset 0x320000 intr 5 +lpt0 at mace0 offset 0x380000 intr 4 +com0 at mace0 offset 0x390000 intr 4 +com1 at mace0 offset 0x398000 intr 4 +mcclock0 at mace0 offset 0x3a0000 +tlp* at pci? dev ? function ? +ne* at pci? dev ? function ? +fxp* at pci? dev ? function ? +inphy* at mii? phy ? +nsphy* at mii? phy ? +ahc0 at pci0 dev 1 function ? +ahc1 at pci0 dev 2 function ? +scsibus0 at ahc0 channel ? +#scsibus1 at ahc1 channel ? +sd* at scsibus? target ? lun ? +cd* at scsibus? target ? lun ? + +#pckbd* at pckbc? +#pms* at pckbc? +#pmsi* at pckbc? +#wskbd* at pckbd? console ? +#wsmouse* at pms? mux 0 +#wsmouse* at pmsi? mux 0 +#wsdisplay* at foofb? console ? + +pseudo-device loop +pseudo-device pty +pseudo-device bpfilter 8 +pseudo-device vnd 4 +#pseudo-device md 1 +pseudo-device rnd diff --git a/sys/arch/sgimips/conf/INDY b/sys/arch/sgimips/conf/INDY index e5216dcaa65b..a56a1c0ac5cf 100644 --- a/sys/arch/sgimips/conf/INDY +++ b/sys/arch/sgimips/conf/INDY @@ -1,4 +1,6 @@ -# $NetBSD: INDY,v 1.17 2002/05/04 20:06:49 pooka Exp $ +# $NetBSD: INDY,v 1.18 2002/05/08 13:52:17 pooka Exp $ +# +# Indy include "arch/sgimips/conf/std.sgimips" @@ -6,8 +8,8 @@ include "arch/sgimips/conf/std.sgimips" # XXX _LOW _HOW og/eller TEXTADDR -makeoptions TEXTADDR=0x80069000 # O2 -#makeoptions TEXTADDR=0x88069000 # Indy +#makeoptions TEXTADDR=0x80069000 # O2 +makeoptions TEXTADDR=0x88069000 # Indy #makeoptions TEXTADDR=0x8001c000 # IP27 #makeoptions TEXTADDR=0x80300000 # IP27 Symmon @@ -67,53 +69,24 @@ config netbsd root on ? type ? mainbus0 at root cpu0 at mainbus0 -# O2 -crime0 at mainbus0 addr 0x14000000 -mace0 at mainbus0 addr 0x1f000000 -macepci0 at mace0 offset 0x080000 intr 7 -pci0 at macepci0 bus 0 -mec0 at mace0 offset 0x280000 intr 3 -pckbc0 at mace0 offset 0x320000 intr 5 -lpt0 at mace0 offset 0x380000 intr 4 -com0 at mace0 offset 0x390000 intr 4 -com1 at mace0 offset 0x398000 intr 4 -mcclock0 at mace0 offset 0x3a0000 -tlp* at pci? dev ? function ? -ne* at pci? dev ? function ? -fxp* at pci? dev ? function ? -inphy* at mii? phy ? -nsphy* at mii? phy ? -ahc0 at pci0 dev 1 function ? -ahc1 at pci0 dev 2 function ? -scsibus0 at ahc0 channel ? -#scsibus1 at ahc1 channel ? -sd* at scsibus? target ? lun ? -cd* at scsibus? target ? lun ? - -#pckbd* at pckbc? -#pms* at pckbc? -#wskbd* at pckbd? console ? -#wsmouse* at pms? mux 0 -#wsdisplay* at foofb? console ? - # Indy -#imc0 at mainbus0 addr 0x1fa00000 -#gio0 at imc0 -#eisa0 at imc0 +imc0 at mainbus0 addr 0x1fa00000 +gio0 at imc0 +eisa0 at imc0 -#hpc0 at gio? addr 0x1fb80000 -#hpc1 at gio? addr 0x1fb00000 -#hpc2 at gio? addr 0x1f980000 -#sq0 at hpc0 # net 0 -#sbic0 at hpc0 # hd 0 -#sbic1 at hpc0 # hd 1 +hpc0 at gio? addr 0x1fb80000 +hpc1 at gio? addr 0x1fb00000 +hpc2 at gio? addr 0x1f980000 +sq0 at hpc0 # net 0 +sbic0 at hpc0 # hd 0 +sbic1 at hpc0 # hd 1 -#zsc* at hpc0 # pbus0 device ? -#zstty* at zsc? channel ? +zsc* at hpc0 # pbus0 device ? +zstty* at zsc? channel ? -#pbus0 at hpc0 +pbus0 at hpc0 -#pckbc0 at pbus0 device ? +pckbc0 at pbus0 device ? pseudo-device loop