Home | History | Annotate | Line # | Download | only in conf
      1 # Lean and mean config file for the POWERMAC G5
      2 # Author: Sanjay Lal <sanjayl (a] kymasys.com>
      3 
      4 include 	"arch/macppc/conf/std.macppc.g5"
      5 
      6 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      7 maxusers	32
      8 
      9 options 	PMAC_G5
     10 options 	ALTIVEC		# Include AltiVec support
     11 
     12 # Standard system options
     13 options 	INSECURE	# disable kernel security levels
     14 
     15 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     16 options 	NTP		# NTP phase/frequency locked loop
     17 options 	KTRACE		# system call tracing via ktrace(1)
     18 
     19 options 	SYSVMSG		# System V message queues
     20 options 	SYSVSEM		# System V semaphores
     21 #options 	SEMMNI=10	# number of semaphore identifiers
     22 #options 	SEMMNS=60	# number of semaphores in system
     23 #options 	SEMUME=10	# max number of undo entries per process
     24 #options 	SEMMNU=30	# number of undo structures in system
     25 options 	SYSVSHM		# System V shared memory
     26 
     27 options 	MODULAR		# new style module(7) framework
     28 options 	MODULAR_DEFAULT_AUTOLOAD
     29 
     30 options 	USERCONF	# userconf(4) support
     31 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     32 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     33 
     34 # Alternate buffer queue strategies for better responsiveness under high
     35 # disk I/O load.
     36 #options 	BUFQ_READPRIO
     37 options 	BUFQ_PRIOCSCAN
     38 
     39 # Diagnostic/debugging support options
     40 options 	DIAGNOSTIC	# cheap kernel consistency checks
     41 options 	DEBUG		# expensive debugging checks/support
     42 options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
     43 options 	DDB		# in-kernel debugger
     44 options 	DDB_ONPANIC=1	# don't go into ddb on panic.
     45 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     46 options 	TRAP_PANICWAIT
     47 
     48 makeoptions 	COPY_SYMTAB=1	# in case of directly booted from ofw
     49 makeoptions 	DEBUG="-g"	# compile full symbol table
     50 
     51 # Compatibility options
     52 include 	"conf/compat_netbsd30.config"
     53 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     54 
     55 # File systems
     56 include "conf/filesystems.config"
     57 
     58 # File system options
     59 #options 	APPLE_UFS	# Apple UFS support in FFS
     60 #options 	FFS_EI		# FFS Endian Independent support
     61 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     62 #options 	QUOTA		# legacy UFS quotas
     63 #options 	QUOTA2		# new, in-filesystem UFS quotas
     64 options 	UFS_DIRHASH	# UFS Large Directory Hashing
     65 #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     66 options 	WAPBL		# File system journaling support
     67 #options 	NFSSERVER	# Network File System server
     68 
     69 # Networking options
     70 #options 	GATEWAY		# packet forwarding
     71 options 	INET		# IP + ICMP + TCP + UDP
     72 options 	INET6		# IPV6
     73 
     74 # These options enable verbose messages for several subsystems.
     75 # Warning, these may compile large string tables into the kernel!
     76 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
     77 options 	MIIVERBOSE	# verbose PHY autoconfig messages
     78 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
     79 
     80 # wscons options
     81 #options 	WSEMUL_SUN			# sun terminal emulation
     82 options 	WSEMUL_VT100			# VT100 / VT220 emulation
     83 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
     84 
     85 options 	WS_DEFAULT_FG=WSCOL_BLACK
     86 options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
     87 options 	WS_KERNEL_FG=WSCOL_GREEN
     88 options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
     89 
     90 #options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
     91 options 	WSDISPLAY_CUSTOM_OUTPUT		# color customization from wsconsctl(8)
     92 options 	WSDISPLAY_SCROLLSUPPORT
     93 options 	FONT_GALLANT12x22
     94 
     95 # Kernel root file system and dump configuration.
     96 config		netbsd	root on ? type ?
     97 #config		netbsd	root on gem0 type nfs
     98 options 	NFS_BOOT_DHCP
     99 #options 	NFS_BOOT_BOOTPARAM
    100 
    101 #
    102 # Device configuration
    103 #
    104 
    105 mainbus* at root
    106 
    107 cpu*	at mainbus?
    108 options 	MULTIPROCESSOR
    109 ibmcpc* at mainbus?
    110 uninorth*	at mainbus?
    111 memory* at mainbus?
    112 spdmem* at memory? addr ?
    113 
    114 uni_n*	at mainbus?
    115 ki2c*	at uni_n?			# Keywest I2C
    116 
    117 smu* 		at mainbus?
    118 #options 	SMU_DEBUG
    119 smuiic* 	at smu?
    120 iic* 		at smuiic?
    121 
    122 pci*	at ibmcpc? bus ?
    123 pci*	at uninorth? bus ?
    124 pci*	at ppb? bus ?
    125 
    126 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    127 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    128 
    129 obio0		at pci? dev ? function ?
    130 zsc*		at obio?
    131 zstty*		at zsc? channel ?
    132 snapper* 	at obio?
    133 ki2c*		at obio?	# Keywest I2C
    134 iic*		at ki2c?
    135 
    136 admtemp* 	at iic?
    137 lmtemp* 	at iic?
    138 dstemp* 	at iic?
    139 smusat* 	at iic?
    140 deq* 		at iic?
    141 
    142 # Audio support
    143 audio*	at audiobus?
    144 
    145 spkr*	at audio?		# PC speaker (synthesized)
    146 wsbell* at spkr?
    147 
    148 bge*	at pci? dev ? function ?	# gmac ethernet
    149 brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
    150 ukphy*	at mii? phy ?			# generic unknown PHYs
    151 
    152 # PCI USB controllers
    153 ohci*	at pci? dev ? function ?	# USB Open Host Controller
    154 ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
    155 # No G5 ships with USB 3.0 but xhci 1.0 cards have been confirmed working
    156 # in PCIe models
    157 xhci*	at pci? dev ? function ?	# USB 3.0
    158 
    159 usb*	at ohci?					# USB bus support
    160 usb*	at ehci?					# USB bus support
    161 usb*	at xhci?					# USB bus support
    162 uhub*	at usb?						# USB Hubs
    163 uhub*	at uhub? port ?
    164 uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
    165 uhid*	at uhidev? reportid ?				# USB Generic HID
    166 ukbd*	at uhidev? reportid ?				# USB Keyboards
    167 wskbd*	at ukbd? console ?
    168 ums*	at uhidev? reportid ?				# USB Mice
    169 wsmouse* at ums?
    170 
    171 genfb*	at pci? dev ? function ?
    172 wdc* 	at pci? dev ? function ?		# Kauai ATA
    173 svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
    174 obio*	at pci? dev ? function ?
    175 zsc*	at obio?
    176 zstty*	at zsc? channel ?
    177 
    178 wsdisplay0	at wsemuldisplaydev? console 1
    179 wsdisplay*	at wsemuldisplaydev?
    180 
    181 atabus* at ata?
    182 wd*	at atabus? drive ? flags 0x0000
    183 atapibus* at atapi?
    184 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    185 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    186 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    187 
    188 pseudo-device 	crypto			# /dev/crypto device
    189 pseudo-device	swcrypto		# software crypto implementation
    190 pseudo-device	vnd		4	# disk-like interface to files
    191 pseudo-device	md			# memory disk device
    192 pseudo-device	loop			# network loopback
    193 pseudo-device	pty			# pseudo-terminals
    194 pseudo-device	openfirm		# /dev/openfirm
    195 pseudo-device	wsmux			# mouse and keyboard multiplexor
    196 pseudo-device	clockctl		# user control of clock subsystem
    197 pseudo-device	ksyms			# /dev/ksyms
    198 pseudo-device   bpfilter        8       # Berkeley packet filter
    199 #pseudo-device	npf			# NPF packet filter
    200 
    201 options		EXSTORAGE_MAX=24
    202 
    203 # Enable the hooks used for initializing the ram-disk.
    204 #options 	MEMORY_DISK_HOOKS
    205 #options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
    206 #options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
    207 #options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
    208 #options		MEMORY_DISK_SERVER=1
    209