RPC44 revision 1.58
11.58Schristos# $NetBSD: RPC44,v 1.58 2024/01/29 18:27:10 christos Exp $ 21.1Simp# 31.1Simp# GENERIC machine description file 41.38Stsutsui# 51.1Simp# This machine description file is used to generate the default NetBSD 61.1Simp# kernel. The generic kernel does not include all options, subsystems 71.1Simp# and device drivers, but should be useful for most applications. 81.1Simp# 91.1Simp# The machine description file can be customised for your specific 101.1Simp# machine to reduce the kernel size and improve its performance. 111.1Simp# 121.1Simp# For further information on compiling NetBSD kernels, see the config(8) 131.1Simp# man page. 141.1Simp# 151.1Simp# For further information on hardware support for this architecture, see 161.1Simp# the intro(4) man page. For further information about kernel options 171.1Simp# for this architecture, see the options(4) man page. For an explanation 181.1Simp# of each device driver in this file see the section 4 man page for the 191.1Simp# device. 201.1Simp 211.53Smrginclude "arch/arc/conf/std.arc" 221.1Simp 231.1Simpoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.1Simp 251.58Schristos#ident "GENERIC-$Revision: 1.58 $" 261.1Simp 271.1Simpmaxusers 32 # estimated number of users 281.1Simp 291.1Simp# Platform support 301.2Stsutsuioptions PLATFORM_DESKTECH_ARCSTATION_I # DeskStation rPC44 311.1Simp 321.1Simp# Standard system options 331.1Simp 341.1Simpoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 351.1Simpoptions NTP # NTP phase/frequency locked loop 361.1Simp 371.1Simpoptions KTRACE # system call tracing via ktrace(1) 381.1Simp 391.1Simpoptions SYSVMSG # System V-like message queues 401.1Simpoptions SYSVSEM # System V-like semaphores 411.1Simp#options SEMMNI=10 # number of semaphore identifiers 421.1Simp#options SEMMNS=60 # number of semaphores in system 431.1Simp#options SEMUME=10 # max number of undo entries per process 441.1Simp#options SEMMNU=30 # number of undo structures in system 451.1Simpoptions SYSVSHM # System V-like memory sharing 461.1Simp 471.1Simpoptions USERCONF # userconf(4) support 481.21Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 491.7Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 501.1Simp 511.54Ssevan# Alternate buffer queue strategies for better responsiveness under high 521.54Ssevan# disk I/O load. 531.15Stsutsui#options BUFQ_READPRIO 541.15Stsutsui#options BUFQ_PRIOCSCAN 551.1Simp 561.1Simp# Diagnostic/debugging support options 571.1Simpoptions DIAGNOSTIC # cheap kernel consistency checks 581.1Simp#options DEBUG # expensive debugging checks/support 591.1Simpoptions DDB # in-kernel debugger 601.51Suebayasipseudo-device ksyms 611.1Simp#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 621.1Simp#options KGDB # remote gdb 631.1Simp#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 641.1Simp#options KGDB_DEV="17*256+0" # device for kernel gdb 651.1Simp#makeoptions DEBUG="-g" # compile full symbol table 661.1Simp 671.1Simp# Compatibility options 681.53Smrginclude "conf/compat_netbsd10.config" 691.1Simpoptions COMPAT_386BSD_MBRPART # recognize old partition ID 701.1Simp 711.1Simp# mipsel specific 721.1Simpoptions COMPAT_ULTRIX # Ultrix binary compatibility 731.1Simpoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 741.1Simp 751.1Simp# File systems 761.1Simpfile-system FFS # fast filesystem 771.1Simp#file-system EXT2FS # second extended file system (linux) 781.1Simp#file-system LFS # log-structured file system 791.1Simp#file-system MFS # memory file system 801.1Simp#file-system NTFS # Windows/NT file system (experimental) 811.1Simpfile-system CD9660 # ISO 9660 + Rock Ridge file system 821.1Simpfile-system MSDOSFS # MS-DOS file system 831.1Simpfile-system NFS # Network File System client 841.1Simpfile-system FDESC # /dev/fd 851.1Simpfile-system KERNFS # /kern 861.1Simpfile-system NULLFS # loopback file system 871.1Simpfile-system OVERLAY # overlay file system 881.35Spookafile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 891.1Simpfile-system PROCFS # /proc 901.1Simpfile-system UMAPFS # NULLFS + uid and gid remapping 911.1Simpfile-system UNION # union file system 921.1Simp#file-system CODA # Coda File System; also needs vcoda (below) 931.20Schristosfile-system PTYFS # /dev/pts/N support 941.1Simp 951.1Simp# File system options 961.39Sbouyeroptions QUOTA # legacy UFS quotas 971.39Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 981.1Simp#options FFS_EI # FFS Endian Independent support 991.1Simpoptions NFSSERVER # Network File System server 1001.22Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1011.1Simp 1021.1Simp# Networking options 1031.1Simp#options GATEWAY # IP packet forwarding 1041.1Simpoptions INET # IP + ICMP + TCP + UDP 1051.1Simp#options INET6 # IPV6 1061.1Simp#options IPSEC # IP security 1071.1Simp#options IPSEC_DEBUG # debug for IP security 1081.1Simp#options MROUTING # IP multicast routing 1091.8Smanu#options PIM # Protocol Independent Multicast 1101.1Simp#options NETATALK # AppleTalk networking protocols 1111.1Simp#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1121.1Simp#options PPP_DEFLATE # Deflate compression support for PPP 1131.1Simp#options PPP_FILTER # Active filter support for PPP (requires bpf) 1141.1Simp#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1151.1Simp 1161.49Salnsn# JIT compiler for bpfilter 1171.49Salnsn#options SLJIT 1181.49Salnsn#options BPFJIT 1191.49Salnsn 1201.1Simp# These options enable verbose messages for several subsystems. 1211.1Simp# Warning, these may compile large string tables into the kernel! 1221.1Simpoptions EISAVERBOSE # verbose EISA device autoconfig messages 1231.1Simp#options PCIVERBOSE # verbose PCI device autoconfig messages 1241.1Simp#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1251.1Simpoptions SCSIVERBOSE # human readable SCSI error messages 1261.1Simp 1271.1Simp# wscons terminal emulation 1281.1Simpoptions WSEMUL_VT100 # VT100 emulation 1291.41Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1301.1Simp 1311.1Simp# Kernel root file system and dump configuration. 1321.1Simpoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1331.1Simpconfig netbsd root on ? type ? 1341.1Simp#config netbsd root on sd0a type ffs 1351.1Simp#config netbsd root on ? type nfs 1361.1Simp 1371.1Simp# 1381.1Simp# Device configuration 1391.1Simp# 1401.1Simp 1411.1Simpmainbus0 at root 1421.1Simpcpu* at mainbus0 1431.1Simp 1441.1Simp# PLATFORM_DESKTECH_ARCSTATION_I 1451.2Stsutsuiarcsisabr* at mainbus0 # DeskStation rPC44 ISA host bridge. 1461.1Simpisa* at arcsisabr? 1471.1Simp#isadma0 at isa? # bogus? 1481.1Simptimer0 at isa? port 0x40 irq 0 1491.1Simpmcclock0 at isa? port 0x70 1501.1Simppc0 at isa? irq 1 # generic PC console device 1511.1Simpopms0 at isa? irq 12 # PS/2 auxiliary port mouse 1521.1Simpvga0 at isa? 1531.1Simppckbc0 at isa? # PC keyboard controller 1541.1Simpcom0 at isa? port 0x3f8 irq 4 1551.1Simpcom1 at isa? port 0x2f8 irq 3 1561.1Simpcom2 at isa? port 0x3e8 irq 4 1571.1Simpcom3 at isa? port 0x2e8 irq 3 1581.1Simp#bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 1591.1Simp#ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 1601.1Simp#com* at ast? slave ? 1611.1Simp 1621.1Simp# Joystick driver. Probe is a little strange; add only if you have one. 1631.1Simp#joy0 at isa? port 0x201 1641.1Simp 1651.1Simp# ISA ST506, ESDI, and IDE controllers 1661.1Simp# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 1671.1Simp# fall back to 16bits I/O if 32bits I/O are not functional). 1681.1Simp# Some controllers pass the initial 32bit test, but will fail later. 1691.1Simp# XXX - should be configured 1701.1Simpwdc0 at isa? port 0x1f0 irq 14 flags 0x00 1711.1Simp#wdc1 at isa? port 0x170 irq 15 flags 0x00 1721.1Simp#wdc* at isapnp? 1731.1Simp 1741.1Simp# ISA parallel printer interfaces 1751.1Simplpt0 at isa? port 0x378 irq 7 1761.1Simp 1771.1Simp# ISA network interfaces 1781.1Simp# XXX - should be configured 1791.1Simp#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 1801.1Simpep0 at isa? port ? irq ? # 3C509 ethernet cards 1811.1Simpne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 1821.1Simp#ne1 at isa? port 0x300 irq 10 1831.1Simp#ne* at isapnp? # NE[12]000 PnP ethernet 1841.1Simpwe0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 1851.1Simp#we1 at isa? port 0x300 iomem 0xcc000 irq 10 1861.1Simp 1871.1Simp# XXX - should be configured 1881.1Simp#btl0 at isa? port 0x330 irq ? drq ? 1891.6Stsutsui 1901.6Stsutsui#### SCSI bus support 1911.6Stsutsui#scsibus* at scsi? 1921.1Simp 1931.1Simp#### SCSI bus devices 1941.1Simp 1951.1Simp#sd* at scsibus? target ? lun ? 1961.1Simp#st* at scsibus? target ? lun ? 1971.1Simp#cd* at scsibus? target ? lun ? 1981.1Simp#ch* at scsibus? target ? lun ? 1991.1Simp#ss* at scsibus? target ? lun ? 2001.1Simp#uk* at scsibus? target ? lun ? 2011.6Stsutsui 2021.6Stsutsui# ATA (IDE) bus support 2031.6Stsutsuiatabus* at wdc? channel ? 2041.6Stsutsui 2051.6Stsutsui# IDE drives 2061.6Stsutsui# Flags are used only with controllers that support DMA operations 2071.6Stsutsui# and mode settings (e.g. some pciide controllers) 2081.6Stsutsui# The lowest order four bits (rightmost digit) of the flags define the PIO 2091.6Stsutsui# mode to use, the next set of four bits the DMA mode and the third set the 2101.6Stsutsui# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2111.6Stsutsui# to use, and the last bit must be 1 for this setting to be used. 2121.6Stsutsui# For DMA and UDMA, 0xf (1111) means 'disable'. 2131.6Stsutsui# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2141.6Stsutsui# (0xc=1100, 0xa=1010, 0xf=1111) 2151.6Stsutsui# 0x0000 means "use whatever the drive claims to support". 2161.6Stsutsui# XXX - should be configured 2171.6Stsutsuiwd* at atabus? drive ? flags 0x0000 2181.6Stsutsui 2191.6Stsutsui#### ATAPI bus support 2201.6Stsutsui# XXX - should be configured 2211.6Stsutsui#atapibus* at atabus? 2221.1Simp 2231.1Simp#### ATAPI bus devices 2241.1Simp 2251.1Simp# flags have the same meaning as for IDE drives. 2261.1Simp#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2271.1Simp#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2281.1Simp#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2291.1Simp 2301.1Simp#### Workstation Console attachments 2311.1Simp 2321.1Simpwsdisplay* at vga? 2331.1Simp#wsdisplay* at tga? 2341.1Simppckbd* at pckbc? # PC keyboard (kbd port) 2351.1Simpwskbd* at pckbd? 2361.1Simppms* at pckbc? # PS/2-style mouse (aux port) 2371.1Simpwsmouse* at pms? 2381.1Simp 2391.1Simp#### Pseudo devices 2401.1Simp 2411.1Simp# disk/mass storage pseudo-devices 2421.44Schristos#pseudo-device ccd # concatenated/striped disk devices 2431.44Schristos#pseudo-device cgd # cryptographic disk devices 2441.45Schristos#pseudo-device raid # RAIDframe disk driver 2451.1Simp# Options to enable various other RAIDframe RAID types. 2461.21Stsutsui#options RF_INCLUDE_EVENODD=1 2471.21Stsutsui#options RF_INCLUDE_RAID5_RS=1 2481.21Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 2491.21Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 2501.21Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 2511.21Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 2521.21Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2531.36Spooka#pseudo-device fss # file system snapshot device 2541.37Shannkenpseudo-device md # memory disk device (ramdisk) 2551.25Scubepseudo-device vnd # disk-like interface to files 2561.35Spookapseudo-device putter # for puffs and pud 2571.1Simp 2581.1Simp# network pseudo-devices 2591.24Srpaulopseudo-device bpfilter # Berkeley packet filter 2601.55Smaxv#pseudo-device npf # NPF packet filter 2611.44Schristospseudo-device loop # network loopback 2621.25Scube#pseudo-device ppp # Point-to-Point Protocol 2631.1Simp#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 2641.25Scube#pseudo-device sl # Serial Line IP 2651.25Scubepseudo-device tun # network tunneling over tty 2661.10Scube#pseudo-device tap # virtual Ethernet 2671.25Scube#pseudo-device gre # generic L3 over IP tunnel 2681.25Scube#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2691.25Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2701.25Scube#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2711.1Simp#pseudo-device vlan # IEEE 802.1q encapsulation 2721.1Simp#pseudo-device bridge # simple inter-network bridging 2731.57Sroy#pseudo-device vether # Virtual Ethernet for bridge 2741.1Simp 2751.1Simp# miscellaneous pseudo-devices 2761.1Simppseudo-device pty # pseudo-terminals 2771.46Schristos#pseudo-device sequencer # MIDI sequencer 2781.1Simp# rnd works; RND_COM does not on port arc yet. 2791.1Simp#options RND_COM # use "com" randomness as well (BROKEN) 2801.1Simppseudo-device clockctl # user control of clock subsystem 2811.1Simp 2821.1Simp# a pseudo device needed for Coda # also needs CODA (above) 2831.45Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 2841.1Simp 2851.1Simp# mouse & keyboard multiplexor pseudo-devices 2861.1Simppseudo-device wsmux 287