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