# $NetBSD: GENERIC,v 1.377 2023/02/09 14:09:49 abs 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.377 $"
maxusers 32
options ALTIVEC # Include AltiVec support
# Standard system options
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 SYSVMSG # System V message queues
options SYSVSEM # System V semaphores
options SYSVSHM # System V shared memory
options MODULAR # new style module(7) framework
options MODULAR_DEFAULT_AUTOLOAD
options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options BUFQ_READPRIO
options BUFQ_PRIOCSCAN
# 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
#options DDB_COMMANDONENTER="bt"
#makeoptions DEBUG="-g" # compile full symbol table
# Compatibility options
include "conf/compat_netbsd09.config"
#options COMPAT_386BSD_MBRPART # recognize old partition ID
#options COMPAT_LINUX # Linux binary compatibility
#options COMPAT_OSSAUDIO # Linux binary compatibility
# Wedge support
options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
#options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges
#options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges
# File systems
include "conf/filesystems.config"
# File system options
options APPLE_UFS # Apple UFS support in FFS
#options FFS_EI # FFS Endian Independent support
#options FFS_NO_SNAPSHOT # No FFS snapshot support
options QUOTA # legacy UFS quotas
options QUOTA2 # new, in-filesystem UFS quotas
options UFS_DIRHASH # UFS Large Directory Hashing
options UFS_EXTATTR # Extended attribute support for UFS1
options WAPBL # File system journaling support
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
options NFSSERVER # Network File System server
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_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
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 TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
#options ALTQ # Manipulate network interfaces' output queues
#options ALTQ_BLUE # Stochastic Fair Blue
#options ALTQ_CBQ # Class-Based Queueing
#options ALTQ_CDNR # Diffserv Traffic Conditioner
#options ALTQ_FIFOQ # First-In First-Out Queue
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
#options ALTQ_HFSC # Hierarchical Fair Service Curve
#options ALTQ_LOCALQ # Local queueing discipline
#options ALTQ_PRIQ # Priority Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED with IN/OUT
#options ALTQ_WFQ # Weighted Fair Queueing
# 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_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # VT handling
options WS_DEFAULT_FG=WSCOL_BLACK
options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options WS_KERNEL_FG=WSCOL_GREEN
options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options FONT_GALLANT12x22
options FONT_QVSS8x15 # a smaller font for lower resolutions
# Optional Mac keyboard tweaks
# Tweak the keyboard driver to treat the caps lock key on an ADB
# keyboard as a control key; requires special remapping because of
# ADB's strange emulation of a mechanically-locked key.
#options CAPS_IS_CONTROL
# On Mac laptops, several function keys double as "hot keys"
# (brightness, volume, eject) when the Fn modifier is held down. Mac
# OS X likes to reprogram the keyboard controller to send hot key
# events when Fn is not held down and send function key events when it
# is. This option transforms the non-keyboard "button" events back
# into function key events.
# enabled by default since trying to control brightness with those causes
# trouble on pretty much all halfway recent Apple laptops
options FORCE_FUNCTION_KEYS
# 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?
uni_n* at mainbus?
memory* at mainbus?
spdmem* at memory? addr ?
valkyriefb0 at mainbus0 # Performa 6360 onboard video
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
lpt* at puc? port ? # || ports on > "universal" comm boards
# PCI Network devices
an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11
atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11)
bge* at pci? dev ? function ? # Broadcom 570x Gigabit Ethernet
bwi* at pci? dev ? function ? # Broadcom / Apple Airport Extreme
ep* at pci? dev ? function ? # 3Com 3c59x
epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
ex* at pci? dev ? function ? # 3Com 90x[BC]
fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
gem* at pci? dev ? function ? # gmac ethernet
gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
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
ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g
re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
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
skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet
sk* at skc? # SysKonnect SK9821 Gigabit 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
vge* at pci? dev ? function ? # VIA VT612x Gigabit Ethernet
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
mpt* at pci? dev ? function ? # LSILogic 9x9 and 53c1030
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
# Display devices
chipsfb* at pci? function ? # C&T 65550
gffb* at pci? function ? # NVIDIA GeForce2 MX
machfb* at pci? function ? # ATI Mach 64, Rage, Rage Pro
pm3fb* at pci? function ? # 3Dlabs Permedia 3 Graphics
tdvfb* at pci? function ? # 3Dfx Voodoo2
r128fb* at pci? function ? # ATI Rage 128
voodoofb* at pci? function ? # 3Dfx Voodoo3
# ATI Radeon. Still has problems on some hardware
radeonfb* at pci? function ?
# generic PCI framebuffer, should work with everything supported by OF
genfb* at pci? function ?
# make sure the console display is always wsdisplay0
wsdisplay0 at wsemuldisplaydev? console 1
wsdisplay* at wsemuldisplaydev?
# Other PCI devices
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
ahcisata* at pci? dev ? function ? # AHCI SATA controllers
artsata* at pci? dev ? function ? # Intel i31244 SATA controller
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
iteide* at pci? dev ? function ? # IT Express IDE controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
satalink* at pci? dev ? function ? # SiI SATALink controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
stpcide* at pci? dev ? function ? # STMicro STPC IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
wdc* at pci? dev ? function ? # Kauai ATA
cbb* at pci? dev ? function ? # PCI-CardBus bridge
obio* at pci? dev ? function ?
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
ciphy* at mii? phy ? # Cicada CS8201 Gig-E 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
ikphy* at mii? phy ? # Intel 82563 PHYs
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
rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
rlphy* at mii? phy ? # Realtek 8139/8201L 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
options OBIO_SPEED_CONTROL # CPU speed / voltage control via GPIOs
# and/or DFS, found on most *Book G4
# ADB subsystem
cuda* at obio? # CUDA, for Old World PowerMacs
iic* at cuda? # CUDA's IIC bus
pmu* at obio? # PMU, *Books and newer PowerMacs
nadb* at adb_bus? # ADB bus enumerator, at cuda or pmu
adbkbd* at nadb? # ADB keyboard
adbms* at nadb? # ADB mice and touchpads
ktm* at nadb? # Kensington Turbo Mouse
adbbt* at nadb? # button device found on *Books
wskbd* at wskbddev? console ?
wsmouse* at wsmousedev?
battery* at pmu? # legacy battery, for ohare-based PowerBooks
smartbat* at pmu? # Smart battery, found in newer *Books
iic* at pmu? # some PMUs have IIC
zsc* at obio?
zstty* at zsc? channel ?
mediabay* at obio?
wdc* at mediabay? flags 0
awacs* at obio? # Apple audio device
ki2c* at obio? # Keywest I2C
ki2c* at uni_n? # Keywest I2C
iic* at ki2c?
# I2C devices
dbcool* at iic? # dbCool thermal monitor & fan control
lmtemp* at iic? # temperature sensor, found in PowerBook5,6
admtemp* at iic? # temperature sensor found in Mini, G5
psoc* at iic? # fan controller found in TiBooks
lmu* at iic? # ambient / keyboard lights
asms* at iic? # sudden motion sensor, various later *Books
videopll* at iic? # for valkyriefb
sgsmix* at iic? # Additional mixer found in beige G3
# use with awacs.
deq* at iic? # mixer/equalizer, used by snapper
wi* at obio? # AirMac
snapper* at obio? # Snapper audio device
# this is for talking to the onewire-EEPROM hiding in Apple Pro speakers.
# or other onewire devices you may want to hook up to it
#onewire* at snapper?
#oweeprom* at onewire?
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)
ath* at cardbus? function ? # Atheros 5210/5211/5212 802.11
atw* at cardbus? function ? # ADMtek ADM8211 (802.11)
ex* at cardbus? function ? # 3Com 3C575TX
tlp* at cardbus? function ? # DECchip 21143
ral* at cardbus? function ? # Ralink Technology RT25x0 802.11a/b/g
rtk* at cardbus? function ? # Realtek 8129/8139
rtw* at cardbus? function ? # Realtek 8180L (802.11)
# Cryptographic Devices
# PCI cryptographic devices
# (disabled, requires opencrypto framework which requires generic softints
#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
scsibus* at scsi?
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
atabus* at ata?
wd* at atabus? drive ? flags 0x0000
atapibus* at atapi?
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 ? # USB Open Host Controller
ehci* at pci? dev ? function ? # USB Enhanced Host Controller
ohci* at cardbus? function ? # USB Open Host Controller
ehci* at cardbus? function ? # USB Enhanced Host Controller
slhci* at pcmcia? function ? # ScanLogic SL811HS
usb* at ehci? # USB bus support
usb* at ohci? # USB bus support
usb* at slhci? # USB bus support
include "dev/usb/usbdevices.config"
uatp* at uhidev? reportid ? # Apple multi-touchpads found in late *Books
#pbms* at uhidev? reportid ? # older driver for touchpads
# Bluetooth Controller and Device support
# Bluetooth PCMCIA Controllers
bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A
btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
# Bluetooth USB Controllers
ubt* at uhub? port ?
aubtfwl* at uhub? port ?
# Bluetooth Device Hub
bthub* at bcsp?
bthub* at bt3c?
bthub* at btbc?
bthub* at btuart?
bthub* at ubt?
include "dev/bluetooth/bluetoothdevices.config"
# PCI IEEE1394 controllers
fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
# CardBus IEEE1394 controllers
#fwohci* at cardbus? function ? # IEEE1394 Open Host Controller
ieee1394if* at fwohci?
fwip* at ieee1394if? # IP over IEEE1394
sbp* at ieee1394if? euihi ? euilo ?
# 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 audiobus?
spkr* at audio? # PC speaker (synthesized)
# 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
#
# accept filters
pseudo-device accf_data # "dataready" accept filter
pseudo-device accf_http # "httpready" accept filter
pseudo-device crypto # /dev/crypto device
pseudo-device swcrypto # software crypto implementation
pseudo-device vnd # disk-like interface to files
#options VND_COMPRESSION # compressed vnd(4)
pseudo-device ccd # concatenated/striped disk devices
#pseudo-device cgd # cryptographic disk devices
pseudo-device raid # 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 fss # file system snapshot device
pseudo-device md # memory disk device
pseudo-device loop # network loopback
pseudo-device bpfilter # packet filter
pseudo-device carp # Common Address Redundancy Protocol
pseudo-device npf # NPF packet filter
pseudo-device ppp # Point-to-Point Protocol
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
pseudo-device sl # Serial Line IP
pseudo-device tun # network tunneling over tty
pseudo-device tap # virtual Ethernet
#pseudo-device gre # generic L3 over IP tunnel
pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device ipsecif # tunnel interface for routing based ipsec
#pseudo-device faith # IPv[46] tcp relay translation i/f
pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
pseudo-device vlan # IEEE 802.1q encapsulation
pseudo-device bridge # simple inter-network bridging
pseudo-device vether # Virtual Ethernet for bridge
pseudo-device agr # IEEE 802.3ad link aggregation
pseudo-device pty # pseudo-terminals
pseudo-device openfirm # /dev/openfirm
pseudo-device wsmux # mouse and keyboard multiplexer
pseudo-device wsfont
pseudo-device swwdog # software watchdog driver - swwdog(4)
pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
# userland interface to drivers, including autoconf and properties retrieval
pseudo-device drvctl
include "dev/veriexec.config"
#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
# Pull in optional local configuration - always at end
cinclude "arch/macppc/conf/GENERIC.local"