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