Home | History | Annotate | Line # | Download | only in conf
      1 # $NetBSD: files.sbmips,v 1.18 2022/03/04 21:12:03 andvar Exp $
      2 
      3 maxpartitions 8
      4 
      5 maxusers 1 8 64
      6 
      7 file arch/sbmips/sbmips/autoconf.c
      8 file arch/sbmips/sbmips/machdep.c
      9 file arch/sbmips/sbmips/console.c
     10 file arch/sbmips/sbmips/disksubr.c
     11 file arch/sbmips/sbmips/systemsw.c
     12 file dev/cons.c
     13 
     14 file arch/sbmips/sbmips/sb1250_icu.c
     15 
     16 file arch/mips/cfe/cfe_api.c
     17 file arch/mips/mips/mips3_clock.c
     18 file arch/mips/mips/bus_dma.c
     19 
     20 ###
     21 ### MI device inclusion
     22 ###
     23 
     24 # Stack-less Just-In-Time compiler
     25 include	"external/bsd/sljit/conf/files.sljit"
     26 
     27 # Machine-independent I2O drivers.
     28 include "dev/i2o/files.i2o"
     29 
     30 # Machine-independent SCSI drivers
     31 include "dev/scsipi/files.scsipi"
     32 
     33 # Machine-independent ATA drivers
     34 include "dev/ata/files.ata"
     35 
     36 # Memory Disk
     37 file	dev/md_root.c			memory_disk_hooks
     38 
     39 # ISA Bus support
     40 include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
     41 include "dev/isa/files.isa"
     42 # XXXCGD machdep isa files
     43 
     44 # PC Keyboard Controller support
     45 include "dev/pckbport/files.pckbport"
     46 
     47 # XXXCGD lots of junk isa devices, e.g. fd
     48 
     49 # ISA Plug 'n Play devices
     50 file	arch/alpha/isa/isapnp_machdep.c	isapnp
     51 
     52 # PCI Bus support
     53 # include "dev/pci/files.pci" XXX SEE ABOVE
     54 #file	arch/sbmips/dev/pci/pci_machdep.c	pci
     55 # XXXCGD macdep pci files
     56 
     57 # XXXX pcic here because it needs to be late.  The catch: pcic needs
     58 # to be late, so devices which attach to it are attached late.  But it
     59 # needs to be before its isa and pci attachments.  This answer is
     60 # non-optimal, but I don't have a better answer right now.
     61 
     62 # PCIC pcmcia controller
     63 # XXX this needs to be done very late, so it's done here.  This feels
     64 # like a kludge, but it might be for the best.
     65 
     66 defparam PCIC_ISA_ALLOC_IOBASE
     67 defparam PCIC_ISA_ALLOC_IOSIZE
     68 defparam PCIC_ISA_INTR_ALLOC_MASK
     69 
     70 device	pcic: pcmciabus
     71 file	dev/ic/i82365.c			pcic
     72 
     73 # PCIC pcmcia controller on ISA bus.
     74 attach	pcic at isa with pcic_isa
     75 file	dev/isa/i82365_isa.c		pcic_isa
     76 
     77 # PCIC pcmcia controller on PCI bus.
     78 attach	pcic at pci with pcic_pci
     79 file	dev/pci/i82365_pci.c		pcic_pci
     80 
     81 # PCIC pcmcia controller on PnP board
     82 attach pcic at isapnp with pcic_isapnp
     83 file	dev/isapnp/i82365_isapnp.c	pcic_isapnp
     84 
     85 # Code common to ISA and ISAPnP attachments
     86 file	dev/isa/i82365_isasubr.c	pcic_isa | pcic_isapnp | pcic_pci
     87 
     88 
     89 # this wants to be probed as late as possible.
     90 #
     91 # Machine-independent PCMCIA drivers
     92 #
     93 #XXXCGD can't yet because needs fdc include "dev/pcmcia/files.pcmcia"
     94 #
     95 # Machine-independent USB device support
     96 #
     97 include "dev/usb/files.usb"
     98 
     99 ###
    100 ### SBMIPS DEVICES
    101 ###
    102 
    103 # Ze Big Bus: main system bus
    104 device	zbbus {[busid = -1]}
    105 attach	zbbus at root
    106 file	arch/sbmips/sbmips/zbbus.c		zbbus
    107 
    108 # CPUs
    109 device	cpu
    110 attach	cpu at zbbus
    111 file	arch/sbmips/sbmips/cpu.c		cpu
    112 
    113 include "arch/evbmips/conf/majors.evbmips"
    114