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