264 lines
9.8 KiB
Plaintext
264 lines
9.8 KiB
Plaintext
# $NetBSD: DISKLESS,v 1.94 2003/05/15 13:13:23 wiz Exp $
|
|
#
|
|
# DISKLESS -- Generic machine setup for diskless boot.
|
|
# This kernel can be loaded from a bootable floppy (i.e. kernel-copy)
|
|
# and will use NFS for root and swap. (No local disk space needed.)
|
|
#
|
|
|
|
include "arch/i386/conf/std.i386"
|
|
|
|
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
options I386_CPU # CPU classes; at least one is REQUIRED
|
|
options I486_CPU
|
|
options I586_CPU
|
|
options I686_CPU
|
|
options MATH_EMULATE # floating point emulation
|
|
#options VM86 # virtual 8086 emulation
|
|
options USER_LDT # user-settable LDT; used by WINE
|
|
|
|
# The following options override the memory sizes passed in from the boot
|
|
# block. Use them *only* if the boot block is unable to determine the correct
|
|
# values. Note that the BIOS may *correctly* report less that 640k of base
|
|
# memory if the extended BIOS data area is located at the top of base memory
|
|
# (as is the case on most recent systems).
|
|
#options REALBASEMEM=... # size of base memory
|
|
#options REALEXTMEM=... # size of extended memory
|
|
|
|
#options DUMMY_NOPS # speed hack; recommended
|
|
options XSERVER
|
|
options INSECURE # insecure; allow /dev/mem writing for X
|
|
|
|
maxusers 32 # estimated number of users
|
|
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
|
#options NTP # NTP phase/frequency locked loop
|
|
|
|
options DDB # in-kernel debugger
|
|
#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
|
|
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
|
|
#options KGDB # remote debugger
|
|
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
|
|
#makeoptions DEBUG="-g" # compile full symbol table
|
|
options DIAGNOSTIC # internal consistency checks
|
|
options KTRACE # system call tracing via ktrace(1)
|
|
#options KMEMSTATS # kernel memory statistics (vmstat -m)
|
|
|
|
options SYSVMSG # System V-like message queues
|
|
options SYSVSEM # System V-like semaphores
|
|
options SYSVSHM # System V-like memory sharing
|
|
#options SHMMAXPGS=2048 # 2048 pages is the default
|
|
|
|
options USERCONF # userconf(4) support
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
|
|
|
options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
|
|
options COMPAT_09 # NetBSD 0.9
|
|
options COMPAT_10 # NetBSD 1.0
|
|
options COMPAT_11 # NetBSD 1.1
|
|
options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
|
|
options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
|
|
options COMPAT_14 # NetBSD 1.4
|
|
options COMPAT_15 # NetBSD 1.5
|
|
options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
|
|
|
options COMPAT_SVR4 # binary compatibility with SVR4
|
|
#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
|
|
#options COMPAT_LINUX # binary compatibility with Linux
|
|
#options COMPAT_FREEBSD # binary compatibility with FreeBSD
|
|
|
|
options LKM # loadable kernel modules
|
|
|
|
#file-system FFS # UFS
|
|
#file-system EXT2FS # second extended file system (linux)
|
|
#file-system LFS # log-structured file system
|
|
file-system MFS # memory file system
|
|
file-system NFS # Network File System client
|
|
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
#file-system MSDOSFS # MS-DOS file system
|
|
file-system FDESC # /dev/fd
|
|
file-system KERNFS # /kern
|
|
file-system NULLFS # loopback file system
|
|
file-system PORTAL # portal filesystem (still experimental)
|
|
file-system PROCFS # /proc
|
|
file-system UMAPFS # NULLFS + uid and gid remapping
|
|
file-system UNION # union file system
|
|
|
|
#options QUOTA # UFS quotas
|
|
#options NFSSERVER # Network File System server
|
|
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
|
|
# immutable) behave as system flags.
|
|
|
|
#options GATEWAY # packet forwarding
|
|
options INET # IP + ICMP + TCP + UDP
|
|
#options MROUTING # IP multicast routing
|
|
options NS # XNS
|
|
#options NSIP # XNS tunneling over IP
|
|
options ISO,TPIP # OSI
|
|
#options EON # OSI tunneling over IP
|
|
options CCITT,LLC,HDLC # X.25
|
|
#options PFIL_HOOKS # pfil(9) packet filter hooks
|
|
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
|
|
|
config netbsd root on ? type nfs
|
|
#options CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=9600
|
|
|
|
options EISAVERBOSE # verbose EISA device messages
|
|
options PCIVERBOSE # verbose PCI device messages
|
|
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
|
|
options SCSIVERBOSE # verbose SCSI error messages
|
|
|
|
options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
|
|
|
|
mainbus0 at root
|
|
cpu0 at mainbus0
|
|
pci0 at mainbus0 bus ?
|
|
eisa0 at mainbus0
|
|
|
|
#ppb* at pci? dev ? function ? # PCI-PCI bridges
|
|
#pci* at ppb? bus ?
|
|
pchb* at pci? dev ? function ? # PCI-Host bridges
|
|
pci* at pchb?
|
|
pcib* at pci? dev ? function ? # PCI-ISA bridges
|
|
|
|
isa0 at pcib? # ISA on PCI-ISA bridge
|
|
isa0 at mainbus0 # all other ISA
|
|
#isapnp0 at isa? # ISA Plug-and-Play
|
|
|
|
#apm0 at mainbus0 # Advanced power management
|
|
|
|
npx0 at isa? port 0xf0 irq 13 # math coprocessor
|
|
|
|
pc0 at isa? port 0x60 irq 1 # generic PC console device
|
|
|
|
#pcppi0 at isa?
|
|
#sysbeep0 at pcppi?
|
|
|
|
#options COM_HAYESP # adds Hayes ESP serial board support
|
|
com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
|
|
com1 at isa? port 0x2f8 irq 3
|
|
com2 at isa? port 0x3e8 irq 5
|
|
#com3 at isa? port 0x2e8 irq 9
|
|
#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
|
|
#com* at ast? slave ?
|
|
#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
|
|
#com* at boca? slave ?
|
|
#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
|
|
#com* at rtfps? slave ?
|
|
#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
|
|
#cy* at pci? dev ? function ? # Cyclades serial cards
|
|
|
|
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
|
|
lpt1 at isa? port 0x278
|
|
lpt2 at isa? port 0x3bc
|
|
|
|
#aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI controllers
|
|
#aha1 at isa? port 0x334 irq ? drq ? # Adaptec 154[02] SCSI controllers
|
|
#ahb* at eisa? slot ? # Adaptec 174[024] SCSI controllers
|
|
#ahc0 at isa? port ? irq ? # Adaptec 284x SCSI controllers
|
|
#ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI controllers
|
|
#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
|
|
#aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI controllers
|
|
#bha0 at isa? port 0x330 irq ? drq ? # BusLogic [57]4X SCSI controllers
|
|
#bha1 at isa? port 0x334 irq ? drq ? # BusLogic [57]4X SCSI controllers
|
|
#bha* at eisa? slot ?
|
|
#bha* at pci? dev ? function ?
|
|
#sea0 at isa? iomem 0xc8000 irq 5
|
|
#uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI controllers
|
|
#uha1 at isa? port 0x340 irq ? drq ? # UltraStor [13]4f SCSI controllers
|
|
#uha* at eisa? slot ? # UltraStor 24f SCSI controllers
|
|
#wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
|
|
#wds1 at isa? port 0x358 irq 11 drq 5
|
|
#isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
|
|
|
|
#scsibus* at scsi?
|
|
|
|
#sd* at scsibus? target ? lun ? # SCSI disk drives
|
|
#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
|
|
|
|
#fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
|
|
#fdc1 at isa? port 0x370 irq ? drq ?
|
|
#fd* at fdc? drive ?
|
|
|
|
#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
|
|
|
|
#wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
|
|
#wdc1 at isa? port 0x170 irq 15
|
|
#wd* at wdc? drive ?
|
|
#atapibus* at atapi?
|
|
#cd* at atapibus? drive ?
|
|
#sd* at atapibus? drive ?
|
|
|
|
# note: the wt driver conflicts unpleasantly with ed devices at the
|
|
# same I/O address. The probe reprograms their eeproms. Don't
|
|
# uncomment it unless you are actually using it.
|
|
#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
|
|
|
|
we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC and 3C503
|
|
we1 at isa? port 0x250 iomem 0xd8000 irq 9 # ethernet cards
|
|
we2 at isa? port 0x300 iomem 0xcc000 irq 10
|
|
#eg0 at isa? ... # 3C505 ethernet cards
|
|
el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
|
|
ep0 at isa? port ? irq ? # 3C509 ethernet cards
|
|
#ep* at isapnp?
|
|
ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
|
|
ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
|
|
ix0 at isa? port 0x300 irq 10 # EtherExpress/16
|
|
#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
|
|
#le* at depca?
|
|
#nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
|
|
#le* at nele?
|
|
#bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
|
|
#le* at bicc?
|
|
lc0 at isa? port ? iomem ? irq ? # DEC EtherWORKS III (LEMAC)
|
|
ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
|
|
ne1 at isa? port 0x300 irq 10
|
|
ep* at eisa? slot ? # 3C579 ethernet cards
|
|
fea* at eisa? slot ? # DEC DEFEA FDDI cards
|
|
le* at pci? dev ? function ? # PCnet-PCI based ethernet cards
|
|
ep* at pci? dev ? function ? # 3C59x/3C90x ethernet cards
|
|
fpa* at pci? dev ? function ? # DEC DEFPA FDDI cards
|
|
fxp* at pci? dev ? function ? # Intel EEPRO 10/100B
|
|
ne* at pci? dev ? function ? # NE2000-compatible eth cards
|
|
tlp* at pci? dev ? function ? # DECchip 21x4x and clones
|
|
|
|
ukphy* at mii? phy ? # generic unknown PHYs
|
|
|
|
#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
|
|
#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
|
|
|
|
#sb0 at isa? port 0x220 irq 7 drq 1 # SoundBlaster
|
|
#sb* at isapnp?
|
|
#wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System
|
|
#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
|
|
#gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
|
|
#spkr0 at pcppi?
|
|
|
|
#audio* at audiobus?
|
|
|
|
# Joystick driver. Probe is a little strange; add only if you have one.
|
|
#joy0 at isa? port 0x201
|
|
#joy* at isapnp?
|
|
|
|
# Planetconnect Satellite receiver driver.
|
|
#satlink0 at isa? port 0x300 drq 1
|
|
|
|
include "arch/i386/conf/GENERIC.local"
|
|
|
|
pseudo-device loop 1 # network loopback
|
|
pseudo-device bpfilter 4 # packet filter
|
|
pseudo-device sl 2 # CSLIP
|
|
pseudo-device ppp 2 # PPP
|
|
pseudo-device tun 2 # network tunneling over tty
|
|
#pseudo-device ipfilter # IP filter
|
|
|
|
pseudo-device pty # pseudo-terminals
|
|
pseudo-device tb 1 # tablet line discipline
|
|
#pseudo-device vnd 4 # paging to files
|
|
#pseudo-device ccd 4 # concatenated disk devices
|
|
pseudo-device clockctl # user control of clock subsystem
|