Home | History | Annotate | Line # | Download | only in conf
POWERMAC_G5 revision 1.5.6.1
      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 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     27 options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
     28 
     29 options 	LKM		# loadable kernel modules
     30 
     31 options 	USERCONF	# userconf(4) support
     32 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     33 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     34 
     35 # Enable experimental buffer queue strategy for better responsiveness under
     36 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     37 #options 	NEW_BUFQ_STRATEGY
     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 	DEBUG="-g"	# compile full symbol table
     49 
     50 # Compatibility options
     51 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     52 options 	COMPAT_40	# NetBSD 4.0 compatibility.
     53 options 	COMPAT_43	# and 4.3BSD
     54 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     55 #options 	COMPAT_DARWIN	# Darwin binary compatibility (experimental)
     56 #options 	COMPAT_MACH	# Mach compatibility, needed for COMPAT_DARWIN 
     57 #options 	EXEC_MACHO	# Mach-O binary support, needed for COMPAT_MACH
     58 #options 	DEBUG_DARWIN	# COMPAT_DARWIN debugging
     59 #options 	DEBUG_MACH	# COMPAT_MACH debugging
     60 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     61 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     62 
     63 # File systems
     64 file-system 	FFS		# UFS
     65 file-system 	MFS		# memory file system
     66 file-system 	KERNFS		# /kern
     67 file-system 	PROCFS		# /proc
     68 file-system 	NFS		# Network File System client
     69 
     70 # File system options
     71 options 	QUOTA		# UFS quotas
     72 #options 	FFS_EI		# FFS Endian Independant support
     73 options 	SOFTDEP		# FFS soft updates support.
     74 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     75 #options 	NFSSERVER	# Network File System server
     76 #options 	FFS_NO_SNAPSHOT	# ffs snapshots
     77 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     78 				# immutable) behave as system flags.
     79 #options 	APPLE_UFS	# Apple UFS support in FFS
     80 # Networking options
     81 #options 	GATEWAY		# packet forwarding
     82 options 	INET		# IP + ICMP + TCP + UDP
     83 
     84 # These options enable verbose messages for several subsystems.
     85 # Warning, these may compile large string tables into the kernel!
     86 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
     87 options 	MIIVERBOSE	# verbose PHY autoconfig messages
     88 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
     89 
     90 # wscons options
     91 #options 	WSEMUL_SUN			# sun terminal emulation
     92 options 	WSEMUL_VT100			# VT100 / VT220 emulation
     93 #options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
     94 options 	FONT_GALLANT12x22
     95 
     96 # Optional Mac keyboard tweaks
     97 
     98 # Tweak the keyboard driver to treat the caps lock key on an ADB
     99 # keyboard as a control key; requires special remapping because of
    100 # ADB's strange emulation of a mechanically-locked key.
    101 #options 	CAPS_IS_CONTROL
    102 
    103 # On Mac laptops, several function keys double as "hot keys"
    104 # (brightness, volume, eject) when the Fn modifier is held down.  Mac
    105 # OS X likes to reprogram the keyboard controller to send hot key
    106 # events when Fn is not held down and send function key events when it
    107 # is.  This option transforms the non-keyboard "button" events back
    108 # into function key events.
    109 #options 	FORCE_FUNCTION_KEYS
    110 
    111 # Kernel root file system and dump configuration.
    112 config		netbsd	root on ? type ?
    113 #config		netbsd	root on gem0 type nfs
    114 #options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
    115 
    116 #
    117 # Device configuration
    118 #
    119 
    120 mainbus* at root
    121 
    122 cpu*	at mainbus?
    123 ibmcpc* at mainbus?
    124 
    125 pci*	at ibmcpc? bus ?
    126 pci*	at ppb? bus ?
    127 
    128 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    129 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    130 
    131 gem*	at pci? dev ? function ?	# gmac ethernet
    132 ukphy*	at mii? phy ?			# generic unknown PHYs
    133 
    134 # PCI IEEE1394 controllers
    135 #fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
    136 
    137 # IEEE1394 nodes
    138 #ieee1394if* at fwohci?
    139 #fwip*	at ieee1394if?			# IP over IEEE1394
    140 #sbp*	at ieee1394if? euihi ? euilo ?
    141 #scsibus* at sbp?
    142 
    143 
    144 # PCI USB controllers
    145 ohci*	at pci? dev ? function ?	# USB Open Host Controller
    146 #ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
    147 
    148 usb*	at ohci?					# USB bus support
    149 uhub*	at usb?						# USB Hubs
    150 uhub*	at uhub? port ?
    151 uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
    152 uhid*	at uhidev? reportid ?				# USB Generic HID
    153 ukbd*	at uhidev? reportid ?				# USB Keyboards
    154 wskbd*	at ukbd? console ?
    155 ums*	at uhidev? reportid ?				# USB Mice
    156 wsmouse* at ums?
    157 
    158 # Other  PCI devices
    159 #ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
    160 # OFB_ENABLE_CACHE speeds up the console on many machines, but should
    161 # not be enabled on some older machines, such as the rev. A-D iMacs.
    162 #options 	OFB_ENABLE_CACHE	# Speed up console
    163 pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
    164 svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
    165 obio*	at pci? dev ? function ?
    166 zsc*	at obio?
    167 zstty*	at zsc? channel ?
    168 
    169 # PCI serial interfaces
    170 nvram*	at obio?			# nvram
    171 #wsdisplay0 at ofb? console ?
    172 
    173 atabus* at ata?
    174 wd*	at atabus? drive ? flags 0x0000
    175 atapibus* at atapi?
    176 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    177 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    178 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    179 
    180 
    181 #pseudo-device 	crypto			# opencrypto framework
    182 					# (disabled, requires generic softints)
    183 pseudo-device	vnd		4	# disk-like interface to files
    184 pseudo-device	md		1	# memory disk device
    185 pseudo-device	loop			# network loopback
    186 pseudo-device	pty			# pseudo-terminals
    187 pseudo-device	rnd			# /dev/random and in-kernel generator
    188 pseudo-device	openfirm		# /dev/openfirm
    189 pseudo-device	wsmux			# mouse and keyboard multiplexor
    190 pseudo-device	clockctl		# user control of clock subsystem
    191 pseudo-device	ksyms			# /dev/ksyms
    192 pseudo-device	nsmb			# SMB requester
    193 #pseudo-device	pf			# PF packet filter
    194 #pseudo-device	pflog			# PF log if
    195 
    196 # Enable the hooks used for initializing the ram-disk.
    197 options 	MEMORY_DISK_HOOKS
    198 options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
    199 options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
    200