### START CONFIG FILE "WUFF"
#
# jschauma's IBM Thinkpad T30
#
include         "arch/i386/conf/std.i386"

options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary

maxusers        8                       # estimated number of users

# CPU support.  At least one is REQUIRED.
options         I686_CPU

# CPU-related options.
options         MATH_EMULATE    # floating point emulation
options         VM86            # virtual 8086 emulation
options         USER_LDT        # user-settable LDT; used by WINE

options         MTRR            # memory-type range register syscall support
options         PERFCTRS        # performance-monitoring counters support

# Standard system options

options         UCONSOLE        # users can use TIOCCONS (for xconsole)
options         INSECURE        # disable kernel security levels - X needs this

options         RTC_OFFSET=0    # hardware clock is this many mins. west of GMT
options         NTP             # NTP phase/frequency locked loop

options         KTRACE          # system call tracing via ktrace(1)
options         SYSTRACE        # system call vetting via systrace(1)

options         SYSVMSG         # System V-like message queues
options         SYSVSEM         # System V-like semaphores
options         SYSVSHM         # System V-like memory sharing

# Diagnostic/debugging support options
options         DDB             # in-kernel debugger
options         DDB_HISTORY_SIZE=512    # enable history editing in DDB

# Compatibility options
options         COMPAT_BSDPTY
options         COMPAT_20
options         COMPAT_LINUX    # binary compatibility with Linux

# File systems
file-system     FFS             # UFS
#file-system    EXT2FS          # second extended file system (linux)
file-system     MFS             # memory file system
file-system     NFS             # Network File System client
file-system     CD9660          # ISO 9660 + Rock Ridge file system
file-system     FDESC           # /dev/fd
file-system     KERNFS          # /kern
file-system     NULLFS          # loopback file system
file-system     PROCFS          # /proc
file-system     MSDOSFS         # MS-DOS file system
file-system     PTYFS           # /dev/ptm support

# File system options
options         SOFTDEP         # FFS soft updates support.

# Networking options
options         INET            # IP + ICMP + TCP + UDP
#options        IPSEC           # IP security
#options        IPSEC_ESP       # IP security (encryption part; define w/IPSEC)
#options        IPFILTER_LOG    # ipmon(8) log support

options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#
# wscons options
#
# builtin terminal emulations
options         WSEMUL_VT100            # VT100 / VT220 emulation
# different kernel output - see dev/wscons/wsdisplayvar.h
options         WS_KERNEL_FG=WSCOL_MAGENTA
# compatibility to other console drivers
options         WSDISPLAY_COMPAT_PCVT           # emulate some ioctls
options         WSDISPLAY_COMPAT_SYSCONS        # emulate some ioctls
options         WSDISPLAY_COMPAT_USL            # VT handling
options         WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
# use a large software cursor that doesn't blink
options         PCDISPLAY_SOFTCURSOR

# Kernel root file system and dump configuration.
config          netbsd  root on ? type ?

#
# Device configuration
#

mainbus0 at root
cpu* at mainbus?

# SMP
ioapic*                at mainbus? apid ?
options                MULTIPROCESSOR
options                MPBIOS
options                COM_MPLOCK      # com MP locking; REQUIRED on MP i386
options                APM_NO_IDLE

apm0    at mainbus0                     # Advanced power management

pnpbios0 at mainbus0
# Tuning for power management, see apm(4) for more details.
#options        APM_NO_IDLE             # Don't call BIOS CPU idle function
#options        APM_V10_ONLY            # Use only the APM 1.0 calls
#options        APM_NO_POWEROFF         # Don't power off on halt(8)
#options        APM_POWER_PRINT         # Print stats on the console
#options        APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts

com* at pnpbios? index ?

# Basic Bus Support

# PCI bus support
pci*   at mainbus? bus ?
pci*   at pchb? bus ?
pci*   at ppb? bus ?


# PCI bridges
pchb*   at pci? dev ? function ?        # PCI-Host bridges
pcib*   at pci? dev ? function ?        # PCI-ISA bridges
ppb*    at pci? dev ? function ?        # PCI-PCI bridges

# ISA bus support
isa*   at mainbus?
isa*   at pcib?


