1 # $NetBSD: files.shark,v 1.25 2021/05/12 23:48:41 thorpej 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 "arch/arm/ofw/files.ofw" 42 attach ofbus at root with ofbus_root 43 file arch/shark/ofw/ofw.c 44 45 # console initialization 46 file arch/shark/shark/consinit.c 47 48 # ISA DMA glue 49 file arch/shark/isa/isadma_machdep.c isadma 50 51 # OFW ISA bus driver. 52 include "dev/ofisa/files.ofisa" 53 file arch/shark/ofw/ofisa_machdep.c ofisa 54 file arch/shark/ofw/com_ofisa_machdep.c com_ofisa 55 file arch/shark/ofw/if_cs_ofisa_machdep.c cs_ofisa 56 file arch/shark/ofw/lpt_ofisa_machdep.c lpt_ofisa | atppc_ofisa 57 file arch/shark/ofw/wdc_ofisa_machdep.c wdc_ofisa 58 59 # Sequoia core logic chipset (ofisa attaches to this) 60 device sequoia { }: ofisa_subclass 61 attach sequoia at ofbus 62 63 # Shark I2C (for DRAM SPD) 64 device sharkiic: i2cbus 65 attach sharkiic at sequoia 66 file arch/shark/shark/shark_iic.c sharkiic 67 68 # Glue for OFW ISA device attachment 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 80 device todclock 81 attach todclock at todservice 82 file arch/shark/dev/todclock.c todclock needs-count 83 84 # 85 # Machine-independent SCSI drivers 86 # 87 88 include "dev/scsipi/files.scsipi" 89 90 # Generic MD files 91 file arch/shark/shark/autoconf.c 92 93 file arch/arm/arm/disksubr.c disk 94 file arch/arm/arm/disksubr_acorn.c disk 95 file arch/arm/arm/disksubr_mbr.c disk 96 97 file arch/arm/arm32/intr.c 98 file arch/arm/arm32/spl.S 99 100 # Shark specific files 101 file arch/shark/shark/shark_machdep.c 102 file arch/shark/shark/sequoia.c 103 file arch/shark/shark/shark_fiq.S 104 file arch/shark/shark/hat.c 105 file arch/shark/isa/isa_irqhandler.c 106 file arch/shark/isa/clock.c 107 file arch/shark/isa/isa_irq.S 108 file arch/shark/isa/isa_shark_machdep.c 109 file arch/shark/isa/isa_io.c 110 file arch/shark/isa/isa_io_asm.S 111 112 # National Semiconductor PC97307VUL SuperIO chip configuration routines 113 define nsio 114 file arch/shark/shark/ns87307.c nsio 115 116 # 8042 microcontroller routines for keyboard and mouse 117 define i8042 118 file arch/shark/shark/i8042.c i8042 119 120 defpseudo profiler: disk 121 file arch/shark/shark/profile.c profiler needs-flag 122 123 # ofbus VGA 124 attach vga at ofbus with vga_ofbus 125 file arch/shark/ofw/vga_ofbus.c vga_ofbus needs-flag 126 127 # ofbus CyberPro 128 attach igsfb at ofbus with igsfb_ofbus 129 file arch/shark/ofw/igsfb_ofbus.c igsfb_ofbus needs-flag 130 131 # ofbus C&T 65550 132 attach chipsfb at ofbus with chipsfb_ofbus 133 file arch/shark/ofw/chipsfb_ofbus.c chipsfb_ofbus needs-flag 134 135 # ofbus VLB Host to PCI Bridge (VIA VT82C505) 136 device vlpci: pcibus 137 file arch/shark/ofw/vlpci.c vlpci needs-flag 138 attach vlpci at ofbus 139 file dev/ofw/ofw_pci_subr.c pci 140 141 # Smart Card Reader 142 device scr: tty 143 file arch/shark/shark/scr.c scr needs-flag 144 attach scr at ofisascr 145 146 include "arch/shark/conf/majors.shark" 147