Home | History | Annotate | Line # | Download | only in conf
POWERMAC_G5 revision 1.58
      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 	OFWOEA_DEBUG
     11 #no makeoptions	MACHINE_ARCH
     12 #makeoptions	MACHINE_ARCH="powerpc64"
     13 
     14 options 	ALTIVEC		# Include AltiVec support
     15 options 	EXSTORAGE_MAX=64
     16 #options 	MULTIPROCESSOR
     17 
     18 # Standard system options
     19 options 	INSECURE	# disable kernel security levels
     20 
     21 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     22 options 	NTP		# NTP phase/frequency locked loop
     23 options 	KTRACE		# system call tracing via ktrace(1)
     24 
     25 options 	SYSVMSG		# System V message queues
     26 options 	SYSVSEM		# System V semaphores
     27 #options 	SEMMNI=10	# number of semaphore identifiers
     28 #options 	SEMMNS=60	# number of semaphores in system
     29 #options 	SEMUME=10	# max number of undo entries per process
     30 #options 	SEMMNU=30	# number of undo structures in system
     31 options 	SYSVSHM		# System V shared memory
     32 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     33 
     34 options 	MODULAR		# loadable kernel modules
     35 
     36 options 	USERCONF	# userconf(4) support
     37 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     38 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     39 
     40 # Alternate buffer queue strategies for better responsiveness under high
     41 # disk I/O load.
     42 #options 	BUFQ_READPRIO
     43 options 	BUFQ_PRIOCSCAN
     44 
     45 # Diagnostic/debugging support options
     46 options 	DIAGNOSTIC	# cheap kernel consistency checks
     47 #options 	DEBUG		# expensive debugging checks/support
     48 options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
     49 options 	DDB		# in-kernel debugger
     50 options 	DDB_ONPANIC=1	# don't go into ddb on panic.
     51 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     52 options 	TRAP_PANICWAIT
     53 #options 	DDB_COMMANDONENTER="bt"
     54 
     55 # Compatibility options
     56 include 	"conf/compat_netbsd70.config"
     57 #options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     58 
     59 # Wedge support
     60 options         DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances
     61 options         DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges
     62 #options	DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
     63 #options	DKWEDGE_METHOD_MBR      # Support MBR partitions as wedges
     64 #options	DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
     65 #options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
     66 #options 	DKWEDGE_METHOD_TOS	# Support Atari "TOS" partitions as wedges
     67 
     68 # File systems
     69 file-system 	FFS		# UFS
     70 file-system 	MFS		# memory file system
     71 file-system 	TMPFS		# memory file system
     72 file-system 	KERNFS		# /kern
     73 file-system 	PROCFS		# /proc
     74 file-system 	NFS		# Network File System client
     75 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     76 file-system 	MSDOSFS		# MS-DOS file system
     77 file-system	PTYFS		# /dev/pts/N support
     78 #file-system	HFS		# experimental - Apple HFS+ (read-only)
     79 
     80 # File system options
     81 #options 	APPLE_UFS	# Apple UFS support in FFS
     82 #options 	FFS_EI		# FFS Endian Independent support
     83 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     84 options 	QUOTA		# legacy UFS quotas
     85 options 	QUOTA2		# new, in-filesystem UFS quotas
     86 options 	UFS_DIRHASH	# UFS Large Directory Hashing
     87 #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     88 options 	WAPBL		# File system journaling support
     89 #options 	NFSSERVER	# Network File System server
     90 
     91 # Networking options
     92 #options 	GATEWAY		# packet forwarding
     93 options 	INET		# IP + ICMP + TCP + UDP
     94 options 	INET6		# IPV6
     95 
     96 # These options enable verbose messages for several subsystems.
     97 # Warning, these may compile large string tables into the kernel!
     98 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
     99 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
    100 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    101 
    102 # wscons options
    103 #options 	WSEMUL_SUN			# sun terminal emulation
    104 options 	WSEMUL_VT100			# VT100 / VT220 emulation
    105 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    106 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    107 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    108 #options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    109 options 	WS_DEFAULT_FG=WSCOL_BLACK
    110 options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
    111 options 	WS_KERNEL_FG=WSCOL_GREEN
    112 options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
    113 options 	FONT_GALLANT12x22
    114 
    115 # Kernel root file system and dump configuration.
    116 config		netbsd	root on ? type ?
    117 #config		netbsd	root on gem0 type nfs
    118 options         NFS_BOOT_DHCP
    119 
    120 #
    121 # Device configuration
    122 #
    123 
    124 mainbus* at root
    125 
    126 cpu0 	at mainbus?
    127 uni_n*	at mainbus?
    128 memory* at mainbus?
    129 spdmem* at memory? addr ?
    130 ki2c*	at uni_n?			# Keywest I2C
    131 
    132 ibmcpc* 	at mainbus?
    133 uninorth* 	at mainbus?
    134 smu* 		at mainbus?
    135 #options 	SMU_DEBUG
    136 smuiic* 	at smu?
    137 iic* 		at smuiic?
    138 
    139 
    140 pci*	at ibmcpc? bus ?
    141 pci*	at uninorth? bus ?
    142 pci*	at ppb? bus ?
    143 
    144 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    145 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    146 
    147 obio0		at pci? dev ? function ?
    148 zsc*		at obio?
    149 zstty*		at zsc? channel ?
    150 snapper* 	at obio?
    151 ki2c*		at obio?	# Keywest I2C
    152 iic*		at i2cbus?
    153 
    154 admtemp* 	at iic?
    155 lmtemp* 	at iic?
    156 dstemp* 	at iic?
    157 adadc* 		at iic?
    158 fcu* 		at iic?
    159 smusat* 	at iic?
    160 deq* 		at iic?
    161 
    162 obiofan* 	at obio?	# PSU fan on PowerMac7,3
    163 
    164 pmu* 		at obio?	# Apple PMU
    165 
    166 # Audio support
    167 audio*	at audiobus?
    168 
    169 spkr*	at audio?		# PC speaker (synthesized)
    170 wsbell* at spkr?
    171 
    172 gem*	at pci? dev ? function ?	# gmac ethernet
    173 #options 	GEM_DEBUG
    174 bge*	at pci? dev ? function ?	# borgcom ethernet
    175 bmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
    176 brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
    177 ukphy*	at mii? phy ?			# generic unknown PHYs
    178 
    179 # PCI IEEE1394 controllers
    180 #fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
    181 
    182 # IEEE1394 nodes
    183 #ieee1394if* at fwohci?
    184 #fwip*	at ieee1394if?			# IP over IEEE1394
    185 #sbp*	at ieee1394if? euihi ? euilo ?
    186 #scsibus* at sbp?
    187 
    188 
    189 # PCI USB controllers
    190 ohci*	at pci? dev ? function ?	# USB Open Host Controller
    191 ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
    192 
    193 usb*	at ohci?					# USB bus support
    194 usb*	at ehci?					# USB bus support
    195 uhub*	at usb?						# USB Hubs
    196 uhub*	at uhub? port ?
    197 uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
    198 uhid*	at uhidev? reportid ?				# USB Generic HID
    199 ukbd*	at uhidev? reportid ?				# USB Keyboards
    200 wskbd*	at ukbd? console ?
    201 ums*	at uhidev? reportid ?				# USB Mice
    202 wsmouse* at ums?
    203 
    204 genfb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
    205 gffb*	at pci? dev ? function ?	# some iMacs have nvidia graphics chips
    206 radeonfb*	at pci? dev ? function ?
    207 options 	RADEONFB_ALWAYS_ACCEL_PUTCHAR
    208 
    209 #radeon* 	at pci? dev ? function ?
    210 #radeondrmkmsfb* at radeonfbbus?
    211 
    212 #pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
    213 wdc* 	at pci? dev ? function ?		# Kauai ATA
    214 svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
    215 siisata* at pci? dev ? function ?		# SiI SteelVine controllers
    216 #options 	ATADEBUG
    217 
    218 obio*	at pci? dev ? function ?
    219 zsc*	at obio?
    220 zstty*	at zsc? channel ?
    221 
    222 wsdisplay0	at wsemuldisplaydev? console 1
    223 wsdisplay*	at wsemuldisplaydev?
    224 
    225 atabus* at ata?
    226 wd*	at atabus? drive ? flags 0x0000
    227 atapibus* at atapi?
    228 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    229 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    230 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    231 
    232 
    233 pseudo-device 	crypto			# /dev/crypto device
    234 pseudo-device	swcrypto		# software crypto implementation
    235 pseudo-device	vnd			# disk-like interface to files
    236 #pseudo-device	md			# memory disk device
    237 pseudo-device	loop			# network loopback
    238 pseudo-device	pty			# pseudo-terminals
    239 pseudo-device	openfirm		# /dev/openfirm
    240 pseudo-device	wsmux			# mouse and keyboard multiplexor
    241 pseudo-device	clockctl		# user control of clock subsystem
    242 pseudo-device	drvctl			# user control of drive subsystem
    243 pseudo-device	ksyms			# /dev/ksyms
    244 pseudo-device	bpfilter		# packet filter
    245 #pseudo-device	npf			# NPF packet filter
    246 
    247 # Enable the hooks used for initializing the ram-disk.
    248 #options 	MEMORY_DISK_HOOKS
    249 #options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
    250 #options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
    251 #options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
    252 
    253 # Pull in optional local configuration - always at end
    254 cinclude	"arch/macppc/conf/POWERMAC_G5.local"
    255