resistance is futile, you will be assimilated.

amiga goes: config.new *and* /sys/scsi.
clock code coerced into a single .c file adding an accurate usec delay().
disklabel.c updated to DTRT, code to write RDB's to be added soon.
sbic (old scsi) converted over to new scsi and config this covers about
90% of users.  Other drivers soon.
This commit is contained in:
chopps 1994-05-08 05:52:49 +00:00
parent c9b7e4389f
commit 13a0aa4ee0
2 changed files with 60 additions and 243 deletions

View File

@ -1,77 +1,84 @@
#
# GENERIC AMIGA
#
# $Id: GENERIC,v 1.5 1994/04/22 22:10:26 chopps Exp $
# $Id: GENERIC,v 1.6 1994/05/08 05:52:49 chopps Exp $
#
# This configuration file contains all possible options
#
#
# Architecture type (Required)
#
machine "amiga"
include "std.amiga"
#
# Name this kernel GENERIC (Required)
#
ident GENERIC
maxusers 8
#
# Different CPU types. Must have the correct one defined. (Required)
#
cpu "M68020"
cpu "M68030"
cpu "M68040"
options TIMEZONE=300, DST=1, MAXFDESCS=2048
#
# Add support for about 16 users. This variable is used to size
# various kernel structures.
#
maxusers 16
grfcc0 at mainbus0
grfrt0 at ztwobus0
#
# Set the timezone that the kernel will use. (Required)
#
timezone 5 dst
grf0 at grfcc0
grf1 at grfrt0
#
# Set the maximum number of file descriptors
#
maxfdescs 2048
ite* at grf?
pseudo-device view 10
pseudo-device pty 16
pseudo-device loop
# scsi stuff, all possible
gvpbus0 at ztwobus0
gtsc0 at gvpbus0 # GVP series II scsi
ahsc0 at mainbus0 # A3000 scsi
atzsc0 at ztwobus0
#wstsc0 at ztwobus0 # Wordsync II scsi
#ivsc0 at ztwobus0 # IVS scsi
#mlhsc0 at ztwobus0 # Hacker scsi
#otgsc0 at ztwobus0 # 12 gauge scsi
#zssc0 at ztwobus0 # Zues scsi
#mgnsc0 at ztwobus0 # Magnum scsi
scsibus0 at gtsc0
scsibus1 at ahsc0
scsibus2 at atzsc0
#scsibus2 at wstsc0
#scsibus3 at ivsc0
#scsibus4 at mlhsc0
#scsibus5 at otgsc0
#scsibus6 at zssc0
#scsibus7 at mgnsc0
# any drives on configured controllers.
sd0 at scsibus? target 0 lun 0
sd1 at scsibus? target 1 lun 0
sd2 at scsibus? target 2 lun 0
sd3 at scsibus? target 3 lun 0
sd4 at scsibus? target 4 lun 0
sd5 at scsibus? target 5 lun 0
sd6 at scsibus? target 6 lun 0
st0 at scsibus? target ? lun 0
config netbsd swap generic
#
# The following adds additional floating-point capabilities to
# the MC68040. A subset of the MC6888x instruction set is
# executed by the MC68040 on-chip FPU. The remaining
# floating-point instructions are emulated in software.
# [This should be automatic if cpu is M68040]
#
options FPSP # MC68040 floating point support
options FPCOPROC # Support for MC68881/MC68882 (Required)
#
# Networking options
#
options ETHER # XXXX!!!!
options INET # IP networking support (Required)
options ISO # ISO Networking support
options TPIP # ARGO TP networking support
options CCITT # CCITT X.25
options NS # Xerox XNS
options EON # ISO CLNL over IP
options GATEWAY # Packet forwarding
options DIRECTED_BROADCAST # Broadcast across subnets
options NSIP # XNS over IP
#options CCITT # CCITT X.25
#options NS # Xerox XNS
#options EON # ISO CLNL over IP
#options GATEWAY # Packet forwarding
#options DIRECTED_BROADCAST # Broadcast across subnets
#options NSIP # XNS over IP
#
# File system related options
#
options QUOTA # Disk quotas for local disks
options NFSSERVER # Network File System server side code
options NFSCLIENT # Network File System client side code
#
# Support for various types of filesystems
#
options FFS # Berkeley fast file system
options MFS # Memory based filesystem
options PROCFS # Process filesystem
@ -89,9 +96,7 @@ options VNODEPAGER # Pager for vnodes (Required)
options DEVPAGER # Pager for devices (Required)
#options BANKEDDEVPAGER # Pager for Retina
#
# Compatability options for various existing systems
#
options "COMPAT_09" # fs type binary compatability (name vs number)
options COMPAT_SUNOS # Support to run Sun (m68k) executables
#options HPUXCOMPAT # HP300 compatability
@ -99,219 +104,31 @@ options "COMPAT_43" # 4.3 BSD compatible system calls
options "TCP_COMPAT_42" # Use 4.2 BSD style TCP
options "COMPAT_NOMID" # Support to run nonvalid machine id executables
#
# Support for System V IPC facilities.
#
options SYSVSHM # System V-like shared memory
options SYSVMSG # System V-like messages
options SYSVSEM # System V-like semaphores
#
# Amiga graphics options
#
options GRF_ECS # Enhanced Chip Set
options GRF_NTSC # NTSC
options GRF_PAL # PAL
options "GRF_A2024" # Support for the A2024
#
# Support for various kernel options
#
options KTRACE # Add kernel tracing system call
options PANICWAIT # Require keystroke to dump/reboot
options DIAGNOSTIC # Add additional error checking code
#options DEBUG # Add debugging statements
options DEBUG # Add debugging statements
options SYSCALL_DEBUG # debug all syscalls.
#options SCSIDEBUG # Add SCSI debugging statements
#options KGDB # Kernel debugger (KGDB) support
#options DDB # Kernel debugger
options DDB # Kernel debugger
#options PANICBUTTON # Forced crash via keypress (???)
options "NKMEMCLUSTERS=256" # Size of kernel malloc area
options GENERIC # Mini-root boot support
#options PROFTIMER # Kernel profiling support
#options "PRF_INTERVAL=500" # Clock ticks between profile interrupts
options "PPP_OUTQ_SIZE=4096" # Size of large PPP output queue
#options "PPP_OUTQ_SIZE=4096" # Size of large PPP output queue
options LKM # Loadable kernel modules
#options "KFONT_8X11" # if you would like 8x11 font for the
# cc console instead of 8x8
#options "KFONT_CUSTOM" # if you would like to provide your own
# font in /sys/arch/amiga/dev/kf_custom.c
#
# Build one kernel that can boot from any disk.
#
# Alternate syntax:
# config <kernelname> root on <part> swap on <part> [and <part>]
#
config netbsd swap generic
pseudo-device sl 1 # Serial Line IP (SLIP)
pseudo-device ppp 1 # Point-to-Point Protocol (PPP)
pseudo-device bpfilter 16 # Berkeley packet filter
pseudo-device ite 2 # Bit-mapped display terminal emulator
pseudo-device view 10 # View (graphics mapping)
pseudo-device kbd 1 # Keyboard support
pseudo-device mouse 2 # Mouse support
pseudo-device pty # Pseudo-tty support (Required)
pseudo-device loop # Loopback network (Recommended)
pseudo-device ether # Ethernet support
pseudo-device vn 10 # VN Virtual Filesystem device
#
#The following sections describe various hardware options.
#
#
# Amiga 3000 SCSI support
#
master a3000scsi0 at manufacturer 1 product 1
disk sd0 at a3000scsi0 slave 0
disk sd1 at a3000scsi0 slave 1
disk sd2 at a3000scsi0 slave 2
disk sd3 at a3000scsi0 slave 3
disk sd4 at a3000scsi0 slave 4
disk sd5 at a3000scsi0 slave 5
disk sd6 at a3000scsi0 slave 6
tape st0 at a3000scsi0 slave ?
tape st1 at a3000scsi0 slave ?
#
# A2091 support
#
master a2091scsi0 at manufacturer 514 product 3
disk sd0 at a2091scsi0 slave 0
disk sd1 at a2091scsi0 slave 1
disk sd2 at a2091scsi0 slave 2
disk sd3 at a2091scsi0 slave 3
disk sd4 at a2091scsi0 slave 4
disk sd5 at a2091scsi0 slave 5
disk sd6 at a2091scsi0 slave 6
tape st0 at a2091scsi0 slave ?
tape st1 at a2091scsi0 slave ?
#
# GVP Series II support
#
master gvp11scsi0 at manufacturer 2017 product 11
disk sd0 at gvp11scsi0 slave 0
disk sd1 at gvp11scsi0 slave 1
disk sd2 at gvp11scsi0 slave 2
disk sd3 at gvp11scsi0 slave 3
disk sd4 at gvp11scsi0 slave 4
disk sd5 at gvp11scsi0 slave 5
disk sd6 at gvp11scsi0 slave 6
tape st0 at gvp11scsi0 slave ?
tape st1 at gvp11scsi0 slave ?
#
# PPI Zeus SCSI support
#
master zeusscsi0 at manufacturer 2026 product 150
disk sd0 at zeusscsi0 slave 0
disk sd1 at zeusscsi0 slave 1
disk sd2 at zeusscsi0 slave 2
disk sd3 at zeusscsi0 slave 3
disk sd4 at zeusscsi0 slave 4
disk sd5 at zeusscsi0 slave 5
disk sd6 at zeusscsi0 slave 6
tape st0 at zeusscsi0 slave ?
tape st1 at zeusscsi0 slave ?
#
# Magnum SCSI support
#
master magnumscsi0 at manufacturer 1058 product 17
disk sd0 at magnumscsi0 slave 0
disk sd1 at magnumscsi0 slave 1
disk sd2 at magnumscsi0 slave 2
disk sd3 at magnumscsi0 slave 3
disk sd4 at magnumscsi0 slave 4
disk sd5 at magnumscsi0 slave 5
disk sd6 at magnumscsi0 slave 6
tape st0 at magnumscsi0 slave ?
tape st1 at magnumscsi0 slave ?
#
# CSA 12 gauge support
#
master csa12gscsi0 at manufacturer 1058 product 21
disk sd0 at csa12gscsi0 slave 0
disk sd1 at csa12gscsi0 slave 1
disk sd2 at csa12gscsi0 slave 2
disk sd3 at csa12gscsi0 slave 3
disk sd4 at csa12gscsi0 slave 4
disk sd5 at csa12gscsi0 slave 5
disk sd6 at csa12gscsi0 slave 6
tape st0 at csa12gscsi0 slave ?
tape st1 at csa12gscsi0 slave ?
#
# Supra SCSI support
#
master suprascsi0 at manufacturer 1056 product 12
disk sd0 at suprascsi0 slave 0
disk sd1 at suprascsi0 slave 1
disk sd2 at suprascsi0 slave 2
disk sd3 at suprascsi0 slave 3
disk sd4 at suprascsi0 slave 4
disk sd5 at suprascsi0 slave 5
disk sd6 at suprascsi0 slave 6
tape st0 at suprascsi0 slave ?
tape st1 at suprascsi0 slave ?
#
# IVS SCSI support
#
master ivsscsi0 at manufacturer 2112 product 243
disk sd0 at ivsscsi0 slave 0
disk sd1 at ivsscsi0 slave 1
disk sd2 at ivsscsi0 slave 2
disk sd3 at ivsscsi0 slave 3
disk sd4 at ivsscsi0 slave 4
disk sd5 at ivsscsi0 slave 5
disk sd6 at ivsscsi0 slave 6
tape st0 at ivsscsi0 slave ?
tape st1 at ivsscsi0 slave ?
#
# Common hardware
#
#
# Serial port interface
#
device ser0 at manufacturer 1 product 3
#
# Parallel port interface
#
device par0 at manufacturer 1 product 6
#
# Floppy drive support
#
#master floppy0 at manufacturer 1 product 2
device fd0 at manufacturer 1 product 10
#
# Graphics routines for the AMIGA native custom chip set
#
device grf0 at manufacturer 1 product 7
#
# Graphics routines for the Retina board.
#
device grf1 at manufacturer 18260 product 6
#
# A2410 (currently not working)
#
#device tiga0 at manufacturer 1030 product 0
#
# builtin clock (should all identify as "rtclock")
#
device rtclocka0 at manufacturer 1 product 4 # A3000/A4000
device rtclockb0 at manufacturer 1 product 9 # A2000
#
# ethernet board (AMD 7990 LANCE controller)
#
device le0 at manufacturer ? product ?

View File

@ -1,5 +1,5 @@
# @(#)Makefile.hp300 7.10 (Berkeley) 6/27/91
# $Id: Makefile.amiga,v 1.15 1994/04/16 08:37:50 cgd Exp $
# $Id: Makefile.amiga,v 1.16 1994/05/08 05:52:50 chopps Exp $
#
# Makefile for 4.4 BSD
#