# $OpenBSD: SUN4M,v 1.43 2002/08/31 10:47:18 miod Exp $ # $NetBSD: GENERIC,v 1.28.2.1 1996/07/02 23:55:22 jtc Exp $ # Machine architecture; required by config(8) machine sparc include "../../../conf/GENERIC" # This is a 4m specific kernel. # NOTE: Cypress mbus cpus are not pure 4m, and require # either SUN4C or SUN4M to be specified as well option SUN4M # sun4m - SS10, SS20, Classic, etc. #option KGDB # support for kernel gdb #option KGDBDEV=0xc01 # kgdb device number (dev_t) #option KGDBRATE=38400 # baud rate # Options for SPARCstation hardware option COMPAT_SUNOS # compatibility with SunOS binaries option COMPAT_SVR4 # compatibility with SVR4 binaries maxusers 32 # estimated number of users # Generic swap; second partition of root disk or network. config bsd swap generic # Main bus and CPU .. all systems. mainbus0 at root cpu0 at mainbus0 # Bus types found on SPARC systems. obio0 at mainbus0 # sun4 and sun4m iommu0 at mainbus0 # sun4m sbus0 at iommu0 # sun4m audioamd0 at obio0 # sun4m audioamd0 at sbus0 slot ? offset ? # sun4m audio* at audioamd? audiocs0 at sbus0 slot ? offset ? # sun4m audio* at audiocs? auxreg0 at obio0 # sun4m # Power status and control register found on Sun4m systems power0 at obio0 # Mostek clock found on 4/300, sun4c, and sun4m systems. clock0 at obio0 # sun4m # Memory error registers. memreg0 at obio0 # sun4m # Timer chip found on 4/300, sun4c, and sun4m systems. timer0 at obio0 # sun4m # 8 segment led display on sun4/sun4m systems led0 at obio0 # sun4m # Zilog 8530 serial chips. Each has two-channels. # zs0 is ttya and ttyb. zs1 is the keyboard and mouse. zs0 at obio0 # sun4m zs1 at obio0 # sun4m zstty* at zs? channel ? zskbd* at zs? channel ? wskbd* at zskbd? console ? # Magma serial/parallel port devices magma* at sbus? slot ? offset ? # magma serial cards mtty* at magma? mbpp* at magma? # SUNW,spif serial/parallel port devices spif* at sbus? slot ? offset ? # spif serial cards stty* at spif? sbpp* at spif? # SUNW,xbox SBus Expansion Subsystem xbox* at sbus? slot ? offset ? # SBus Expansion box sbus* at xbox? # # Note the flags on the esp entries below, that work around # deficiencies in the current driver: # bits 0-7: disable disconnect/reselect for the corresponding target # bits 8-15: disable synch negotiation for target [bit-8] # Note: targets 4-7 have disconnect/reselect enabled on the premise # that tape devices normally have one of these targets. Tape # devices should be allowed to disconnect for the SCSI bus # to operate acceptably. # # sun4c or sun4m SCSI - an NCR53c94 or equivalent behind # specialized DMA glue dma0 at sbus0 slot ? offset ? # on-board SCSI esp0 at dma0 flags 0xff0f # sun4m # FSBE/S SCSI - an NCR53c94 or equivalent behind dma* at sbus? slot ? offset ? # SBus SCSI esp* at sbus? slot ? offset ? flags 0xff0f # two flavours esp* at dma? flags 0xff0f # depending on model #sun4c, sun4m isp* at sbus? slot ? offset ? # sun4m Ethernet - an AMD 7990 LANCE behind # specialized DMA glue ledma0 at sbus0 slot ? offset ? # sun4m on-board le0 at ledma0 # # Additional SBus LANCE devices - glued on by lebuffer lebuffer0 at sbus0 slot ? offset ? # sun4m SBus lebuffer* at sbus? slot ? offset ? # sun4m SBus le0 at lebuffer0 # le* at lebuffer? # # HappyMeal ethernet hme* at sbus? slot ? offset ? # Media Independent Interface (mii) drivers (required by hme) nsphy* at mii? phy ? # NS and compatible PHYs qsphy* at mii? phy ? # Quality Semi QS6612 PHYs # Quad-ethernet glue device, and sub-devices qec* at sbus? slot ? offset ? qe* at qec? be* at qec? # Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m # systems. bwtwo* at sbus? slot ? offset ? # sun4c and sun4m wsdisplay* at bwtwo? # Sun "cgthree" Sbus color framebuffer. cgthree* at sbus? slot ? offset ? wsdisplay* at cgthree? # Sun "cgsix" accelerated color framebuffer. cgsix* at sbus? slot ? offset ? wsdisplay* at cgsix? # Sun "tcx" accelerated color framebuffer. tcx* at sbus? slot ? offset ? wsdisplay* at tcx? # Sun "cgfourteen" accelerated 24-bit framebuffer. cgfourteen0 at obio0 addr 0x9c000000 # sun4m cgfourteen1 at obio0 addr 0x90000000 # sun4m wsdisplay* at cgfourteen? # Sun "cgtwelve" (GS) accelerated 24-bit framebuffer. cgtwelve* at sbus? slot ? offset ? wsdisplay* at cgtwelve? # Vigra VS10 or VS12 framebuffer. vigra* at sbus? slot ? offset ? wsdisplay* at vigra? # Weitek p9100 found on Tadpole 3GS/3GX pnozz0 at sbus? slot ? offset ? wsdisplay* at pnozz? # Microcontroller found on Tadpole tctrl0 at obio0 # SCSI bus layer. SCSI devices attach to the SCSI bus, which attaches # to the underlying hardware controller. scsibus* at esp? scsibus* at isp? # These entries find devices on all SCSI busses and assign # unit numers dynamically. sd* at scsibus? target ? lun ? # SCSI disks st* at scsibus? target ? lun ? # SCSI tapes cd* at scsibus? target ? lun ? # SCSI CD-ROMs ch* at scsibus? target ? lun ? # SCSI changer devices ss* at scsibus? target ? lun ? # SCSI scanners uk* at scsibus? target ? lun ? # unknown SCSI devices # Floppy controller and drive found on SPARCstations. fdc0 at obio0 # sun4m controller fd* at fdc0 # the drive itself #pseudo-device strip 1 # radio clock