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