# $FabBSD$ # $OpenBSD: GENERIC,v 1.633 2008/08/02 16:09:29 oga Exp $ # # MILL5501: Soekris net5501 controlling a 3-axis CNC milling machine. # machine i386 include "../../../conf/GENERIC" maxusers 80 # Estimated number of users option USER_PCICONF # User-space PCI configuration option KVM86 # Kernel Virtual 8086 emulation option USER_LDT # User-settable LDT; see i386_set_ldt(2) # or use root on nfs swap on nfs config bsd swap generic mainbus0 at root cpu0 at mainbus? bios0 at mainbus0 apm0 at bios0 flags 0x0000 # Flags 0x0101 = protocol version 1.1 pcibios0 at bios0 flags 0x0000 # Use 0x30 for a total verbose amdmsr0 at mainbus? # MSR for AMD Geode LX CPUs with GP option PCIVERBOSE option EISAVERBOSE option USBVERBOSE isa0 at mainbus0 isa0 at pcib? isa0 at gscpcib? pci* at mainbus0 pchb* at pci? # PCI-Host bridges ppb* at pci? # PCI-PCI bridges pci* at ppb? pci* at pchb? pcib* at pci? # PCI-ISA bridge gscpcib* at pci? # NS Geode SC1100 PCI-ISA bridge gpio0 at gscpcib? #elansc* at pci? # AMD Elan SC520 System Controller #gpio* at elansc? geodesc* at pci? # Geode SC1100/SCx200 IAOC #gscpm* at pci? # NS Geode SC1100 SMI/ACPI module nsclpcsio0 at isa0 port 0x2e # NS PC87366 LPC Super I/O #nsclpcsio* at isa? port 0x4e gpio1 at nsclpcsio? # USB Controllers ehci* at pci? # Enhanced Host Controller ohci* at pci? # Open Host Controller # USB bus support usb* at ehci? usb* at ohci? # USB devices uhub* at usb? # USB Hubs uhub* at uhub? # USB Hubs umass* at uhub? # USB Mass Storage devices scsibus* at umass? atapiscsi* at umass? ugen* at uhub? # USB Generic driver #uow* at uhub? # Maxim/Dallas DS2490 1-Wire adapter #onewire* at uow? npx0 at isa? port 0xf0 irq 13 # Math coprocessor isadma0 at isa? isapnp0 at isa? option WSDISPLAY_COMPAT_USL # VT handling option WSDISPLAY_COMPAT_RAWKBD # Provide raw scancodes; needed for X11 option WSDISPLAY_DEFAULTSCREENS=6 # Initial number of text consoles option WSDISPLAY_COMPAT_PCVT # Emulate some ioctls; needed for X11 pcppi0 at isa? com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports #com1 at isa? port 0x2f8 irq 3 # (reserve for cnclcd(4) output) sd* at scsibus? # SCSI disk drives cd* at scsibus? # SCSI CD-ROM drives uk* at scsibus? # Unknown SCSI # IDE controllers pciide* at pci? flags 0x0000 # IDE hard drives wd* at pciide? flags 0x0000 # ATAPI<->SCSI atapiscsi* at pciide? scsibus* at atapiscsi? # Networking devices vr* at pci? # VIA Rhine ethernet sis* at pci? # VIA Rhine ethernet ukphy* at mii? # "Unknown" PHYs nsphyter* at mii? # crypto support #hifn* at pci? # Hi/fn 7751 crypto card # GPIO ``pin bus'' drivers #gpioiic* at gpio? offset 0 mask 0x3 # I2C bus bit-banging #iic* at gpioiic? #gpioow* at gpio? offset 0 mask 0x1 # 1-Wire bus bit-banging #onewire* at gpioow? # 1-Wire devices #option ONEWIREVERBOSE #owid* at onewire? # ID #owsbm* at onewire? # Smart Battery Monitor #owtemp* at onewire? # Temperature # Motion control devices option MOTIONCONTROL # Real-time motion control extensions servo0 at gpio1 offset 4 mask 0x3 # Servo / stepper motor controller servo1 at gpio1 offset 10 mask 0x3 # Servo / stepper motor controller servo2 at gpio1 offset 16 mask 0x3 # Servo / stepper motor controller mpg0 at gpio1 offset 18 mask 0x1f # Manual pulse generator estop0 at gpio1 offset 23 mask 0x1 flags 0x0001 # Emergency stop #encoder0 at gpio1 offset 6 mask 0x3 # Position-sensing encoder (quadrature) #cncstatled0 at gpio2 offset 6 mask 0x1 # Status LED (net5501 error LED) #cnclcd0 at isa? port 0x2f8 irq 3 # LCD display (via NS16450/NS16550 UART) pseudo-device pctr 1 pseudo-device mtrr 1 # Memory range attributes control pseudo-device nvram 1