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