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