Home | History | Annotate | Line # | Download | only in conf
files.shark revision 1.4
      1 #	$NetBSD: files.shark,v 1.4 2002/04/19 01:43:48 wiz Exp $
      2 #
      3 # First try for arm-specific configuration info
      4 #
      5 
      6 maxpartitions	8
      7 maxusers 2 8 64
      8 
      9 # COMPAT_OLD_OFW for SHARKs
     10 defflag	COMPAT_OLD_OFW
     11 
     12 # Maintain Interrupt statistics
     13 defflag	IRQSTATS
     14 
     15 # X server support in console drivers
     16 defflag	XSERVER
     17 
     18 # Bootloader options (COMPAT... to be dropped ASAP)
     19 defflag	COMPAT_OLD_BOOTLOADER
     20 
     21 define todservice {}
     22 
     23 #
     24 # ISA and mixed ISA+EISA or ISA+PCI drivers
     25 #
     26 include "dev/isa/files.isa"
     27 
     28 # Include WSCONS stuff
     29 include "dev/wscons/files.wscons"
     30 include "dev/rasops/files.rasops"
     31 include "dev/wsfont/files.wsfont"
     32 
     33 #
     34 # Machine-independent ATA drivers
     35 #
     36 include "dev/ata/files.ata"
     37 major	{wd = 16}
     38 
     39 # Common OFW files
     40 include "dev/ofw/files.ofw"
     41 include "arch/arm/ofw/files.ofw"
     42 attach	ofbus at root with ofbus_root
     43 file	arch/shark/ofw/ofw.c
     44 file	arch/shark/ofw/oftodclock.c
     45 
     46 # OFW console initialization
     47 file	arch/shark/ofw/consinit.c
     48 file	dev/cninit.c
     49 
     50 # ISA DMA glue
     51 file	arch/shark/isa/isadma_machdep.c		isadma
     52 
     53 # Game adapter (joystick)
     54 file	arch/shark/isa/joy_timer.c		joy
     55 
     56 # OFW ISA bus driver.
     57 include "dev/ofisa/files.ofisa"
     58 file	arch/shark/ofw/ofisa_machdep.c		ofisa
     59 file	arch/shark/ofw/com_ofisa_machdep.c	com_ofisa
     60 file	arch/shark/ofw/com_ofisa_consolehack.c	com_ofisa	# XXX
     61 file	arch/shark/ofw/if_cs_ofisa_machdep.c	cs_ofisa
     62 file	arch/shark/ofw/lpt_ofisa_machdep.c	lpt_ofisa
     63 file	arch/shark/ofw/wdc_ofisa_machdep.c	wdc_ofisa
     64 
     65 # Glue for OFW ISA device attachment
     66 device	ofisapc {}
     67 attach	ofisapc at ofbus
     68 file	arch/shark/ofw/ofisapc.c		pc
     69 device	ofisascr {}
     70 attach	ofisascr at ofisa
     71 file	arch/shark/ofw/ofisascr.c		scr
     72 
     73 device	ofrom
     74 attach	ofrom at ofbus
     75 file	arch/shark/ofw/ofrom.c			ofrom	needs-flag
     76 
     77 # Memory disk driver
     78 file	dev/md_root.c				md & memory_disk_hooks
     79 major	{md = 18}
     80 
     81 # RAIDframe
     82 major	{raid = 71}
     83 
     84 # attribute used to represent the "keyboard controller" on the shark
     85 # XXX should be a real device
     86 define	spckbd { [irq = -1], [port = -1] }
     87 
     88 # PS/2 mouse device
     89 device	opms: tty
     90 file	arch/shark/shark/opms.c			opms needs-flag
     91 
     92 attach	opms at spckbd with opms
     93 
     94 device	todclock
     95 attach	todclock at todservice
     96 file	arch/shark/dev/todclock.c		todclock	needs-count
     97 
     98 #
     99 # Machine-independent SCSI drivers
    100 #
    101 
    102 include "dev/scsipi/files.scsipi"
    103 major	{sd = 24}
    104 major	{cd = 26}
    105 
    106 # Generic MD files
    107 file	arch/shark/shark/autoconf.c
    108 file	arch/shark/shark/conf.c
    109 
    110 file	arch/arm/arm/disksubr.c			disk
    111 file	arch/arm/arm/disksubr_acorn.c		disk
    112 file	arch/arm/arm/disksubr_mbr.c		disk
    113 
    114 file	arch/arm/arm32/intr.c
    115 file	arch/arm/arm32/spl.S
    116 
    117 # Shark specific files
    118 file	arch/shark/shark/shark_machdep.c	shark
    119 file	arch/shark/shark/sequoia.c		shark
    120 file	arch/shark/shark/shark_fiq.S		shark
    121 file	arch/shark/shark/hat.c			shark
    122 file	arch/shark/isa/isa_irqhandler.c		shark
    123 file	arch/shark/isa/clock.c			shark
    124 file	arch/shark/isa/isa_irq.S		shark
    125 file	arch/shark/isa/isa_shark_machdep.c	shark
    126 file	arch/shark/isa/isa_io.c			shark | isa
    127 file	arch/shark/isa/isa_io_asm.S		shark | isa
    128 
    129 # National Semiconductor PC97307VUL SuperIO chip configuration routines
    130 define	nsio
    131 file	arch/shark/shark/ns87307.c		nsio & shark
    132 
    133 # 8042 microcontroller routines for keyboard and mouse
    134 define	i8042
    135 file	arch/shark/shark/i8042.c		i8042
    136 
    137 defpseudo profiler: disk
    138 file	arch/shark/shark/profile.c		profiler needs-flag
    139 
    140 # SHARK pc console
    141 device	pc: tty, spckbd, i8042
    142 attach	pc at ofisapc
    143 file	arch/shark/shark/pccons.c		pc needs-flag
    144 
    145 # Smart Card Reader
    146 device	scr: tty
    147 file	arch/shark/shark/scr.c			scr needs-flag
    148 attach	scr at ofisascr
    149