Home | History | Annotate | Line # | Download | only in conf
      1 #	$NetBSD: files.mac68k,v 1.135 2025/04/03 01:54:46 nat Exp $
      2 
      3 # mac68k-specific configuration info
      4 
      5 # options understood by the mac68k-specific part of the kernel
      6 # (note, these are case-sensitive)
      7 defflag	opt_adb.h		ADB_DEBUG MRG_ADB ALTXBUTTONS
      8 defflag	opt_mac68k.h		DISABLE_EXT_CACHE ZS_CONSOLE_ABORT
      9 defflag	opt_grf_compat.h	GRF_COMPAT
     10 
     11 defflag	opt_wsdisplay_compat.h	WSDISPLAY_COMPAT_ITEFONT
     12 
     13 defparam opt_mac68k.h		MAC68K_MEMSIZE
     14 
     15 # maxpartitions must be first item in files.${ARCH}.newconf
     16 maxpartitions 8
     17 
     18 maxusers 2 8 64
     19 
     20 device mainbus { }			# no locators (yet?)
     21 attach mainbus at root
     22 
     23 device	obio { [addr = -1] }
     24 attach	obio at mainbus
     25 file	arch/mac68k/obio/obio.c		obio
     26 
     27 device	adb { }: sysmon_power
     28 attach	adb at obio
     29 file	arch/mac68k/dev/adb.c		adb
     30 file	arch/mac68k/dev/adbsysasm.s
     31 file	arch/mac68k/dev/adb_direct.c
     32 file	arch/mac68k/dev/pm_direct.c
     33 
     34 device	aed { }
     35 attach	aed at adb
     36 file	arch/mac68k/dev/aed.c		aed needs-flag
     37 
     38 device	akbd: wskbddev
     39 attach	akbd at adb
     40 file	arch/mac68k/dev/akbd.c		akbd needs-flag
     41 
     42 device	ams: wsmousedev
     43 attach	ams at adb
     44 file	arch/mac68k/dev/ams.c		ams needs-flag
     45 
     46 device  pbbat: sysmon_envsys, sysmon_power
     47 attach  pbbat at aed
     48 file	arch/mac68k/dev/pbbat.c		pbbat needs-flag
     49 
     50 # ASC (beeper)
     51 device	asc
     52 attach	asc at obio
     53 file	arch/mac68k/obio/asc.c		asc needs-flag
     54 
     55 #ASC audio
     56 device	ascaudio: audiobus, auconv, mulaw, aurateconv, auvolconv
     57 attach	ascaudio at obio
     58 file	arch/mac68k/obio/ascaudio.c	ascaudio needs-flag
     59 
     60 device	nubus { }
     61 attach	nubus at mainbus
     62 file	arch/mac68k/nubus/nubus.c	nubus
     63 
     64 define grfbus { }
     65 file	arch/mac68k/dev/grf_subr.c	grfbus
     66 
     67 device	intvid: grfbus
     68 attach	intvid at obio
     69 file	arch/mac68k/obio/grf_obio.c	intvid
     70 
     71 device	macvid: grfbus
     72 attach	macvid at nubus
     73 file	arch/mac68k/nubus/grf_nubus.c	macvid
     74 
     75 device	macfb: wsemuldisplaydev, wsrasteremulops
     76 attach	macfb at grfbus
     77 file	arch/mac68k/dev/macfb.c		macfb needs-flag
     78 
     79 attach	genfb at grfbus with genfb_grfbus
     80 file	arch/mac68k/dev/genfb_grfbus.c	genfb_grfbus
     81 
     82 file	arch/mac68k/dev/maccons.c	akbd & (macfb | genfb_grfbus)
     83 
     84 device	ae: ifnet, ether, arp, dp8390nic
     85 attach	ae at nubus with ae_nubus
     86 file	arch/mac68k/nubus/if_ae_nubus.c	ae_nubus
     87 file	arch/mac68k/dev/if_ae.c		ae
     88 
     89 device	mc: ifnet, ether, arp
     90 attach	mc at obio with mc_obio
     91 file	arch/mac68k/dev/if_mc.c		mc
     92 file	arch/mac68k/obio/if_mc_obio.c	mc_obio
     93 
     94 device	sn: ifnet, ether, arp
     95 file	dev/ic/dp83932.c		sn
     96 file	arch/mac68k/dev/if_sn.c		sn
     97 attach	sn at obio with sn_obio
     98 file	arch/mac68k/obio/if_sn_obio.c	sn_obio
     99 attach	sn at nubus with sn_nubus
    100 file	arch/mac68k/nubus/if_sn_nubus.c	sn_nubus
    101 
    102 attach	sm at nubus with sm_nubus
    103 file	arch/mac68k/nubus/if_sm_nubus.c sm_nubus
    104 
    105 device	netdock: ifnet, ether, arp
    106 attach	netdock at nubus with netdock_nubus
    107 file	arch/mac68k/nubus/if_netdock_nubus.c	netdock_nubus
    108 
    109 # Sony floppy disk controller
    110 device	iwm { drive = -1 }
    111 attach	iwm at obio
    112 
    113 device	fd: disk
    114 attach	fd at iwm
    115 file	arch/mac68k/obio/iwm_fd.c	fd needs-flag
    116 file	arch/mac68k/obio/iwm.s		fd needs-flag
    117 
    118 include "dev/scsipi/files.scsipi"
    119 
    120 # Option 1 for ncr5380 support
    121 device	ncrscsi: scsi
    122 attach	ncrscsi at obio
    123 file	arch/mac68k/dev/mac68k5380.c	ncrscsi needs-flag
    124 
    125 # Option 2 for ncr5380 support
    126 device	sbc: scsi, ncr5380sbc
    127 attach	sbc at obio with sbc_obio
    128 file	arch/mac68k/dev/sbc.c		sbc
    129 file	arch/mac68k/obio/sbc_obio.c	sbc_obio
    130 
    131 attach	esp at obio
    132 file	arch/mac68k/obio/esp.c		esp
    133 
    134 #
    135 # Machine-independent ATA drivers
    136 #
    137 include	"dev/ata/files.ata"
    138 
    139 attach	wdc at obio with wdc_obio
    140 file	arch/mac68k/obio/wdc_obio.c	wdc_obio
    141 
    142 device	cpi { }
    143 attach	cpi at nubus
    144 file	arch/mac68k/nubus/cpi_nubus.c	cpi
    145 
    146 device	zsc { channel = -1 }
    147 attach	zsc at obio
    148 file	arch/mac68k/dev/zs.c		zsc needs-flag
    149 file	dev/ic/z8530sc.c		zsc
    150 
    151 device	zstty: tty
    152 attach	zstty at zsc
    153 file	dev/ic/z8530tty.c		zstty needs-flag
    154 file	arch/mac68k/dev/zs_kgdb.c	kgdb
    155 
    156 # legitimate pseudo-devices
    157 defpseudo grf
    158 defpseudo ite
    159 
    160 include "arch/m68k/fpe/files.fpe"
    161 
    162 file	arch/mac68k/mac68k/autoconf.c
    163 file	arch/mac68k/mac68k/bus_space.c
    164 file	arch/mac68k/mac68k/clock.c
    165 file	arch/mac68k/mac68k/conf.c
    166 file	arch/mac68k/mac68k/disksubr.c		disk
    167 file	arch/mac68k/mac68k/fpu_machdep.c
    168 file	arch/mac68k/mac68k/intr.c
    169 file	arch/mac68k/mac68k/iop.c
    170 file	arch/mac68k/mac68k/machdep.c
    171 file	arch/mac68k/mac68k/macrom.c
    172 file	arch/mac68k/mac68k/macromasm.s
    173 file	arch/mac68k/mac68k/mainbus.c
    174 file	arch/mac68k/mac68k/pmap_bootstrap.c	compile-with "${NOPROF_C}"
    175 file	arch/mac68k/mac68k/pram.c
    176 file	arch/mac68k/mac68k/pramasm.s
    177 file	arch/mac68k/mac68k/psc.c
    178 file	arch/mac68k/mac68k/trap.c
    179 file	arch/mac68k/mac68k/via.c
    180 file	arch/m68k/m68k/bus_dma.c
    181 file	arch/m68k/m68k/cacheops.c
    182 file	arch/m68k/m68k/db_memrw.c		ddb | kgdb
    183 file	arch/m68k/m68k/fpu.c			compile-with "${M68K_KERN_FPU}"
    184 file	arch/m68k/m68k/kgdb_machdep.c		kgdb
    185 file	arch/m68k/m68k/m68k_trap.c
    186 file	arch/m68k/m68k/mmu_subr.s
    187 file	arch/m68k/m68k/pmap_motorola.c
    188 file	arch/m68k/m68k/procfs_machdep.c		procfs
    189 file	arch/m68k/m68k/sys_machdep.c
    190 file	arch/m68k/m68k/vm_machdep.c
    191 
    192 file	arch/mac68k/dev/grf_compat.c		grf needs-flag
    193 file	arch/mac68k/dev/ite_compat.c		ite needs-flag
    194 
    195 file	dev/cons.c
    196 file	dev/cninit.c
    197 
    198 # Memory Disk for installs
    199 #	These files are out of order
    200 file	dev/md_root.c			memory_disk_hooks
    201 
    202 # Compatibility modules
    203 
    204 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
    205 include "compat/aoutm68k/files.aoutm68k"
    206 
    207 # SunOS Binary Compatibility (COMPAT_SUNOS)
    208 include "compat/sunos/files.sunos"
    209 file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
    210 
    211 # Linux binary compatibility (COMPAT_LINUX)
    212 include "compat/linux/files.linux"
    213 include "compat/linux/arch/m68k/files.linux_m68k"
    214 file arch/m68k/m68k/linux_trap.c		compat_linux
    215 
    216 # OSS audio driver compatibility
    217 include "compat/ossaudio/files.ossaudio"
    218 
    219 include	"arch/mac68k/conf/majors.mac68k"
    220