1# $OpenBSD: RAMDISK,v 1.120 2003/06/01 13:04:03 miod Exp $ 2 3machine i386 # architecture, used by config; REQUIRED 4 5option SCSITERSE 6option APM_NOPRINT 7 8option I386_CPU # CPU classes; at least one is REQUIRED 9option I486_CPU 10option I586_CPU 11option I686_CPU 12option GPL_MATH_EMULATE # floating point emulation 13 14option SMALL_KERNEL 15option NO_PROPOLICE 16 17#option DUMMY_NOPS # speed hack; recommended 18 19maxusers 4 # estimated number of users 20option TIMEZONE=0 # time zone to adjust RTC time by 21option DST=0 # daylight saving time used by RTC 22 23#makeoptions DEBUG="-g" # compile full symbol table 24 25option FFS # UFS 26option EXT2FS # Linux ext2fs 27 28#option NFSCLIENT # Network File System client 29 30option CD9660 # ISO 9660 + Rock Ridge file system 31option MSDOSFS # MS-DOS file system 32option FIFO # FIFOs; RECOMMENDED 33 34option INET # IP + ICMP + TCP + UDP 35 36option BOOT_CONFIG # boot-time kernel config 37 38option RAMDISK_HOOKS 39option MINIROOTSIZE=3560 40 41config bsd root on rd0a swap on rd0b and wd0b and sd0b 42 43mainbus0 at root 44 45bios0 at mainbus0 46apm0 at bios0 flags 0x0000 # flags 0x0101 to force protocol version 1.1 47#option APMDEBUG 48pcibios0 at bios0 flags 0x0000 49 50isa0 at mainbus0 51isa0 at pcib? 52eisa0 at mainbus0 53pci* at mainbus0 54 55option PCIVERBOSE 56#option EISAVERBOSE 57 58pchb* at pci? dev ? function ? # PCI-Host bridges 59ppb* at pci? dev ? function ? # PCI-PCI bridges 60pci* at ppb? bus ? 61pci* at pchb? bus ? 62pcib* at pci? dev ? function ? # PCI-ISA bridge 63 64# ISA PCMCIA controllers 65pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 66pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 67pcic2 at isa? port 0x3e4 iomem 0xd4000 iosiz 0x4000 68 69# PCI PCMCIA controllers 70pcic* at pci? dev? function ? 71 72# PCMCIA bus support 73pcmcia* at pcic? controller ? socket ? 74 75npx0 at isa? port 0xf0 irq 13 # math coprocessor 76isadma0 at isa? 77isapnp0 at isa? 78 79pckbc0 at isa? # PC keyboard controller 80pckbd* at pckbc? # PC keyboard 81wskbd* at pckbd? console ? 82vga0 at isa? 83vga* at pci? dev ? function ? 84pcdisplay0 at isa? # CGA, MDA, EGA, HGA 85wsdisplay* at vga? console ? 86wsdisplay* at pcdisplay? console ? 87 88pccom0 at isa? port 0x3f8 irq 4 # standard PC serial ports 89pccom1 at isa? port 0x2f8 irq 3 90pccom2 at isa? port 0x3e8 irq 5 91#pccom3 at isa? port 0x2e8 irq 9 92#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 93#pccom* at ast? slave ? 94#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 95#pccom* at boca? slave ? 96#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 97#pccom* at rtfps? slave ? 98pccom* at pcmcia? function ? # PCMCIA modem cards 99pccom* at isapnp? 100 101# option for using CD1400 handshaking for incoming data 102# requires a special cable that exchanges the RTS and DTR lines 103# options CY_HW_RTS 104#cy0 at isa? iomem 0xd4000 irq 12 # ISA cyclom card 105#cy* at pci? # PCI cyclom card 106 107#lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 108#lpt1 at isa? port 0x278 109#lpt2 at isa? port 0x3bc 110 111 112bha0 at isa? port 0x330 irq ? drq ? # BusLogic [57]4X SCSI controllers 113bha1 at isa? disable port 0x334 irq ? drq ? # BusLogic [57]4X SCSI controllers 114bha2 at isa? disable port ? irq ? 115bha* at pci? dev ? function ? 116#bha* at eisa? slot ? # XXX eisa still runs in isa-compat 117scsibus* at bha? 118aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI controllers 119aha1 at isa? port 0x334 irq ? drq ? # Adaptec 154[02] SCSI controllers 120aha* at isapnp? 121scsibus* at aha? 122ahb* at eisa? slot ? # Adaptec 174[024] SCSI controllers 123scsibus* at ahb? 124ahc0 at isa? port ? irq ? # Adaptec 284x SCSI controllers 125ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI controllers 126ahc* at pci? dev ? function ? # Adaptec 2940 SCSI controllers 127scsibus* at ahc? 128#twe* at pcu? dev ? function ? # 3ware Escalade RAID controllers 129#scsibus* at twe? 130#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 131#scsibus* at isp? 132#aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI controllers 133#aic* at isapnp? 134#aic* at pcmcia? function ? # PCMCIA based aic SCSI controllers 135#scsibus* at aic? 136#ncr* at pci? dev ? function ? # NCR 538XX SCSI controllers(old) 137#scsibus* at ncr? 138siop* at pci? dev ? function ? # NCR 538XX SCSI controllers(new) 139scsibus* at siop? 140#adv* at pci? dev ? function ? # AdvanSys 1200A/B and ULTRA SCSI 141#scsibus* at adv? 142#adw* at pci? dev ? function ? # AdvanSys ULTRA WIDE SCSI 143#scsibus* at adw? 144#sea0 at isa? iomem 0xc8000 irq 5 # Seagate ST0[12] SCSI controllers 145#scsibus* at sea? 146#uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI controllers 147#uha1 at isa? port 0x334 irq ? drq ? # UltraStor [13]4f SCSI controllers 148#uha* at eisa? slot ? # UltraStor 24f SCSI controllers 149#scsibus* at uha? 150#wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 151#wds1 at isa? port 0x358 irq 11 drq 5 152#scsibus* at wds? 153 154sd* at scsibus? target ? lun ? # SCSI disk drives 155st* at scsibus? target ? lun ? # SCSI tape drives 156cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 157#ch* at scsibus? target ? lun ? # SCSI autochangers 158#uk* at scsibus? target ? lun ? # SCSI unknown devices 159 160fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 161#fdc1 at isa? port 0x370 irq ? drq ? 162fd* at fdc? drive ? 163 164#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 165 166# IDE controllers 167pciide* at pci ? dev ? function ? flags 0x0000 168 169wdc0 at isa? port 0x1f0 irq 14 flags 0x00 170wdc1 at isa? port 0x170 irq 15 flags 0x00 171wdc* at pcmcia? function ? 172wdc* at isapnp? 173 174# IDE hard drives 175wd* at wdc? channel ? drive ? flags 0x0000 176wd* at pciide? channel ? drive ? flags 0x0000 177 178# ATAPI<->SCSI 179atapiscsi* at wdc? channel ? 180atapiscsi* at pciide? channel ? 181scsibus* at atapiscsi? 182 183#wt0 at isa? port 0x308 irq 5 drq 1 # Archive/Wangtek QIC tapes 184 185we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC 80x3 ethernet series 186we1 at isa? port 0x300 iomem 0xcc000 irq 10 # 187we* at isapnp? 188ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3C503 ethernet card 189ne0 at isa? port 0x240 irq 9 # NE[12]000 ethernet card 190ne1 at isa? port 0x300 irq 10 # NE[12]000 ethernet card 191ne2 at isa? port 0x280 irq 9 # NE[12]000 ethernet 192ne* at isapnp? # NE[12]000 PnP ethernet cards 193#eg0 at isa? port 0x310 irq 5 # 3C505/Etherlink+ ethernet cards 194#el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 195ep0 at isa? port ? irq ? # 3C509 ethernet cards 196ep* at isa? port ? irq ? # 3C509 ethernet cards 197ef* at isapnp? # 3C515 PnP ethernet 198#ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507 199#ie1 at isa? port 0x300 irq 10 # EtherExpress 200le0 at isa? port 0x360 irq 15 drq 6 # IsoLan, NE2100, and DEPCA 201#ex0 at isa? port 0x320 irq 5 # Intel EtherExpress PRO/10 202ep0 at eisa? slot ? 203ep* at eisa? slot ? # 3C579 ethernet cards 204#fea* at eisa? slot ? # DEC DEFEA FDDI cards 205le* at pci? dev ? function ? # PCnet-PCI based ethernet cards 206ep* at isapnp? # 3C509 PnP ethernet cards 207le* at isapnp? 208de* at pci? dev ? function ? # DC21X4X-based ethernet cards 209fxp* at pci? dev ? function ? # EtherExpress 10/100B ethernet cards 210ep0 at pci? dev ? function ? # 3C59x ethernet cards 211ep* at pci? dev ? function ? # 3C59x ethernet cards 212ne* at pci? dev ? function ? # NE2000-compat ethernet cards 213ne* at pcmcia? function ? # PCMCIA based NE2000 cards 214ep* at pcmcia? function ? # PCMCIA based 3c5xx cards 215#sm* at pcmcia? function ? # PCMCIA based sm cards 216#xe* at pcmcia? function ? # Xircom ethernet 217#fpa* at pci? dev ? function ? # DEC DEFPA FDDI cards 218xl* at pci? dev ? function ? # 3C9xx ethernet cards 219rl* at pci? dev ? function ? # RealTek 81[23]9 ethernet 220tx* at pci? dev ? function ? # SMC 83C170 EPIC ethernet cards 221tl* at pci? dev ? function ? # Compaq Thunderlan ethernet cards 222vr* at pci? dev ? function ? # VIA Rhine ethernet 223wb* at pci? dev ? function ? # Winbond W89C840F ethernet 224dc* at pci? dev ? function ? # 21143, "tulip" clone ethernet 225sis* at pci? dev ? function ? # SiS 900/7016 ethernet 226#ste* at pci? dev ? function ? # Sundance ST201 ethernet 227#dc* at pci? dev ? function ? # 21143, "tulip" clone ethernet 228#dc* at cardbus? dev ? function ? # 21143, "tulip" clone ethernet 229#ti* at pci? dev ? function ? # Alteon Tigon 1Gb ethernet 230#skc* at pci? dev ? function ? # SysKonnect GEnesis 984x 231#sk* at skc? # each port of above 232em* at pci? dev ? function ? # Intel Pro/1000 ethernet 233#txp* at pci? dev ? function ? # 3com 3CR990 234#nge* at pci? dev ? function ? # NS DP83820/DP83821 GigE 235#bge* at pci? dev ? function ? # Broadcom BCM570x (aka Tigon3) 236#stge* at pci? dev ? function ? # Sundance TC9021 GigE 237#lge* at pci? dev ? function ? # Level1 LXT1001 GigE 238#hme* at pci? dev ? function ? # Sun Happy Meal 239 240# Wireless network cards 241wi* at pci? dev ? function ? # WaveLAN IEEE 802.11DS 242wi* at pcmcia? function ? # WaveLAN IEEE 802.11DS 243#awi* at pcmcia? function ? # Bay Networks IEEE 802.11FH 244#an* at pcmcia? function ? # Aironet IEEE 802.11DS 245#cnw* at pcmcia? function ? # Xircom Netwave 246#ray* at pcmcia? function ? # Raylink Aviator2.4/Pro 802.11FH 247 248# Media Independent Interface (mii) drivers 249exphy* at mii? phy ? # 3Com internal PHYs 250inphy* at mii? phy ? # Intel 82555 PHYs 251iophy* at mii? phy ? # Intel 82553 PHYs 252icsphy* at mii? phy ? # ICS 1890 PHYs 253#lxtphy* at mii? phy ? # Level1 LXT970 PHYs 254nsphy* at mii? phy ? # NS and compatible PHYs 255nsphyter* at mii? phy ? # NS and compatible PHYs 256qsphy* at mii? phy ? # Quality Semi QS6612 PHYs 257#sqphy* at mii? phy ? # Seeq 8x220 PHYs 258rlphy* at mii? phy ? # RealTek 8139 internal PHYs 259#mtdphy* at mii? phy ? # Myson MTD972 PHYs 260dcphy* at mii? phy ? # Digital Clone PHYs 261amphy* at mii? phy ? # AMD 79C873 PHYs 262tqphy* at mii? phy ? # TDK 78Q212x PHYs 263bmtphy* at mii? phy ? # Broadcom 10/100 PHYs 264ukphy* at mii? phy ? # "unknown" PHYs 265 266pseudo-device loop 1 # network loopback 267#pseudo-device sl 1 # CSLIP 268#pseudo-device ppp 1 # PPP 269pseudo-device bpfilter 1 # packet filter 270pseudo-device rd 1 # ramdisk 271