1 # $NetBSD: GENERIC,v 1.137 2023/02/12 14:50:37 abs Exp $ 2 # 3 # GENERIC --- NetBSD/acorn32 complete configuration 4 # 5 # This machine description file is used to generate the default NetBSD 6 # kernel. The generic kernel does not include all options, subsystems 7 # and device drivers, but should be useful for most applications. 8 # 9 # The machine description file can be customised for your specific 10 # machine to reduce the kernel size and improve its performance. 11 # 12 # For further information on compiling NetBSD kernels, see the config(8) 13 # man page. 14 # 15 # For further information on hardware support for this architecture, see 16 # the intro(4) man page. For further information about kernel options 17 # for this architecture, see the options(4) man page. For an explanation 18 # of each device driver in this file see the section 4 man page for the 19 # device. 20 21 include "arch/acorn32/conf/std.acorn32" 22 23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25 #ident "GENERIC-$Revision: 1.137 $" 26 27 # estimated number of users 28 maxusers 32 29 30 # Standard system options 31 32 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 33 #options NTP # NTP phase/frequency locked loop 34 35 # CPU options 36 options CPU_SA110 # Support the SA110 core 37 options CPU_ARM6 # Support the ARM6 core 38 options CPU_ARM7 # Support the ARM7 core 39 #options CPU_ARM8 # Support the ARM8 core 40 #options ARM6_LATE_ABORT # ARM6XX late abort support 41 42 # For StrongARM only kernels 43 #makeoptions COPTS="-O2 -mtune=strongarm" 44 45 # File systems 46 47 file-system FFS # UFS 48 #file-system LFS # log-structured file system 49 file-system MFS # memory file system 50 file-system NFS # Network file system 51 file-system ADOSFS # AmigaDOS-compatible file system 52 file-system EXT2FS # second extended file system (linux) 53 file-system CD9660 # ISO 9660 + Rock Ridge file system 54 file-system MSDOSFS # MS-DOS file system 55 file-system FDESC # /dev/fd 56 file-system FILECORE # Acorn filecore file system 57 file-system KERNFS # /kern 58 file-system NULLFS # loopback file system 59 file-system OVERLAY # overlay filesystem 60 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 61 file-system PROCFS # /proc 62 file-system UMAPFS # NULLFS + uid and gid remapping 63 file-system UNION # union file system 64 file-system PTYFS # /dev/pts/N support 65 file-system TMPFS # Efficient memory file-system 66 #file-system UDF # experimental - OSTA UDF CD/DVD file-system 67 68 # File system options 69 #options FFS_EI # FFS Endian Independent support 70 #options FFS_NO_SNAPSHOT # No FFS snapshot support 71 options QUOTA # legacy UFS quotas 72 options QUOTA2 # new, in-filesystem UFS quotas 73 #options UFS_DIRHASH # UFS Large Directory Hashing 74 options UFS_EXTATTR # Extended attribute support for UFS1 75 options WAPBL # File system journaling support 76 options NFSSERVER # Network File System server 77 78 # Networking options 79 80 options GATEWAY # packet forwarding 81 options INET # IP + ICMP + TCP + UDP 82 options INET6 # IPV6 83 #options IPSEC # IP security 84 #options IPSEC_DEBUG # debug for IP security 85 #options MROUTING # IP multicast routing 86 #options PIM # Protocol Independent Multicast 87 options NETATALK # AppleTalk networking 88 options PPP_BSDCOMP # BSD-Compress compression support for PPP 89 options PPP_DEFLATE # Deflate compression support for PPP 90 options PPP_FILTER # Active filter support for PPP (requires bpf) 91 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 92 93 #options ALTQ # Manipulate network interfaces' output queues 94 #options ALTQ_BLUE # Stochastic Fair Blue 95 #options ALTQ_CBQ # Class-Based Queueing 96 #options ALTQ_CDNR # Diffserv Traffic Conditioner 97 #options ALTQ_FIFOQ # First-In First-Out Queue 98 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 99 #options ALTQ_HFSC # Hierarchical Fair Service Curve 100 #options ALTQ_LOCALQ # Local queueing discipline 101 #options ALTQ_PRIQ # Priority Queueing 102 #options ALTQ_RED # Random Early Detection 103 #options ALTQ_RIO # RED with IN/OUT 104 #options ALTQ_WFQ # Weighted Fair Queueing 105 106 # Compatibility options 107 108 include "conf/compat_netbsd12.config" 109 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 110 111 # Shared memory options 112 113 options SYSVMSG # System V-like message queues 114 options SYSVSEM # System V-like semaphores 115 options SYSVSHM # System V-like memory sharing 116 117 # Device options 118 119 options MEMORY_DISK_HOOKS # boottime setup of ramdisk 120 #options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks 121 #options MEMORY_DISK_IS_ROOT # use memory disk as root 122 123 # Miscellaneous kernel options 124 options KTRACE # system call tracing, a la ktrace(1) 125 options IRQSTATS # manage IRQ statistics 126 #options SCSIVERBOSE # Verbose SCSI errors 127 options USERCONF # userconf(4) support 128 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 129 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 130 131 # Alternate buffer queue strategies for better responsiveness under high 132 # disk I/O load. 133 #options BUFQ_READPRIO 134 options BUFQ_PRIOCSCAN 135 136 # Development and Debugging options 137 138 #options ARM700BUGTRACK # track the ARM700 swi bug 139 #options PORTMASTER # Enable PortMaster only options 140 #options DIAGNOSTIC # internal consistency checks 141 #options UVMHIST # 142 options DDB # in-kernel debugger 143 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 144 #makeoptions DEBUG="-g" # compile full symbol table 145 146 config netbsd root on ? type ? 147 148 # serial console ... the conaddr is hardcoded as the pioc address + 4*com offset 149 # this really be fixed some day 150 #options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600 151 152 # The main bus device 153 mainbus0 at root 154 155 # The boot CPU 156 cpu0 at mainbus? 157 158 # The IOMD 159 iomd0 at mainbus? 160 161 # system clock via IOMD 162 clock* at iomd? 163 164 # IIC bus device 165 iomdiic* at iomd? 166 iic0 at iomdiic? 167 168 # RTC device via IIC bus 169 pcfrtc* at iic? addr 0x50 170 171 # VIDC device 172 vidc0 at mainbus? 173 174 # WSCONS 175 # ws console uses DUMB, SUN or VT100 terminal emulation 176 #options WSEMUL_NODUMB 177 #options WSEMUL_SUN 178 options WSEMUL_VT100 179 180 options WS_KERNEL_FG=WSCOL_GREEN 181 182 #options WSDISPLAY_COMPAT_RAWKBD 183 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 184 options WSDISPLAY_SCROLLSUPPORT 185 186 vidcvideo0 at vidc? # wscons driver for VIDC 187 wsdisplay* at vidcvideo? console ? # display itself 188 189 iomdkbc* at iomd? # IOMD keyboard/mouse interface 190 191 pckbd* at iomdkbc? slot ? # PS/2 keyboard 192 options PCKBD_LAYOUT=KB_UK 193 wskbd* at pckbd? 194 195 pms* at iomdkbc? slot ? # PS/2 mouse 196 wsmouse* at pms? 197 198 qms* at iomd? # ws quadmouse driver 199 wsmouse* at qms? # wsmouse on ws quadmouse 200 201 pseudo-device wsmux 202 203 # Peripheral IO Controller 204 pioc0 at mainbus? base 0x00210000 205 206 # IDE disk controller 207 wdc0 at pioc? offset 0x01f0 irq 9 208 209 # ATA (IDE) bus support 210 atabus* at ata? 211 212 wd* at atabus? drive ? 213 atapibus* at atapi? 214 cd* at atapibus? drive ? 215 sd* at atapibus? drive ? 216 217 # Floppy disk controller 218 fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000 219 fd0 at fdc? drive ? 220 221 # Serial ports 222 com* at pioc? offset 0x03f8 irq 10 223 224 # Parallel ports 225 lpt* at pioc? offset 0x0278 irq 0 # Old driver 226 #atppc* at pioc? offset 0x0278 irq 0 # New driver 227 #ppbus* at atppc? 228 #lpt* at ppbus? # Parallel printer 229 #plip* at ppbus? # Parallel line IP 230 231 # Audio device 232 vidcaudio0 at vidc? 233 audio* at vidcaudio0 234 235 spkr* at audio? # PC speaker (synthesized) 236 237 # Podule bus device 238 podulebus0 at root 239 240 sec* at podulebus? # Acorn SCSI card 241 scsibus* at sec? 242 243 cosc* at podulebus? # MCS Connect32 SCSI II card 244 scsibus* at cosc? 245 246 ptsc* at podulebus? # Power-Tec SCSI II card 247 scsibus* at ptsc? 248 249 csc* at podulebus? # Cumana SCSI II card 250 scsibus* at csc? 251 252 oak* at podulebus? # Oak SCSI I card 253 scsibus* at oak? 254 255 csa* at podulebus? # Cumana SCSI I adapter 256 scsibus* at csa? 257 258 hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface 259 scsibus* at hcsc? 260 261 sd* at scsibus? target ? lun ? # SCSI disk drives 262 st* at scsibus? target ? lun ? # SCSI tape drives 263 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 264 ch* at scsibus? target ? lun ? # SCSI auto-changers 265 uk* at scsibus? target ? lun ? # SCSI unknown device 266 ss* at scsibus? target ? lun ? # SCSI scanner 267 268 dtide* at podulebus? # D.T. Software IDE card 269 270 hcide* at podulebus? # HCCS IDE card 271 272 icside* at podulebus? # ICS IDE card 273 274 rapide* at podulebus? # Yellowstone RapIDE card 275 276 simide* at podulebus? # Simtec IDE card 277 278 amps* at podulebus? # Atomwide Multi-Port Serial card 279 com* at amps? 280 281 ei* at podulebus? # Ether1 podules 282 ea* at podulebus? # Ether3 podules 283 eb0 at podulebus? # EtherB network slot cards 284 ne* at podulebus? # NE2000 clone cards 285 286 pseudo-device loop # network loopback 287 pseudo-device bpfilter # packet filter 288 pseudo-device carp # Common Address Redundancy Protocol 289 pseudo-device sl # CSLIP 290 pseudo-device ppp # PPP 291 pseudo-device pppoe # PPP over Ethernet (RFC 2516) 292 pseudo-device tun # network tunneling over tty 293 pseudo-device tap # virtual Ethernet 294 #pseudo-device gre # generic L3 over IP tunnel 295 #pseudo-device npf # NPF packet filter 296 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 297 #pseudo-device faith # IPv[46] tcp relay translation i/f 298 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 299 pseudo-device vlan # IEEE 802.1q encapsulation 300 pseudo-device bridge # simple inter-network bridging 301 pseudo-device vether # Virtual Ethernet for bridge 302 pseudo-device agr # IEEE 802.3ad link aggregation 303 pseudo-device pty # pseudo-terminals 304 pseudo-device vnd # disk-like interface to files 305 #options VND_COMPRESSION # compressed vnd(4) 306 pseudo-device ccd # concatenated disk devices 307 #pseudo-device cgd # cryptographic disk devices 308 pseudo-device raid # RAIDframe disk driver 309 options RAID_AUTOCONFIG # auto-configuration of RAID components 310 # Options to enable various other RAIDframe RAID types. 311 # options RF_INCLUDE_EVENODD=1 312 # options RF_INCLUDE_RAID5_RS=1 313 # options RF_INCLUDE_PARITYLOGGING=1 314 # options RF_INCLUDE_CHAINDECLUSTER=1 315 # options RF_INCLUDE_INTERDECLUSTER=1 316 # options RF_INCLUDE_PARITY_DECLUSTERING=1 317 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 318 pseudo-device fss # file system snapshot device 319 pseudo-device md # Ramdisk driver 320 pseudo-device clockctl # user control of clock subsystem 321 pseudo-device drvctl # user control of drive subsystem 322 pseudo-device ksyms # /dev/ksyms 323 pseudo-device putter # for puffs and pud 324 pseudo-device swwdog # software watchdog timer -- swwdog(4) 325 326 # 327 # accept filters 328 pseudo-device accf_data # "dataready" accept filter 329 pseudo-device accf_http # "httpready" accept filter 330 331 include "dev/veriexec.config" 332 333 # If the standard modes don't work for your monitor, you can specify 334 # a RISC-OS-format monitor definition file and a list of modes here. 335 336 #makeoptions MONITOR="Taxan875+LR" 337 #makeoptions MONITOR="AKF60" 338 #makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900" 339 340 # Pull in optional local configuration - always at end 341 cinclude "arch/acorn32/conf/GENERIC.local" 342