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.6 KiB
Plaintext
214 lines
5.6 KiB
Plaintext
#
|
|
# A7000 -- Mark's A7000 development machine
|
|
#
|
|
|
|
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 CPU_ARM7 # We have an ARM7 core
|
|
options CPU_ARM7500 # We are actually an ARM7500
|
|
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 # portal filesystem (still experimental)
|
|
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
|
|
|
|
# Miscellaneous options
|
|
options KTRACE # system call tracing, a la ktrace(1)
|
|
options IRQSTATS # manage IRQ statistics
|
|
#options LKM # loadable kernel modules
|
|
|
|
# Development and Debugging options
|
|
|
|
options MOUSE_IOC_ACK # acknowledge state change ioctls
|
|
#options ARM700BUGTRACK # track the ARM700 swi bug
|
|
#options HYDRA # Experimental hydra support
|
|
#options MPSUPPORT # Experimental MP support
|
|
#options PORTMASTER # Enable PortMaster only options
|
|
options PROFILE_ASM # when profiling, profile asm functions
|
|
options DIAGNOSTIC # internally consistency checks
|
|
options POSTMORTEM # perform postmortem on panic
|
|
#options ROTTEN_INNARDS # show the gory bit of the postmortem
|
|
#options BLOCK_IRQS # Block IRQ's during faults, syscalls and
|
|
# undefined instructions
|
|
options KSHELL # kernel developemnt shell (debug)
|
|
#options DEBUGTERM # create a debug console
|
|
#options IPKDB # remote kernel debugging
|
|
options DDB # in-kernel debugger
|
|
#makeoptions DEBUG="-g" # compile full symbol table
|
|
|
|
#config netbsd root on nfs swap on nfs
|
|
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
|
|
wd* at wdc? drive ?
|
|
|
|
# Floppy disk controller
|
|
fdc0 at mainbus? base 0x00210fc0 irq 12 dack 0x00002000
|
|
fd0 at fdc? drive ?
|
|
|
|
# kbd via IOMD
|
|
kbd0 at mainbus? base 0x00000000
|
|
|
|
# quadrature mouse
|
|
#quadmouse0 at mainbus? base 0x00000000 irq 6 # TMR1
|
|
#quadmouse0 at mainbus? base 0x00000000 irq 3 # VSYNC
|
|
|
|
# PS2 mouse
|
|
pms0 at mainbus? base 0x00000000
|
|
|
|
# Serial ports
|
|
com0 at mainbus? base 0x00210fe0 irq 10
|
|
#com1 at mainbus? base 0x00210be0
|
|
|
|
# Parallel ports
|
|
lpt0 at mainbus? base 0x002109e0 irq 0
|
|
|
|
# Crude sound device
|
|
beep0 at mainbus? base 0x00000000
|
|
|
|
# Audio device
|
|
vidcaudio0 at mainbus? base 0x00000000
|
|
|
|
# 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?
|
|
|
|
cosc* at podulebus? # MCS Connect32 SCSI II card
|
|
scsibus* at cosc?
|
|
|
|
#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 ?
|
|
|
|
ea* at podulebus? # Ether3 podules
|
|
eb0 at podulebus? # EtherB network slot cards
|
|
eh0 at podulebus? # EtherH network slot cards
|
|
ie* at podulebus? # Ether1 podules
|
|
|
|
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 ipl 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 # Ramdisk device
|
|
|
|
#makeoptions MONITOR="Taxan875+LR"
|
|
makeoptions MONITOR="AKF60"
|
|
makeoptions MODES="1024,768,60 800,600,60 800,600,72 800,600,75 640,480,60 640,480,72 640,480,75"
|