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