11.97Scharlott#	$NetBSD: GENERIC,v 1.97 2024/04/02 22:56:51 charlotte Exp $
21.1Sober#
31.1Sober# GENERIC machine description file
41.1Sober#
51.1Sober# This machine description file is used to generate the default NetBSD
61.1Sober# kernel.  The generic kernel does not include all options, subsystems
71.1Sober# and device drivers, but should be useful for most applications.
81.1Sober#
91.1Sober# The machine description file can be customised for your specific
101.1Sober# machine to reduce the kernel size and improve its performance.
111.1Sober#
121.1Sober# For further information on compiling NetBSD kernels, see the config(8)
131.1Sober# man page.
141.1Sober#
151.1Sober# For further information on hardware support for this architecture, see
161.1Sober# the intro(4) man page.  For further information about kernel options
171.1Sober# for this architecture, see the options(4) man page.  For an explanation
181.1Sober# of each device driver in this file see the section 4 man page for the
191.1Sober# device.
201.1Sober
211.75Smrginclude 	"arch/zaurus/conf/std.zaurus"
221.1Sober
231.1Sober#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Sober
251.1Sobermaxusers	32			# estimated number of users
261.1Sober
271.1Sober# CPU options
281.1Sober
291.1Sober# For XScale systems
301.51Stsutsuioptions 	CPU_XSCALE_PXA250	# Support the XScale PXA25x core
311.50Stsutsuioptions 	CPU_XSCALE_PXA270	# Support the XScale PXA27x core
321.1Sobermakeoptions	CPUFLAGS="-mcpu=xscale"
331.1Sober
341.1Sober# Architecture options
351.1Soberoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
361.1Soberoptions 	PXAGPIO_HAS_GPION_INTRS
371.1Sober
381.22Snonaka# in-kernel bootloader, see kloader(4)
391.46Snonakaoptions 	KLOADER
401.22Snonaka#options 	KLOADER_KERNEL_PATH="\"/netbsd\""
411.22Snonaka#options 	KLOADER_DEBUG
421.22Snonaka
431.1Sober# Standard system options
441.2Speteroptions 	INSECURE	# disable kernel security levels
451.1Sober
461.1Soberoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
471.1Sober#options 	HZ=512		# clock interrupt generates every 1/HZ sec
481.1Sober#options 	NTP		# NTP phase/frequency locked loop
491.1Sober
501.1Sober# File systems
511.1Soberfile-system	FFS		# UFS
521.1Sober#file-system	EXT2FS		# second extended file system (linux)
531.35Snonaka#file-system	LFS		# log-structured file system
541.1Soberfile-system	MFS		# memory file system
551.2Speterfile-system	NFS		# Network File System client
561.1Sober#file-system	NTFS		# Windows/NT file system (experimental)
571.42Snonakafile-system	CD9660		# ISO 9660 + Rock Ridge file system
581.2Speterfile-system	MSDOSFS		# MS-DOS file system
591.1Sober#file-system	FDESC		# /dev/fd
601.1Soberfile-system	KERNFS		# /kern
611.2Speterfile-system	NULLFS		# loopback file system
621.1Sober#file-system	OVERLAY		# overlay file system
631.66Snonakafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
641.2Speterfile-system	PROCFS		# /proc
651.1Sober#file-system	UMAPFS		# NULLFS + uid and gid remapping
661.1Sober#file-system	UNION		# union file system
671.1Sober#file-system	CODA		# Coda File System; also needs vcoda (below)
681.2Speterfile-system	PTYFS		# /dev/pts/N support
691.1Soberfile-system	TMPFS		# Efficient memory file-system
701.1Sober#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
711.1Sober
721.1Sober# File system options
731.92Ssimonb#options 	FFS_EI		# FFS Endian Independent support
741.92Ssimonboptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
751.34Sbouyer#options 	QUOTA		# legacy UFS quotas
761.34Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
771.92Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
781.92Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
791.48Sdhollandoptions 	WAPBL		# File system journaling support
801.92Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
811.92Ssimonb#options 	NFSSERVER	# Network File System server
821.1Sober
831.1Sober# Networking options
841.1Sober#options 	GATEWAY		# packet forwarding
851.1Soberoptions 	INET		# IP + ICMP + TCP + UDP
861.2Speteroptions 	INET6		# IPv6
871.1Sober
881.1Sober# Compatibility options
891.75Smrginclude 	"conf/compat_netbsd13.config"
901.75Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
911.1Sober
921.35Snonaka# Wedge support
931.35Snonakaoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
941.60Schristosoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
951.63Schristos#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
961.63Schristos#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
971.75Smrgoptions 	DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
981.72Srin#options	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
991.97Scharlott#options	DKWEDGE_METHOD_TOS	# Support Atari "TOS" partitions as wedges
1001.35Snonaka
1011.1Sober# Shared memory options
1021.1Sober
1031.1Soberoptions 	SYSVMSG		# System V-like message queues
1041.1Soberoptions 	SYSVSEM		# System V-like semaphores
1051.1Soberoptions 	SYSVSHM		# System V-like memory sharing
1061.1Sober
1071.41Stsutsui# Loadable kernel module support
1081.41Stsutsui#options 	MODULAR		# new style module(7) framework
1091.62Sjnemeth#options 	MODULAR_DEFAULT_AUTOLOAD
1101.41Stsutsui
1111.1Sober# Device options
1121.1Sober
1131.1Sober# Miscellaneous kernel options
1141.50Stsutsui#options 	KTRACE		# system call tracing via ktrace(1)
1151.50Stsutsui#options 	SCSIVERBOSE	# Verbose SCSI errors
1161.50Stsutsui#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1171.50Stsutsui#options 	USBVERBOSE	# verbose USB device autoconfig messages
1181.50Stsutsui#options 	USERCONF	# userconf(4) support
1191.1Sober#options 	PIPE_SOCKETPAIR # smaller, but slower pipe(2)
1201.50Stsutsui#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1211.1Sober
1221.1Sober#
1231.1Sober# wscons options
1241.1Sober#
1251.1Sober# builtin terminal emulations
1261.2Speteroptions 	WSEMUL_VT100
1271.1Sober# allocate a number of virtual screens at autoconfiguration time
1281.2Speter#options 	WSDISPLAY_DEFAULTSCREENS=2
1291.1Sober
1301.1Sober# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
1311.1Sober#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
1321.1Sober#options 	WS_DEFAULT_FG=WSCOL_WHITE
1331.1Sober#options 	WS_DEFAULT_BG=WSCOL_BLACK
1341.1Sober#options 	WS_DEFAULT_COLATTR="(0)"
1351.1Sober#options 	WS_DEFAULT_MONOATTR="(0)"
1361.19Snonakaoptions 	WS_KERNEL_FG=WSCOL_GREEN
1371.2Speter#options 	WS_KERNEL_BG=WSCOL_BLACK
1381.1Sober#options 	WS_KERNEL_COLATTR=""
1391.1Sober#options 	WS_KERNEL_MONOATTR=""
1401.1Sober
1411.1Sober# compatibility to other console drivers
1421.2Speteroptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1431.54Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1441.88Stsutsuioptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1451.1Sober
1461.1Sober# Development and Debugging options
1471.1Sober
1481.50Stsutsuioptions 	DIAGNOSTIC		# internal consistency checks
1491.2Speter#options 	DEBUG
1501.50Stsutsui#options 	VERBOSE_INIT_ARM	# verbose bootstraping messages
1511.89Stsutsuioptions 	DDB			# in-kernel debugger
1521.89Stsutsuioptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1531.1Sober#options 	KGDB
1541.50Stsutsui#makeoptions 	DEBUG="-g"		# compile full symbol table
1551.1Sober
1561.1Sober
1571.1Sober# Kernel root file system and dump configuration.
1581.1Soberconfig		netbsd		root on ? type ?
1591.1Sober
1601.1Sober
1611.1Sober# The main bus device
1621.1Sobermainbus0 at root
1631.1Sober
1641.1Sober# The boot cpu
1651.1Sobercpu0 at mainbus?
1661.1Sober
1671.1Sober# integrated peripherals
1681.1Soberpxaip0 at mainbus?
1691.1Sober
1701.36Snonakapxaintc0 at pxaip?				# interrupt controller
1711.36Snonakapxagpio0 at pxaip?				# GPIO
1721.36Snonakapxartc0 at pxaip? addr 0x40900000 size 0x10	# RTC
1731.1Sober
1741.18Snonaka# DMAC support
1751.18Snonakapxadmac0 at pxaip? addr 0x40000000 intr 25
1761.50Stsutsuioptions 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
1771.50Stsutsui#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
1781.18Snonaka
1791.43Snonaka# I2C support
1801.43Snonakaziic0 at pxaip?
1811.43Snonakaiic0 at ziic?
1821.43Snonaka
1831.7Snonaka# Power management
1841.7Snonakazapm0 at pxaip?		# power management
1851.7Snonakaapmdev0 at zapm0	# APM
1861.7Snonaka
1871.1Sober# PCMCIA/CF socket and GPIO controllers
1881.1Soberscoop0 at pxaip?
1891.1Soberscoop1 at pxaip?
1901.1Sober
1911.87Smsaitoh# alternate GPIO controller for SL-C1000
1921.77Sthorpejioexp0 at iic? addr 0x18
1931.43Snonaka
1941.2Speter# ADC, touchpad, backlight
1951.2Speterzssp0 at pxaip?
1961.1Sober
1971.2Speter# touchpad
1981.49Stsutsuiztp0 at zssp?
1991.2Speterwsmouse* at ztp? mux 0
2001.1Sober
2011.1Sober# keyboard
2021.2Speterzkbd0 at pxaip?
2031.2Speterwskbd* at zkbd? mux 1
2041.1Sober
2051.2Speter# remote controller
2061.2Speterzrc0 at pxaip?
2071.2Speterwskbd* at zrc? mux 1
2081.1Sober
2091.1Sober# LCD
2101.50Stsutsuilcd0 at pxaip?				# PXA2x0 integrated LCD Controller
2111.33Stsutsuioptions 	PXA2X0_LCD_WRITETHROUGH
2121.2Speterwsdisplay* at lcd? console ?
2131.51Stsutsuiw100lcd0 at pxaip?			# ATI Imageon100 LCDcontroller
2141.51Stsutsuiwsdisplay* at w100lcd? console ?
2151.49Stsutsuilcdctl0 at zssp0
2161.1Sober
2171.43Snonaka# WM8750 Audio
2181.77Sthorpejzaudio0 at iic? addr 0x1b
2191.23Snonakaaudio* at zaudio?
2201.43Snonaka#options 	ZAUDIO_VOLUME_STRIDE=8
2211.1Sober
2221.2Speter# Audio support
2231.23Snonakaaudio* at audiobus?
2241.2Speter
2251.70Schristosspkr* at audio?		# PC speaker (synthesized)
2261.68Snat
2271.2Speter# integrated 16550 UARTs
2281.1Soberoptions 	COM_PXA2X0
2291.32Snonaka#options 	FFUARTCONSOLE
2301.1Sobercom0 at pxaip?  addr 0x40100000 intr 22	# Full Function UART
2311.1Sobercom1 at pxaip?  addr 0x40200000 intr 21	# Bluetooth UART
2321.1Sobercom2 at pxaip?  addr 0x40700000 intr 20	# Standard UART (for IrDA)
2331.1Sober
2341.1Sober# integrated PCMCIA/CF controller
2351.1Soberpxapcic0 at pxaip?
2361.1Sober
2371.1Sober# PCMCIA bus support
2381.1Soberpcmcia* at pxapcic?
2391.1Sober
2401.1Sober# PCMCIA (CF) devices
2411.1Sobercom* at pcmcia?		# PCMCIA modems/serial ports
2421.1Soberwi* at pcmcia?		# WaveLAN IEEE 802.11DS
2431.1Soberne* at pcmcia?		# PCMCIA based NE2000 ethernet
2441.1Soberwdc* at pcmcia?		# hard disk controller
2451.1Sober
2461.1Soberatabus* at wdc? channel ?
2471.1Sober
2481.1Sober# IDE hard drives
2491.1Soberwd* at atabus? drive ? flags 0x0000
2501.1Sober
2511.2Speter
2521.2Speter# USB Controller and Devices
2531.17Snonakazusb* at pxaip?
2541.25Skiyohara#pxaudc0 at pxaip? addr 0x40600000	# USB Device Controller
2551.25Skiyoharaohci0 at pxaip? addr 0x4c000000 intr 3	# USB Host Controller
2561.2Speter
2571.8Skiyohara# PCMCIA USB controllers
2581.8Skiyohara#slhci* at pcmcia? function ?	# ScanLogic SL811HS
2591.8Skiyohara
2601.2Speter# USB bus support
2611.17Snonakausb* at ohci?
2621.8Skiyohara#usb* at slhci?
2631.2Speter
2641.2Speter# USB Hubs
2651.17Snonakauhub* at usb?
2661.17Snonakauhub* at uhub? port ?
2671.2Speter
2681.2Speter# USB HID device
2691.17Snonakauhidev* at uhub? port ? configuration ? interface ?
2701.2Speter
2711.2Speter# USB Mice
2721.17Snonakaums* at uhidev? reportid ?
2731.17Snonakawsmouse* at ums? mux 0
2741.2Speter
2751.2Speter# USB Keyboards
2761.17Snonakaukbd* at uhidev? reportid ?
2771.17Snonakawskbd* at ukbd? console ? mux 1
2781.2Speter
2791.2Speter# USB Generic HID devices
2801.17Snonakauhid* at uhidev? reportid ?
2811.2Speter
2821.2Speter# USB Mass Storage
2831.17Snonakaumass* at uhub? port ? configuration ? interface ?
2841.2Speter
2851.21Snonaka# SCSI bus support
2861.21Snonakascsibus* at scsi?
2871.21Snonaka
2881.21Snonaka# SCSI devices
2891.21Snonakasd*	at scsibus? target ? lun ?	# SCSI disk drives
2901.21Snonakacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2911.21Snonakauk*	at scsibus? target ? lun ?	# SCSI unknown
2921.21Snonaka
2931.38Stsutsui# ATAPI bus support
2941.38Stsutsuiatapibus* at atapi?
2951.38Stsutsui
2961.38Stsutsui# ATAPI devices
2971.38Stsutsuicd*	at atapibus? drive ?		# ATAPI CD-ROM drives
2981.38Stsutsui#sd*	at atapibus? drive ?		# ATAPI disk drives
2991.38Stsutsui#st*	at atapibus? drive ?		# ATAPI tape drives
3001.38Stsutsui#uk*	at atapibus? drive ?		# ATAPI unknown
3011.38Stsutsui
3021.2Speter# USB audio
3031.2Speter#uaudio* at uhub? port ? configuration ?
3041.2Speter
3051.17Snonaka# USB Ethernet adapters
3061.50Stsutsuiaue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
3071.50Stsutsuiaxe*	at uhub? port ?		# ASIX AX88172 based adapters
3081.84Srin#axen*	at uhub? port ?		# ASIX AX88178a/AX88179 based adapters
3091.50Stsutsuicdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
3101.50Stsutsuicue*	at uhub? port ?		# CATC USB-EL1201A based adapters
3111.50Stsutsuikue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
3121.78Srinmue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
3131.50Stsutsuiudav*	at uhub? port ?		# Davicom DM9601 based adapters
3141.83Srin#ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
3151.50Stsutsuiurl*	at uhub? port ?		# Realtek RTL8150L based adapters
3161.84Srin#urndis*	at uhub? port ?	# Microsoft RNDIS specification
3171.84Srin#usmsc*	at uhub? port ?		# SMSC95xx based adapters
3181.17Snonaka
3191.2Speter# Kyocera AIR-EDGE PHONE
3201.2Speter#ukyopon* at uhub? port ?
3211.2Speter#ucom* at ukyopon? portno ?
3221.2Speter
3231.2Speter# USB Generic driver
3241.50Stsutsuiugen*	at uhub? port ?
3251.17Snonaka
3261.17Snonaka# MII/PHY support
3271.82Srinacphy*  at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
3281.82Srinamhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
3291.82Srinbmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
3301.82Srinbrgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
3311.82Srindmphy*  at mii? phy ?			# Davicom DM9101 PHYs
3321.82Srinexphy*  at mii? phy ?			# 3Com internal PHYs
3331.82Sringlxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
3341.82Sringphyter* at mii? phy ?			# NS83861 Gig-E PHY
3351.82Srinicsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
3361.82Srininphy*  at mii? phy ?			# Intel 82555 PHYs
3371.82Sriniophy*  at mii? phy ?			# Intel 82553 PHYs
3381.82Srinlxtphy* at mii? phy ?			# Level One LXT-970 PHYs
3391.82Srinmakphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
3401.82Srinnsphy*  at mii? phy ?			# NS83840 PHYs
3411.82Srinnsphyter* at mii? phy ?			# NS83843 PHYs
3421.82Srinpnaphy* at mii? phy ?			# generic HomePNA PHYs
3431.82Srinqsphy*  at mii? phy ?			# Quality Semiconductor QS6612 PHYs
3441.83Srin#rgephy*  at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
3451.83Srin#rlphy*  at mii? phy ?			# Realtek 8139/8201L PHYs
3461.82Srinsqphy*  at mii? phy ?			# Seeq 80220/80221/80223 PHYs
3471.82Srintlphy*  at mii? phy ?			# ThunderLAN PHYs
3481.82Srintqphy*  at mii? phy ?			# TDK Semiconductor PHYs
3491.50Stsutsuiukphy*  at mii? phy ?			# generic unknown PHYs
3501.50Stsutsuiurlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
3511.17Snonaka
3521.82Srin
3531.87Smsaitoh# integrated MMC/SD controller
3541.24Snonakapxamci0 at pxaip? addr 0x41100000 size 0x48
3551.24Snonakasdmmc* at pxamci?
3561.2Speter#options 	PXAMCI_DEBUG
3571.2Speter#options 	SDMMC_DEBUG
3581.2Speter#options 	SDMMC_DUMP_CSD
3591.2Speter
3601.24Snonakald* at sdmmc?				# MMC/SD/SDHC card
3611.2Speter
3621.1Sober# Pseudo-Devices
3631.1Sober
3641.1Sober# disk/mass storage pseudo-devices
3651.31Shannkenpseudo-device	md			# memory disk device (ramdisk)
3661.40Stsutsuipseudo-device	vnd			# disk-like interface to files
3671.2Speteroptions 	VND_COMPRESSION		# compressed vnd(4)
3681.1Sober
3691.1Sober# network pseudo-devices
3701.50Stsutsuipseudo-device	bpfilter		# Berkeley packet filter
3711.1Soberpseudo-device	loop			# network loopback
3721.1Sober
3731.13Stls# accept filters
3741.17Snonakapseudo-device	accf_data		# "dataready" accept filter
3751.17Snonakapseudo-device	accf_http		# "httpready" accept filter
3761.13Stls
3771.1Sober# miscellaneous pseudo-devices
3781.1Soberpseudo-device	pty			# pseudo-terminals
3791.1Sober#pseudo-device	sequencer		# MIDI sequencer
3801.1Soberpseudo-device	clockctl		# user control of clock subsystem
3811.66Snonakapseudo-device	drvctl			# user control of drive subsystem
3821.1Soberpseudo-device	ksyms			# /dev/ksyms
3831.66Snonakapseudo-device	putter			# for puffs and pud
3841.93Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
3851.1Sober
3861.1Sober# a pseudo device needed for Coda	# also needs CODA (above)
3871.56Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
3881.1Sober
3891.1Sober# wscons pseudo-devices
3901.2Speterpseudo-device	wsmux			# mouse & keyboard multiplexor
3911.2Speterpseudo-device	wsfont
3921.94Sabs
3931.95Sabs# Pull in optional local configuration - always at end
3941.95Sabscinclude	"arch/zaurus/conf/GENERIC.local"
395