[BACK]Return to GENERIC CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / macppc / conf

File: [cvs.NetBSD.org] / src / sys / arch / macppc / conf / GENERIC (download)

Revision 1.153, Thu Feb 27 19:22:42 2003 UTC (21 years, 1 month ago) by perseant
Branch: MAIN
Changes since 1.152: +3 -2 lines

Make BRIDGE_IPF an option, and document it.  Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.

# $NetBSD: GENERIC,v 1.153 2003/02/27 19:22:42 perseant Exp $
#
# GENERIC machine description file
# 
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

include		"arch/macppc/conf/std.macppc"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"GENERIC-$Revision: 1.153 $"

maxusers	32

options 	ALTIVEC		# Include AltiVec support

# Standard system options
#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
#options 	INSECURE	# disable kernel security levels

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop
options 	KTRACE		# system call tracing via ktrace(1)
options 	SYSTRACE	# system call vetting via systrace(1)

options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
#options 	SEMMNI=10	# number of semaphore identifiers
#options 	SEMMNS=60	# number of semaphores in system
#options 	SEMUME=10	# max number of undo entries per process
#options 	SEMMNU=30	# number of undo structures in system
options 	SYSVSHM		# System V shared memory
#options 	SHMMAXPGS=1024	# 1024 pages is the default

options 	LKM		# loadable kernel modules

options 	USERCONF	# userconf(4) support
#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Enable experimental buffer queue strategy for better responsiveness under
# high disk I/O load. Use it with caution - it's not proven to be stable yet.
#options 	NEW_BUFQ_STRATEGY

# Diagnostic/debugging support options
options 	DIAGNOSTIC	# cheap kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
options 	DDB		# in-kernel debugger
#options 	DDB_ONPANIC=0	# don't go into ddb on panic.
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
#options 	TRAP_PANICWAIT

#makeoptions 	DEBUG="-g"	# compile full symbol table

# Compatibility options
options 	COMPAT_09	# NetBSD 0.9,
options 	COMPAT_10	# NetBSD 1.0,
options 	COMPAT_11	# NetBSD 1.1,
options 	COMPAT_12	# NetBSD 1.2,
options 	COMPAT_13	# NetBSD 1.3,
options 	COMPAT_14	# NetBSD 1.4,
options 	COMPAT_43	# and 4.3BSD
#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
options 	COMPAT_LINUX	# Linux binary compatibility
options 	COMPAT_MACH	# Mach binary compatibility (experimental)
options 	EXEC_MACHO	# Mach-O binary support, needed for COMPAT_MACH
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

# File systems
file-system 	FFS		# UFS
file-system 	EXT2FS		# second extended file system (linux)
file-system 	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	OVERLAY		# overlay file system
file-system 	PORTAL		# portal filesystem (still experimental)
file-system 	PROCFS		# /proc
file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union file system

# File system options
options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independant support
options 	SOFTDEP		# FFS soft updates support.
options 	NFSSERVER	# Network File System server
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
options 	APPLE_UFS	# Apple UFS support in FFS

options 	NFS_BOOT_DHCP	# Support DHCP NFS root

# Networking options
#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
options 	NETATALK	# AppleTalk networking protocols
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
options 	PFIL_HOOKS	# pfil(9) packet filter hooks
options 	IPFILTER_LOG	# ipmon(8) log support
#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
options 	MIIVERBOSE	# verbose PHY autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
options 	SCSIVERBOSE	# human readable SCSI error messages
options 	USBVERBOSE	# verbose USB device autoconfig messages

# wscons options
#options 	WSEMUL_SUN			# sun terminal emulation
options 	WSEMUL_VT100			# VT100 / VT220 emulation
#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
options 	FONT_GALLANT12x22

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?

#
# Device configuration
#

mainbus* at root

cpu*	at mainbus?
bandit*	at mainbus?
grackle* at mainbus?
uninorth* at mainbus?

pci*	at bandit? bus ?
pci*	at grackle? bus ?
pci*	at uninorth? bus ?
pci*	at ppb? bus ?

pchb*	at pci? dev ? function ?	# PCI-Host bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges
# XXX 'puc's aren't really bridges, but there's no better place for them here
puc*	at pci? dev ? function ?	# PCI "universal" comm. cards

