1# $NetBSD: files.shark,v 1.5 2002/09/06 13:18:43 gehenna 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# 34# Machine-independent ATA drivers 35# 36include "dev/ata/files.ata" 37 38# Common OFW files 39include "dev/ofw/files.ofw" 40include "arch/arm/ofw/files.ofw" 41attach ofbus at root with ofbus_root 42file arch/shark/ofw/ofw.c 43file arch/shark/ofw/oftodclock.c 44 45# OFW console initialization 46file arch/shark/ofw/consinit.c 47file dev/cninit.c 48 49# ISA DMA glue 50file arch/shark/isa/isadma_machdep.c isadma 51 52# Game adapter (joystick) 53file arch/shark/isa/joy_timer.c joy 54 55# OFW ISA bus driver. 56include "dev/ofisa/files.ofisa" 57file arch/shark/ofw/ofisa_machdep.c ofisa 58file arch/shark/ofw/com_ofisa_machdep.c com_ofisa 59file arch/shark/ofw/com_ofisa_consolehack.c com_ofisa # XXX 60file arch/shark/ofw/if_cs_ofisa_machdep.c cs_ofisa 61file arch/shark/ofw/lpt_ofisa_machdep.c lpt_ofisa 62file arch/shark/ofw/wdc_ofisa_machdep.c wdc_ofisa 63 64# Glue for OFW ISA device attachment 65device ofisapc {} 66attach ofisapc at ofbus 67file arch/shark/ofw/ofisapc.c pc 68device ofisascr {} 69attach ofisascr at ofisa 70file arch/shark/ofw/ofisascr.c scr 71 72device ofrom 73attach ofrom at ofbus 74file arch/shark/ofw/ofrom.c ofrom needs-flag 75 76# Memory disk driver 77file dev/md_root.c md & memory_disk_hooks 78 79# attribute used to represent the "keyboard controller" on the shark 80# XXX should be a real device 81define spckbd { [irq = -1], [port = -1] } 82 83# PS/2 mouse device 84device opms: tty 85file arch/shark/shark/opms.c opms needs-flag 86 87attach opms at spckbd with opms 88 89device todclock 90attach todclock at todservice 91file arch/shark/dev/todclock.c todclock needs-count 92 93# 94# Machine-independent SCSI drivers 95# 96 97include "dev/scsipi/files.scsipi" 98 99# Generic MD files 100file arch/shark/shark/autoconf.c 101file arch/shark/shark/conf.c 102 103file arch/arm/arm/disksubr.c disk 104file arch/arm/arm/disksubr_acorn.c disk 105file arch/arm/arm/disksubr_mbr.c disk 106 107file arch/arm/arm32/intr.c 108file arch/arm/arm32/spl.S 109 110# Shark specific files 111file arch/shark/shark/shark_machdep.c shark 112file arch/shark/shark/sequoia.c shark 113file arch/shark/shark/shark_fiq.S shark 114file arch/shark/shark/hat.c shark 115file arch/shark/isa/isa_irqhandler.c shark 116file arch/shark/isa/clock.c shark 117file arch/shark/isa/isa_irq.S shark 118file arch/shark/isa/isa_shark_machdep.c shark 119file arch/shark/isa/isa_io.c shark | isa 120file arch/shark/isa/isa_io_asm.S shark | isa 121 122# National Semiconductor PC97307VUL SuperIO chip configuration routines 123define nsio 124file arch/shark/shark/ns87307.c nsio & shark 125 126# 8042 microcontroller routines for keyboard and mouse 127define i8042 128file arch/shark/shark/i8042.c i8042 129 130defpseudo profiler: disk 131file arch/shark/shark/profile.c profiler needs-flag 132 133# SHARK pc console 134device pc: tty, spckbd, i8042 135attach pc at ofisapc 136file arch/shark/shark/pccons.c pc needs-flag 137 138# Smart Card Reader 139device scr: tty 140file arch/shark/shark/scr.c scr needs-flag 141attach scr at ofisascr 142 143include "arch/shark/conf/majors.shark" 144