Home | History | Annotate | Line # | Download | only in conf
POWERMAC_G5_11_2 revision 1.2.2.2
      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 # Enable experimental buffer queue strategy for better responsiveness under
     32 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     33 #options 	NEW_BUFQ_STRATEGY
     34 
     35 # Diagnostic/debugging support options
     36 options 	DIAGNOSTIC	# cheap kernel consistency checks
     37 options 	DEBUG		# expensive debugging checks/support
     38 options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
     39 options 	DDB		# in-kernel debugger
     40 options 	DDB_ONPANIC=1	# don't go into ddb on panic.
     41 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     42 options 	TRAP_PANICWAIT
     43 
     44 makeoptions 	DEBUG="-g"	# compile full symbol table
     45 
     46 # Compatibility options
     47 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     48 options 	COMPAT_40	# NetBSD 4.0 compatibility.
     49 options 	COMPAT_43	# and 4.3BSD
     50 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     51 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     52 
     53 # File systems
     54 file-system 	FFS		# UFS
     55 file-system 	MFS		# memory file system
     56 file-system 	KERNFS		# /kern
     57 file-system 	PROCFS		# /proc
     58 file-system 	NFS		# Network File System client
     59 
     60 # File system options
     61 options 	QUOTA		# legacy UFS quotas
     62 options 	QUOTA2		# new, in-filesystem UFS quotas
     63 #options 	FFS_EI		# FFS Endian Independent support
     64 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     65 #options 	NFSSERVER	# Network File System server
     66 #options 	FFS_NO_SNAPSHOT	# ffs snapshots
     67 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     68 				# immutable) behave as system flags.
     69 #options 	APPLE_UFS	# Apple UFS support in FFS
     70 # Networking options
     71 #options 	GATEWAY		# packet forwarding
     72 options 	INET		# IP + ICMP + TCP + UDP
     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 #options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
     85 options 	FONT_GALLANT12x22
     86 
     87 # Optional Mac keyboard tweaks
     88 
     89 # Tweak the keyboard driver to treat the caps lock key on an ADB
     90 # keyboard as a control key; requires special remapping because of
     91 # ADB's strange emulation of a mechanically-locked key.
     92 #options 	CAPS_IS_CONTROL
     93 
     94 # On Mac laptops, several function keys double as "hot keys"
     95 # (brightness, volume, eject) when the Fn modifier is held down.  Mac
     96 # OS X likes to reprogram the keyboard controller to send hot key
     97 # events when Fn is not held down and send function key events when it
     98 # is.  This option transforms the non-keyboard "button" events back
     99 # into function key events.
    100 #options 	FORCE_FUNCTION_KEYS
    101 
    102 # Kernel root file system and dump configuration.
    103 config		netbsd	root on ? type ?
    104 #config		netbsd	root on gem0 type nfs
    105 #options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
    106 
    107 #
    108 # Device configuration
    109 #
    110 
    111 mainbus* at root
    112 
    113 cpu*	at mainbus?
    114 ibmcpc* at mainbus?
    115 uninorth*	at mainbus?
    116 
    117 pci*	at ibmcpc? bus ?
    118 pci*	at uninorth? 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 bge*	at pci? dev ? function ?	# gmac ethernet
    125 ukphy*	at mii? phy ?			# generic unknown PHYs
    126 
    127 # PCI USB controllers
    128 ohci*	at pci? dev ? function ?	# USB Open Host Controller
    129 ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
    130 
    131 usb*	at ohci?					# USB bus support
    132 uhub*	at usb?						# USB Hubs
    133 uhub*	at uhub? port ?
    134 uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
    135 uhid*	at uhidev? reportid ?				# USB Generic HID
    136 ukbd*	at uhidev? reportid ?				# USB Keyboards
    137 wskbd*	at ukbd? console ?
    138 ums*	at uhidev? reportid ?				# USB Mice
    139 wsmouse* at ums?
    140 
    141 genfb*	at pci? dev ? function ?
    142 wsdisplay*	at genfb? console ?
    143 
    144 #pseudo-device 	crypto			# opencrypto framework
    145 					# (disabled, requires generic softints)
    146 pseudo-device	vnd		4	# disk-like interface to files
    147 pseudo-device	md			# memory disk device
    148 pseudo-device	loop			# network loopback
    149 pseudo-device	pty			# pseudo-terminals
    150 pseudo-device	openfirm		# /dev/openfirm
    151 pseudo-device	wsmux			# mouse and keyboard multiplexor
    152 pseudo-device	clockctl		# user control of clock subsystem
    153 pseudo-device	ksyms			# /dev/ksyms
    154 pseudo-device	nsmb			# SMB requester
    155 pseudo-device   bpfilter        8       # Berkeley packet filter
    156 #pseudo-device	pf			# PF packet filter
    157 #pseudo-device	pflog			# PF log if
    158 
    159 options		OFWOEA_WSCONS_NO_ROM_FONT
    160 options		EXSTORAGE_MAX=24
    161 
    162 # Enable the hooks used for initializing the ram-disk.
    163 options 	MEMORY_DISK_HOOKS
    164 options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
    165 options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
    166 options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
    167 options		MEMORY_DISK_SERVER=1
    168