# PCI Network devices
an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
bge*	at pci? dev ? function ?	# Broadcom 570x Gigabit Ethernet
ep*	at pci? dev ? function ?	# 3Com 3c59x
epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
ex*	at pci? dev ? function ?	# 3Com 90x[BC]
fpa*	at pci? dev ? function ?	# DEC PCI FDDI (DEFPA) Controller
fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
gem*	at pci? dev ? function ?	# gmac ethernet
#gm*	at pci? dev ? function ?	# gmac ethernet (old)
gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
rtk*	at pci? dev ? function ?	# Realtek 8129/8139
sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
sip*	at pci? dev ? function ?	# SiS 900/7016 Ethernet
ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
#ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
wm*	at pci? dev ? function ?	# Intel 82543/82544 gigabit

# PCI SCSI controllers
adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
ahc*	at pci? dev ? function ?	# Adaptec 294x, aic78x0 SCSI
bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
esiop*	at pci? dev ? function ?	# NCR 53c8xx SCSI (enhanced)
iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
isp*	at pci? dev ? function ?	# Qlogic ISP 10x0/2xx0 SCSI/Fibre Chan
pcscp*	at pci? dev ? function ?	# AMD Am53c974 PCscsi-PCI SCSI
siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI
trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI

# Other  PCI devices
ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
#options 	OFB_ENABLE_CACHE	# Speed up console
pciide*	at pci? dev ? function ?
cbb*	at pci? dev ? function ?	# PCI-CardBus bridge
obio0	at pci? dev ? function ?
#macofcons0 at pci? dev ? function ?	# OpenFirmware console (for debugging)

acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
amhphy*	at mii? phy ?			# AMD 79c901 Ethernet PHYs
bmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
dmphy*	at mii? phy ?                   # Davicom DM9101 PHYs
exphy*	at mii? phy ?			# 3Com internal PHYs
glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
gphyter* at mii? phy ?			# NS83861 Gig-E PHY
icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
inphy*	at mii? phy ?			# Intel 82555 PHYs
iophy*	at mii? phy ?			# Intel 82553 PHYs
lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
nsphy*	at mii? phy ?			# NS83840 PHYs
nsphyter* at mii? phy ?			# NS83843 PHYs
pnaphy* at mii? phy ?			# generic HomePNA PHYs
qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
tlphy*	at mii? phy ?			# ThunderLAN PHYs
tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs
urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs

# PCI serial interfaces
com*	at puc? port ?			# 16x50s on "universal" comm boards
cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
#cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards

bktr*   at      pci? dev ? function ?           # Brooktree video/audio capture/tuner
radio*  at      bktr?

bm*	at obio?			# bmac ethernet
mc*	at obio?			# MACE ethernet
esp*	at obio? flags 0x00ff		# 53c9x SCSI
mesh*	at obio? flags 0xffff		# MESH SCSI
nvram*	at obio?			# nvram
adb*	at obio?			# Apple Desktop Bus
apm0	at adb?				# APM emulation
aed*	at adb?				# ADB Event Device
akbd*	at adb?				# ADB keyboard
ams*	at adb?				# ADB mouse
abtn*	at adb?
zsc*	at obio?
zstty*	at zsc? channel ?
mediabay* at obio?
wdc*	at mediabay? flags 0
# awacs is disabled because on some systems--e.g., a 350MHz G4 GigE--
# it may generate interrupt storms, rendering the machine unusable.
# If you uncomment this, you'll also want to uncomment "audio* at awacs?"
# below.
#awacs*	at obio?			# Apple audio device
wi*	at obio?			# AirMac

cardslot* at cbb?
cardbus* at cardslot?
pcmcia*	at cardslot?

com*	at pcmcia? function ?		# Modems and serial cards
wdc*	at pcmcia? function ?		# PCMCIA IDE controllers
ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
mbe*	at pcmcia? function ?		# MB8696x based Ethernet
ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
ex*	at cardbus? dev ? function ?	# 3Com 3C575TX
tlp*	at cardbus? dev ? function ?	# DECchip 21143
rtk*	at cardbus? dev ? function ?	# Realtek 8129/8139

wsdisplay0 at ofb? console ?
wskbd0	at akbd? console ?
wsmouse0 at ams?

scsibus* at adv?
scsibus* at adw?
scsibus* at ahc?
scsibus* at bha?
scsibus* at iha?
scsibus* at isp?
scsibus* at esp?
scsibus* at mesh?
scsibus* at pcscp?
scsibus* at siop?
scsibus* at trm?

