Home | History | Annotate | Line # | Download | only in conf
POWERMAC_G5_11_2 revision 1.12
      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 	USERCONF	# userconf(4) support
     28 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     29 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     30 
     31 # Alternate buffer queue strategies for better responsiveness under high
     32 # disk I/O load.
     33 #options 	BUFQ_READPRIO
     34 options 	BUFQ_PRIOCSCAN
     35 
     36 # Diagnostic/debugging support options
     37 options 	DIAGNOSTIC	# cheap kernel consistency checks
     38 options 	DEBUG		# expensive debugging checks/support
     39 options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
     40 options 	DDB		# in-kernel debugger
     41 options 	DDB_ONPANIC=1	# don't go into ddb on panic.
     42 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     43 options 	TRAP_PANICWAIT
     44 
     45 makeoptions 	DEBUG="-g"	# compile full symbol table
     46 
     47 # Compatibility options
     48 include 	"conf/compat_netbsd30.config"
     49 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     50 
     51 # File systems
     52 file-system 	FFS		# UFS
     53 file-system 	MFS		# memory file system
     54 file-system 	KERNFS		# /kern
     55 file-system 	PROCFS		# /proc
     56 file-system 	NFS		# Network File System client
     57 
     58 # File system options
     59 #options 	QUOTA		# legacy UFS quotas
     60 #options 	QUOTA2		# new, in-filesystem UFS quotas
     61 #options 	FFS_EI		# FFS Endian Independent support
     62 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     63 #options 	NFSSERVER	# Network File System server
     64 #options 	FFS_NO_SNAPSHOT	# ffs snapshots
     65 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     66 				# immutable) behave as system flags.
     67 #options 	APPLE_UFS	# Apple UFS support in FFS
     68 # Networking options
     69 #options 	GATEWAY		# packet forwarding
     70 options 	INET		# IP + ICMP + TCP + UDP
     71 
     72 # These options enable verbose messages for several subsystems.
     73 # Warning, these may compile large string tables into the kernel!
     74 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
     75 options 	MIIVERBOSE	# verbose PHY autoconfig messages
     76 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
     77 
     78 # wscons options
     79 #options 	WSEMUL_SUN			# sun terminal emulation
     80 options 	WSEMUL_VT100			# VT100 / VT220 emulation
     81 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
     82 #options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
     83 options 	FONT_GALLANT12x22
     84 
     85 # Kernel root file system and dump configuration.
     86 config		netbsd	root on ? type ?
     87 #config		netbsd	root on gem0 type nfs
     88 #options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
     89 
     90 #
     91 # Device configuration
     92 #
     93 
     94 mainbus* at root
     95 
     96 cpu*	at mainbus?
     97 options 	MULTIPROCESSOR
     98 ibmcpc* at mainbus?
     99 uninorth*	at mainbus?
    100 memory* at mainbus?
    101 spdmem* at memory? addr ?
    102 
    103 uni_n*	at mainbus?
    104 ki2c*	at uni_n?			# Keywest I2C
    105 
    106 smu* 		at mainbus?
    107 #options 	SMU_DEBUG
    108 smuiic* 	at smu?
    109 iic* 		at smuiic?
    110 
    111 pci*	at ibmcpc? bus ?
    112 pci*	at uninorth? bus ?
    113 pci*	at ppb? bus ?
    114 
    115 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    116 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    117 
    118 obio0		at pci? dev ? function ?
    119 zsc*		at obio?
    120 zstty*		at zsc? channel ?
    121 #snapper* 	at obio?
    122 ki2c*		at obio?	# Keywest I2C
    123 iic*		at ki2c?
    124 
    125 admtemp* 	at iic?
    126 lmtemp* 	at iic?
    127 dstemp* 	at iic?
    128 smusat* 	at iic?
    129 deq* 		at iic?
    130 
    131 # Audio support
    132 #audio*	at audiobus?
    133 
    134 #spkr*	at audio?		# PC speaker (synthesized)
    135 #wsbell* at spkr?
    136 
    137 bge*	at pci? dev ? function ?	# gmac ethernet
    138 brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
    139 ukphy*	at mii? phy ?			# generic unknown PHYs
    140 
    141 # PCI USB controllers
    142 ohci*	at pci? dev ? function ?	# USB Open Host Controller
    143 ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
    144 
    145 usb*	at ohci?					# USB bus support
    146 uhub*	at usb?						# USB Hubs
    147 uhub*	at uhub? port ?
    148 uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
    149 uhid*	at uhidev? reportid ?				# USB Generic HID
    150 ukbd*	at uhidev? reportid ?				# USB Keyboards
    151 wskbd*	at ukbd? console ?
    152 ums*	at uhidev? reportid ?				# USB Mice
    153 wsmouse* at ums?
    154 
    155 genfb*	at pci? dev ? function ?
    156 wdc* 	at pci? dev ? function ?		# Kauai ATA
    157 svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
    158 obio*	at pci? dev ? function ?
    159 zsc*	at obio?
    160 zstty*	at zsc? channel ?
    161 
    162 wsdisplay0	at wsemuldisplaydev? console 1
    163 wsdisplay*	at wsemuldisplaydev?
    164 
    165 atabus* at ata?
    166 wd*	at atabus? drive ? flags 0x0000
    167 atapibus* at atapi?
    168 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    169 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    170 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    171 
    172 #pseudo-device 	crypto			# opencrypto framework
    173 					# (disabled, requires generic softints)
    174 pseudo-device	vnd		4	# disk-like interface to files
    175 pseudo-device	md			# memory disk device
    176 pseudo-device	loop			# network loopback
    177 pseudo-device	pty			# pseudo-terminals
    178 pseudo-device	openfirm		# /dev/openfirm
    179 pseudo-device	wsmux			# mouse and keyboard multiplexor
    180 pseudo-device	clockctl		# user control of clock subsystem
    181 pseudo-device	ksyms			# /dev/ksyms
    182 pseudo-device	nsmb			# SMB requester
    183 pseudo-device   bpfilter        8       # Berkeley packet filter
    184 #pseudo-device	pf			# PF packet filter
    185 #pseudo-device	pflog			# PF log if
    186 
    187 options		OFWOEA_WSCONS_NO_ROM_FONT
    188 options		EXSTORAGE_MAX=24
    189 
    190 # Enable the hooks used for initializing the ram-disk.
    191 #options 	MEMORY_DISK_HOOKS
    192 #options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
    193 #options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
    194 #options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
    195 #options		MEMORY_DISK_SERVER=1
    196