b89a3425b7
Eliminate obsolete global kernel variable "struct timezone tz" Add RTC_OFFSET option Add global kernel variable rtc_offset, which is initialized by RTC_OFFSET at kernel compile time. on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many minutes west (east) of GMT the hardware RTC runs. Defaults to 0. Places where tz variable was used to indicate this in the past have been replaced with rtc_offset. Add sysctl interface to rtc_offset. Kill obsolete DST_* macros in sys/time.h gettimeofday now always returns zeroed timezone if zone is requested. settimeofday now ignores and logs attempts to set non-existant kernel timezone.
214 lines
5.4 KiB
Plaintext
214 lines
5.4 KiB
Plaintext
#
|
|
# RC7500 - Config for the VLSI RC7500 board
|
|
#
|
|
|
|
include "arch/arm32/conf/std.arm32"
|
|
|
|
# estimated number of users
|
|
|
|
maxusers 32
|
|
|
|
# Standard system options
|
|
|
|
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
|
options SWAPPAGER # paging; REQUIRED
|
|
options VNODEPAGER # mmap() of files
|
|
options DEVPAGER # mmap() of devices
|
|
|
|
# CPU options
|
|
|
|
options RC7500 # ARM7500
|
|
options CPU_ARM7500
|
|
options CPU_ARM7
|
|
#options CPU_ARM6
|
|
options CPU_LATE_ABORT # ARM7XX compatibility
|
|
|
|
# FPA options
|
|
|
|
#options FPE # Single precision FPE
|
|
options ARMFPE # ARM Ltd FPE
|
|
|
|
# File system options
|
|
|
|
options FFS # UFS
|
|
#options QUOTA # UFS quotas
|
|
#options LFS # log-structured file system
|
|
#options MFS # memory file system
|
|
|
|
options CD9660 # ISO 9660 + Rock Ridge file system
|
|
options MSDOSFS # MS-DOS file system
|
|
options FDESC # /dev/fd
|
|
options FIFO # FIFOs; RECOMMENDED
|
|
options KERNFS # /kern
|
|
#options NULLFS # loopback file system
|
|
#options PORTAL # ?
|
|
options PROCFS # /proc
|
|
#options UMAPFS # NULLFS + uid and gid remapping
|
|
#options UNION # union file system
|
|
|
|
# Networking options
|
|
|
|
options NFSCLIENT
|
|
options NFSSERVER
|
|
options GATEWAY # packet forwarding
|
|
options INET # IP + ICMP + TCP + UDP
|
|
#options NS # XNS
|
|
#options ISO,TPIP # OSI
|
|
#options EON # OSI tunneling over IP
|
|
#options CCITT,LLC,HDLC # X.25
|
|
|
|
# Compatibility options
|
|
|
|
options COMPAT_43 # 4.3BSD compatibility.
|
|
options COMPAT_12 # NetBSD 1.2 compatibility.
|
|
#options COMPAT_11 # NetBSD 1.1 compatibility.
|
|
#options COMPAT_10 # NetBSD 1.0 compatibility.
|
|
#options COMPAT_09 # NetBSD 0.9 compatibility.
|
|
#options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
|
|
|
|
# Shared memory options
|
|
|
|
options SYSVMSG # System V-like message queues
|
|
options SYSVSEM # System V-like semaphores
|
|
options SYSVSHM # System V-like memory sharing
|
|
options SHMMAXPGS=1024 # 1024 pages is the default
|
|
|
|
# Device options
|
|
|
|
#options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
|
#options MEMORY_DISK_SIZE=0 # Size in KBytes
|
|
#options PLIP # Build plip device into lpt driver
|
|
|
|
# Development options
|
|
|
|
options MOUSE_IOC_ACK # acknowledge state change ioctls
|
|
#options DIAGNOSTIC # internally consistency checks
|
|
options PROFILE_ASM # when profiling, profile asm functions
|
|
options KTRACE # system call tracing, a la ktrace(1)
|
|
#options IRQSTATS # IRQ statistics
|
|
options POSTMORTEM # perform postmortem on panic
|
|
#options ROTTEN_INNARDS # show the gory bit of the postmortem
|
|
options KSHELL # kernel developemnt shell (debug)
|
|
options LKM # loadable kernel modules
|
|
#options DEBUGTERM # create a debug console
|
|
#options IPKDB # remote kernel debugging
|
|
options DDB # in-kernel debugger
|
|
#makeoptions DEBUG="-g" # compile full symbol table
|
|
|
|
#options PROM_DEBUG # Used for bootstrap debugging the RC7500
|
|
|
|
config netbsd swap generic
|
|
options GENERIC
|
|
|
|
# The main bus device
|
|
mainbus0 at root
|
|
|
|
# The boot cpu
|
|
cpu0 at mainbus?
|
|
|
|
# The IOMD
|
|
iomd0 at mainbus?
|
|
|
|
# The vidc
|
|
vidcvideo0 at mainbus?
|
|
|
|
# generic VT console device
|
|
vt0 at mainbus?
|
|
vt1 at mainbus?
|
|
vt2 at mainbus?
|
|
vt3 at mainbus?
|
|
vt4 at mainbus?
|
|
vt5 at mainbus?
|
|
|
|
# IDE disk controller
|
|
#wdc0 at mainbus? base 0x002107c0 irq 9
|
|
wdc0 at mainbus? base 0x0022B000 irq 23
|
|
wd* at wdc? drive ?
|
|
|
|
# Floppy disk controller
|
|
fdc0 at mainbus? base 0x00210fc0 irq 12 dack 0x00002000
|
|
fd0 at fdc? drive ?
|
|
fd1 at fdc? drive ?
|
|
|
|
# kbd via IOMD
|
|
kbd0 at mainbus? base 0x00000000
|
|
|
|
# pms mouse
|
|
pms0 at mainbus? base 0x00000000 irq 24
|
|
|
|
# quadrature mouse
|
|
#quadmouse0 at mainbus? base 0x00000000
|
|
|
|
# Serial ports
|
|
com0 at mainbus? base 0x00210fe0 irq 13
|
|
#com1 at mainbus? base 0x00210be0
|
|
|
|
# Parallel ports; requires INET
|
|
lpt0 at mainbus? base 0x002109e0 irq 0
|
|
|
|
#
|
|
# RC7500 companded audio device
|
|
#
|
|
#vidcaudio0 at mainbus? base 0x00000000
|
|
|
|
# Crude sound device
|
|
#beep0 at mainbus? base 0x00000000 irq 31
|
|
|
|
# IIC bus device
|
|
iic0 at mainbus?
|
|
|
|
# RTC device
|
|
rtc0 at iic? addr 0xa0
|
|
|
|
# Podule bus device
|
|
#podulebus0 at root
|
|
|
|
#asc* at podulebus? # Acorn SCSI card
|
|
#scsibus* at asc?
|
|
|
|
#csc* at podulebus? # Cumana SCSI II card
|
|
#scsibus* at csc?
|
|
|
|
#ptsc* at podulebus? # Power-Tec SCSI II card
|
|
#scsibus* at ptsc?
|
|
|
|
#oak* at podulebus? # Oak SCSI I card
|
|
#scsibus* at oak?
|
|
|
|
#sd* at scsibus? target ? lun ? # SCSI disk drives
|
|
#st* at scsibus? target ? lun ? # SCSI tape drives
|
|
#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
|
#ch* at scsibus? target ? lun ? # SCSI auto-changers
|
|
#uk* at scsibus? target ? lun ? # SCSI unknown device
|
|
#ss* at scsibus? target ? lun ? # SCSI scanner
|
|
|
|
#kie* at podulebus? slot ? offset ?
|
|
|
|
#eb* at podulebus? # EtherB network slot cards
|
|
#ea0 at podulebus? # Ether3 podules
|
|
#eh0 at podulebus? # EtherH network slot cards
|
|
#ie* at podulebus? # Ether1 podules
|
|
|
|
es0 at mainbus? base 0x0022B800 irq 11 # On board SMC 91C92 ethernet controller
|
|
|
|
pseudo-device loop 1 # network loopback
|
|
pseudo-device bpfilter 8 # packet filter
|
|
#pseudo-device sl 2 # CSLIP
|
|
#pseudo-device ppp 2 # PPP
|
|
pseudo-device tun 2 # network tunneling over tty
|
|
#pseudo-device ipfilter 1 # ip filter
|
|
|
|
pseudo-device pty 32 # pseudo-terminals
|
|
pseudo-device tb 1 # tablet line discipline
|
|
pseudo-device vnd 4 # paging to files
|
|
pseudo-device ccd 2 # concatenated disk devices
|
|
|
|
pseudo-device md 1 # Memory disk driver
|
|
|
|
#options HARDCODEDMODES
|
|
|
|
makeoptions MONITOR="Taxan875+LR"
|
|
#makeoptions MONITOR="AKF60"
|
|
#makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
|
|
makeoptions MODES="640,480,60 800,600,60 1024,768,60 1024,768,70 1152,900"
|