# PCMCIA bus support
pcic0 at pci? dev ? function ?
pcmcia* at pcic? controller ? socket ?

# ISA Plug-and-Play bus support
isapnp0 at isa?

# CardBus bridge support
cbb*            at pci? dev ? function ?
cardslot*       at cbb?

# CardBus bus support
cardbus*        at cardslot?
pcmcia*         at cardslot?

# Coprocessor Support

# Math Coprocessor support
npx0    at isa? port 0xf0 irq 13        # x86 math coprocessor

# Console Devices

# wscons
pckbc0          at isa?                 # pc keyboard controller
pckbd*          at pckbc?               # PC keyboard
pms*            at pckbc?               # PS/2 mouse for wsmouse
vga*            at pci? dev ? function ?
wsdisplay*      at vga? console ?
wskbd*          at pckbd? console ?
wsmouse*        at pms? mux 0

lms0    at      isa? port 0x23c irq 5
lms1    at      isa? port 0x238 irq 5
mms0    at      isa? port 0x23c irq 5
mms1    at      isa? port 0x238 irq 5
wsmouse*        at lms? mux 0
wsmouse*        at mms? mux 0

pcppi0          at isa?
sysbeep0        at pcppi?

# ISA serial interfaces
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

# ATA (IDE) bus support
atabus* at ata?
wd*     at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*     at atapibus? drive ? #flags 0x0000      # ATAPI CD-ROM drives

# IDE and related devices
pciide*         at pci? dev ? function ? flags 0x0000   # GENERIC pciide driver
piixide*        at pci? dev ? function ?        # Intel IDE controllers


# Miscellaneous mass storage devices

# ISA floppy
fdc0    at isa? port 0x3f0 irq 6 drq 2  # standard PC floppy controllers
fd*     at fdc? drive ?                 # the drives themselves

# Audio Devices

# PCI audio devices
auich*  at pci? dev ? function ?        # Intel ICH integrated AC'97 Audio

# Audio support
audio*  at audiobus?

# MIDI support
midi*   at pcppi?               # MIDI interface to the PC speaker

# Network Interfaces

# PCI network interfaces
bge*    at pci? dev ? function ?
iwi*    at pci? dev ? function ?

ukphy*  at mii? phy ?                   # generic unknown PHYs
brgphy* at mii? phy ?

# USB Controller and Devices

# PCI USB controllers
# The EHCI is not ready for prime time.
uhci*   at pci? dev ? function ?        # Universal Host Controller (Intel)

# USB bus support
usb*    at uhci?

# USB Hubs
uhub*   at usb?
uhub*   at uhub? port ? configuration ? interface ?

# USB HID device
uhidev* at uhub? port ? configuration ? interface ?

# USB Generic HID devices
uhid*   at uhidev? reportid ?

# USB Printer
ulpt*   at uhub? port ? configuration ? interface ?

# USB Modem
umodem* at uhub? port ? configuration ?
ucom*   at umodem?

# USB Mass Storage
umass*  at uhub? port ? configuration ? interface ?
#wd* at umass?

scsibus* at umass?
scsibus* at scsi?
sd*     at scsibus? target ? lun ?      # SCSI disk drives

# Prolific PL2301/PL2302 host-to-host adapter
upl*    at uhub? port ?

# USB Generic driver
ugen*   at uhub? port ?

# Pull in optional local configuration
include "arch/i386/conf/GENERIC.local"

# Pseudo-Devices

# disk/mass storage pseudo-devices
pseudo-device   md              1       # memory disk device (ramdisk)
pseudo-device   vnd             4       # disk-like interface to files

# network pseudo-devices
pseudo-device   bpfilter        8       # Berkeley packet filter (req. for dhclient)
pseudo-device   ipfilter                # IP filter (firewall) and NAT
pseudo-device   loop                    # network loopback

# miscellaneous pseudo-devices
pseudo-device   pty                     # pseudo-terminals
pseudo-device   rnd                     # /dev/random and in-kernel generator
pseudo-device   cgd             4       # cryptographics disk

pseudo-device   wsmux
pseudo-device   wsfont
### END CONFIG FILE "WUFF"