Home | History | Annotate | Line # | Download | only in conf
files.dreamcast revision 1.16
      1 #	$NetBSD: files.dreamcast,v 1.16 2002/03/08 13:22:11 uch Exp $
      2 #
      3 # new style config file for dreamcast
      4 #
      5 
      6 # maxpartitions must be first item in files.${MACHINE}
      7 maxpartitions 8
      8 
      9 maxusers 2 16 64
     10 
     11 include "dev/wscons/files.wscons"
     12 include "dev/rasops/files.rasops"
     13 include "dev/wsfont/files.wsfont"
     14 
     15 include "dev/i2o/files.i2o"
     16 include "dev/pci/files.pci"
     17 
     18 file	arch/dreamcast/dreamcast/conf.c
     19 file	arch/dreamcast/dreamcast/machdep.c
     20 file	arch/dreamcast/dreamcast/autoconf.c
     21 file	arch/dreamcast/dreamcast/procfs_machdep.c	procfs
     22 file	arch/dreamcast/dreamcast/clock_machdep.c
     23 file	arch/sh3/sh3/disksubr.c				disk
     24 
     25 defparam opt_memsize.h	IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE
     26 
     27 #
     28 # Machine-independent SCSI drivers
     29 #
     30 
     31 include "dev/scsipi/files.scsipi"
     32 major	{sd = 4}
     33 major	{st = 5}
     34 major	{cd = 6}
     35 
     36 #
     37 # Machine-independent ATA drivers
     38 #
     39 
     40 include "dev/ata/files.ata"
     41 major	{wd = 0}
     42 
     43 # Memory Disk for install floppy
     44 file dev/md_root.c				memory_disk_hooks
     45 major	{md = 17}
     46 
     47 #
     48 # System bus types
     49 #
     50 
     51 define mainbus { }
     52 device	mainbus: mainbus
     53 attach	mainbus at root
     54 file	arch/dreamcast/dreamcast/mainbus.c	mainbus
     55 
     56 include "arch/dreamcast/conf/files.shbus"
     57 
     58 # network devices MII bus
     59 include "dev/mii/files.mii"
     60 
     61 device maple { [port = -1], [subunit = -1] }
     62 attach maple at shb
     63 file	arch/dreamcast/dev/maple/maple.c		maple	needs-flag
     64 
     65 device	mkbd: wskbddev
     66 attach	mkbd at maple
     67 file	arch/dreamcast/dev/maple/mkbd.c			mkbd	needs-flag
     68 
     69 device	mms: wsmousedev
     70 attach	mms at maple
     71 file	arch/dreamcast/dev/maple/mms.c			mms	needs-flag
     72 
     73 device	pvr: wsemuldisplaydev, rasops16
     74 attach	pvr at shb
     75 file	arch/dreamcast/dev/pvr.c			pvr	needs-flag
     76 
     77 device	gdrom: disk
     78 attach	gdrom at shb
     79 file	arch/dreamcast/dev/gdrom.c			gdrom	needs-flag
     80 major	{gdrom = 19}
     81 
     82 device	g2bus { }
     83 attach	g2bus at shb
     84 file	arch/dreamcast/dev/g2/g2bus.c			g2bus
     85 file	arch/dreamcast/dev/g2/g2bus_bus_mem.c		g2bus
     86 
     87 device	gapspci: pcibus
     88 attach	gapspci at g2bus
     89 file	arch/dreamcast/dev/g2/gapspci.c			gapspci
     90 file	arch/dreamcast/dev/g2/gapspci_dma.c		gapspci
     91 file	arch/dreamcast/dev/g2/gapspci_pci.c		gapspci
     92