sd*	at scsibus? target ? lun ?	# SCSI disks
st*	at scsibus? target ? lun ?	# SCSI tape drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
ch*	at scsibus? target ? lun ?	# SCSI autochangers
ss*	at scsibus? target ? lun ?	# SCSI scanners
uk*	at scsibus? target ? lun ?	# SCSI unknown

wdc*	at obio? flags 0x1
wd*	at pciide? channel ? drive ?
wd*	at wdc? channel ? drive ? flags 0x0000

atapibus* at pciide? channel ?
atapibus* at wdc? channel ?

cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown

# PCI USB controllers
ohci*	at pci? dev ? function ?			# Open Host Controller

usb*	at ohci?					# USB bus support
uhub*	at usb?						# USB Hubs
uhub*	at uhub? port ? configuration ? interface ?

uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device

ums*	at uhidev? reportid ?				# USB Mice
wsmouse* at ums?

ukbd*	at uhidev? reportid ?				# USB Keyboards
wskbd*	at ukbd? console ?

uhid*	at uhidev? reportid ?				# USB Generic HID

ulpt*	at uhub? port ? configuration ? interface ?	# USB Printer

umodem*	at uhub? port ? configuration ?			# USB Modem
ucom*	at umodem?

umass*	at uhub? port ? configuration ? interface ?	# USB Mass Storage
atapibus* at umass? channel ?
scsibus* at umass? channel ?

uaudio*	at uhub? port ? configuration ?			# USB audio

# D-Link DSB-R100 USB FM radio tuner
udsbr* at uhub? port ?
radio* at udsbr?

# USB Ethernet adapters
aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
uax*	at uhub? port ?		# ASIX AX88172 based adapters
url*	at uhub? port ?		# Realtek RTL8150L based adapters

uscanner* at uhub? port ?				# USB scanners
uyap* at uhub? port ?					# Y@P firmware loader
ugen*	at uhub? port ? configuration ? interface ?	# USB Generic driver

# PCI IEEE1394 controllers
fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
#fwlynx* at pci? dev ? function ?	# IEEE1394 TI Lynx Controller
fw*	at fwbus?			# IP over 1394

# IEEE1394 nodes
#fwnode* at fwbus? idhi ? idlo ?
#sbpscsi* at fwnode?
#scsibus* at sbpscsi?

# Audio Devices

# PCI audio devices
#clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
#cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
#eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
#fms*	at pci? dev ? function ?	# Forte Media FM801
#sv*	at pci? dev ? function ?	# S3 SonicVibes

# OPL[23] FM synthesizers
#opl*	at cmpci? flags 1
#opl*	at eso?
#opl*	at fms?

# Audio support
#audio* at awacs?
#audio*	at clcs?
#audio*	at cmpci?
audio*	at eap?
#audio*	at eso?
#audio*	at fms?
#audio*	at sv?
audio*	at uaudio?

# MPU 401 UARTs
#mpu*	at cmpci?
#mpu*	at eso?
#mpu*	at fms?

# MIDI support
midi*	at eap?			# 137[01] MIDI port
#midi*	at mpu?			# MPU 401

pseudo-device	vnd		4	# disk-like interface to files
pseudo-device	ccd		4	# concatenated/striped disk devices
#pseudo-device	cgd		4	# cryptographic disk devices
#pseudo-device	raid		8	# RAIDframe disk driver
#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
# options 	RF_INCLUDE_EVENODD=1
# options 	RF_INCLUDE_RAID5_RS=1
# options 	RF_INCLUDE_PARITYLOGGING=1
# options 	RF_INCLUDE_CHAINDECLUSTER=1
# options 	RF_INCLUDE_INTERDECLUSTER=1
# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
# options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device	md		1	# memory disk device
pseudo-device	loop			# network loopback
pseudo-device	bpfilter	8	# packet filter
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	ppp		2	# Point-to-Point Protocol
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	sl		2	# Serial Line IP
pseudo-device	tun		4	# network tunneling over tty
#pseudo-device	gre		2	# generic L3 over IP tunnel
pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
pseudo-device	vlan			# IEEE 802.1q encapsulation
pseudo-device	bridge			# simple inter-network bridging
#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
pseudo-device	pty			# pseudo-terminals
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	openfirm		# /dev/openfirm
pseudo-device	wsmux			# mouse and keyboard multiplexor
pseudo-device	clockctl		# user control of clock subsystem