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