summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/macppc/conf/GENERIC (renamed from sys/arch/powerpc/conf/GENERIC)4
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc (renamed from sys/arch/powerpc/conf/Makefile.powerpc)22
-rw-r--r--sys/arch/macppc/conf/RAMDISK (renamed from sys/arch/powerpc/conf/RAMDISK)4
-rw-r--r--sys/arch/macppc/conf/files.macppc240
-rw-r--r--sys/arch/powerpc/conf/GENERIC-NONMAC79
-rw-r--r--sys/arch/powerpc/conf/RAMDISK-NONMAC105
-rw-r--r--sys/arch/powerpc/conf/files.powerpc242
7 files changed, 257 insertions, 439 deletions
diff --git a/sys/arch/powerpc/conf/GENERIC b/sys/arch/macppc/conf/GENERIC
index 301ce61f210..87ec005ca70 100644
--- a/sys/arch/powerpc/conf/GENERIC
+++ b/sys/arch/macppc/conf/GENERIC
@@ -1,9 +1,9 @@
-# $OpenBSD: GENERIC,v 1.45 2001/07/09 06:44:11 mickey Exp $
+# $OpenBSD: GENERIC,v 1.1 2001/09/01 15:59:31 drahn Exp $
#
# PPC GENERIC config file
#
-machine powerpc
+machine macppc powerpc
maxusers 32
diff --git a/sys/arch/powerpc/conf/Makefile.powerpc b/sys/arch/macppc/conf/Makefile.macppc
index 069c6612661..8035d4672cd 100644
--- a/sys/arch/powerpc/conf/Makefile.powerpc
+++ b/sys/arch/macppc/conf/Makefile.macppc
@@ -1,15 +1,15 @@
-# $OpenBSD: Makefile.powerpc,v 1.12 2001/07/18 23:56:32 mickey Exp $
+# $OpenBSD: Makefile.macppc,v 1.1 2001/09/01 15:59:31 drahn Exp $
#
# Makefile for OpenBSD PowerPC
#
# This makefile is constructed from a machine description:
# config machineid
# Most changes should be made in the machine description
-# /sys/arch/powerpc/conf/``machineid''
+# /sys/arch/macppc/conf/``machineid''
# after which you should do
# config machineid
# Machine generic makefile changes should be made in
-# /sys/arch/powerpc/conf/Makefile.powerpc
+# /sys/arch/macppc/conf/Makefile.macppc
# after which config should be rerun for all machines of that type.
#
# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE
@@ -37,11 +37,11 @@ SIZE?= size
.ifndef S
S!= cd ../../../..; pwd
.endif
-PPC= $S/arch/powerpc
+MACPPC= $S/arch/macppc
INCLUDES= -I. -I$S/arch -I$S -nostdinc -L${DESTDIR}/usr/include
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \
- -Dpowerpc
+ -Dmacppc
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float
@@ -117,9 +117,9 @@ LINKFLAGS+= -S
%LOAD
-assym.h: $S/kern/genassym.sh ${PPC}/powerpc/genassym.cf
+assym.h: $S/kern/genassym.sh ${MACPPC}/macppc/genassym.cf
sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} \
- < ${PPC}/powerpc/genassym.cf > assym.h.tmp && \
+ < ${MACPPC}/macppc/genassym.cf > assym.h.tmp && \
mv -f assym.h.tmp assym.h
param.c: $S/conf/param.c
@@ -142,7 +142,7 @@ clean::
lint:
@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
- ${PPC}/powerpc/Locore.c ${CFILES} ${PPC}/powerpc/swapgeneric.c \
+ ${MACPPC}/macppc/Locore.c ${CFILES} ${MACPPC}/macppc/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@@ -157,11 +157,11 @@ links:
sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
sh makelinks && rm -f dontlink
-SRCS= ${PPC}/powerpc/locore.S \
+SRCS= ${MACPPC}/macppc/locore.S \
param.c ioconf.c ${CFILES} ${SFILES}
depend:: .depend
.depend: ${SRCS} assym.h param.c
- ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${PPC}/powerpc/locore.S
+ ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${MACPPC}/macppc/locore.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
.if ${SFILES} != ""
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
@@ -180,7 +180,7 @@ genassym.o machdep.o: Makefile
locore.o machdep.o: Makefile
-locore.o: ${PPC}/powerpc/locore.S assym.h
+locore.o: ${MACPPC}/macppc/locore.S assym.h
${NORMAL_S}
# The install target can be redefined by putting a
diff --git a/sys/arch/powerpc/conf/RAMDISK b/sys/arch/macppc/conf/RAMDISK
index bac56d05e27..25292e76b98 100644
--- a/sys/arch/powerpc/conf/RAMDISK
+++ b/sys/arch/macppc/conf/RAMDISK
@@ -1,9 +1,9 @@
-# $OpenBSD: RAMDISK,v 1.27 2001/06/27 07:32:52 drahn Exp $
+# $OpenBSD: RAMDISK,v 1.1 2001/09/01 15:59:31 drahn Exp $
#
# PPC GENERIC config file
#
-machine powerpc
+machine macppc powerpc
maxusers 32
diff --git a/sys/arch/macppc/conf/files.macppc b/sys/arch/macppc/conf/files.macppc
new file mode 100644
index 00000000000..4900fa97e19
--- /dev/null
+++ b/sys/arch/macppc/conf/files.macppc
@@ -0,0 +1,240 @@
+# $OpenBSD: files.macppc,v 1.1 2001/09/01 15:59:31 drahn Exp $
+
+#
+# macppc-specific configuration info
+#
+maxpartitions 16
+
+maxusers 2 8 64
+
+file arch/macppc/macppc/autoconf.c
+file arch/macppc/macppc/clock.c
+file arch/macppc/macppc/conf.c
+file arch/macppc/macppc/disksubr.c disk
+file arch/macppc/macppc/machdep.c
+file arch/macppc/macppc/wscons_machdep.c
+file arch/macppc/macppc/mem.c
+file arch/macppc/macppc/dma.c
+file arch/macppc/macppc/ofw_machdep.c
+file arch/macppc/macppc/openfirm.c
+file dev/cons.c
+file dev/cninit.c
+file arch/macppc/macppc/db_memrw.c ddb
+file arch/macppc/macppc/db_disasm.c ddb
+file arch/macppc/macppc/db_interface.c ddb
+file arch/macppc/macppc/db_trace.c ddb
+file arch/macppc/macppc/ofwreal.S
+
+#
+# Media Indepedent Interface (mii)
+#
+include "../../../dev/mii/files.mii"
+
+#
+# MAC generic
+#
+file arch/macppc/mac/dbdma.c
+
+#
+# Openfirmware support
+#
+
+define mainbus {}
+device mainbus
+attach mainbus at root
+file arch/macppc/macppc/mainbus.c mainbus
+
+device cpu
+attach cpu at mainbus
+file arch/macppc/macppc/cpu.c
+
+include "../../../dev/ofw/files.ofw"
+file arch/macppc/macppc/opendev.c
+major { ofdisk = 4 }
+
+
+device memc {}
+attach memc at mainbus
+file arch/macppc/mac/uni_n.c memc
+
+major {rd = 17}
+major {sd = 2}
+major {cd = 3}
+
+include "../../../scsi/files.scsi"
+
+#
+# I2O
+#
+include "../../../dev/i2o/files.i2o"
+
+include "dev/pci/files.pci"
+file arch/macppc/pci/pciide_machdep.c pciide
+
+device mpcpcibr {} : pcibus
+attach mpcpcibr at mainbus
+file arch/macppc/pci/mpcpcibus.c mpcpcibr
+#file arch/macppc/pci/pci_addr_fixup.c mpcpcibr
+
+#
+# "workstation console" routines
+#
+
+include "dev/wscons/files.wscons"
+
+
+#device ofb: wsemuldisplaydev, wsrasteremulops
+device ofb
+attach ofb at pci
+file arch/macppc/mac/ofb.c ofb needs-flag
+
+
+#
+# mac peripheral pieces.
+#
+
+#file arch/macppc/pci/bandit.c pci
+
+#PCI-Host bridge chipsets
+device pchb
+attach pchb at pci
+file arch/macppc/pci/pchb.c pchb
+
+
+#
+# Machine-independent ATAPI drivers
+#
+
+include "../../../dev/atapiscsi/files.atapiscsi"
+include "../../../dev/ata/files.ata"
+
+# MAC periph
+
+device macobio {}
+attach macobio at pci
+file arch/macppc/pci/macobio.c macobio
+
+#device esp: scsi, ncr53c9x
+#attach esp at macobio
+#file arch/macppc/dev/esp.c esp
+
+device mesh: scsi
+attach mesh at macobio
+file arch/macppc/dev/mesh.c mesh
+
+device mc: ifnet, ether
+attach mc at macobio
+file arch/macppc/dev/if_mc.c mc
+file arch/macppc/dev/am79c950.c mc
+
+device bm: ether, ifnet, ifmedia
+attach bm at macobio
+file arch/macppc/dev/if_bm.c bm
+
+device gm: ether, ifnet, ifmedia, mii
+attach gm at pci
+file arch/macppc/dev/if_gm.c gm needs-flag
+
+device macintr {}
+attach macintr at macobio
+file arch/macppc/dev/macintr.c macintr
+
+device openpic {}
+attach openpic at macobio
+file arch/macppc/dev/openpic.c openpic
+
+device zsc {channel = -1}
+attach zsc at macobio
+file arch/macppc/dev/zs.c zsc needs-flag
+file dev/ic/z8530sc.c zsc
+
+device zstty: tty
+attach zstty at zsc
+file dev/ic/z8530tty.c zstty needs-flag
+
+device adb {}
+attach adb at macobio
+file arch/macppc/dev/adb.c adb needs-flag
+file arch/macppc/dev/adb_direct.c adb
+file arch/macppc/dev/pm_direct.c adb
+
+device aed
+attach aed at adb
+file arch/macppc/dev/aed.c aed needs-flag
+
+#??
+#define wskbddev {[console = -1]}
+#define wsmousedev {}
+#??
+
+device akbd: wskbddev
+attach akbd at adb
+file arch/macppc/dev/akbd.c akbd needs-flag
+
+device ams: wsmousedev
+attach ams at adb
+file arch/macppc/dev/ams.c ams
+
+device abtn
+attach abtn at adb
+file arch/macppc/dev/abtn.c abtn
+
+device awacs: audio, auconv, mulaw
+attach awacs at macobio
+file arch/macppc/dev/awacs.c awacs
+
+device nvram
+attach nvram at macobio
+file arch/macppc/dev/nvram.c nvram needs-flag
+
+device gpio {}
+attach gpio at macobio with gpio_obio
+attach gpio at gpio with gpio_gpio
+file arch/macppc/dev/gpio.c gpio
+
+attach wdc at macobio with wdc_obio
+file arch/macppc/dev/wdc_obio.c wdc_obio
+
+attach wi at macobio with wi_obio
+file arch/macppc/dev/if_wi_obio.c wi_obio
+
+define grfdev {}
+
+device grfati: grfdev
+attach grfati at pci
+file arch/macppc/dev/grf_ati.c grfati needs-flag
+
+device grf {}
+attach grf at grfdev
+file arch/macppc/dev/grf.c grf needs-flag
+file arch/macppc/dev/grf_subr.c grf
+
+device ite: tty
+attach ite at grf
+file arch/macppc/dev/ite.c ite needs-flag
+
+
+# VGA framebuffer
+device vgafb: wsemuldisplaydev, wsrasteremulops
+file arch/macppc/pci/vgafb.c vgafb & vgafb_pci
+
+# Generic VGA Framebuffer version
+attach vgafb at pci with vgafb_pci
+file arch/macppc/pci/vgafb_pci.c vgafb_pci needs-flag
+
+
+#
+# CARDBUS
+#
+include "dev/cardbus/files.cardbus"
+#file arch/macppc/macppc/rbus_machdep.c cardbus
+
+#
+# Machine-independent PCMCIA drivers
+#
+include "dev/pcmcia/files.pcmcia"
+
+#
+# Machine-independent USB drivers
+#
+include "dev/usb/files.usb"
diff --git a/sys/arch/powerpc/conf/GENERIC-NONMAC b/sys/arch/powerpc/conf/GENERIC-NONMAC
deleted file mode 100644
index 0cfddcf16f2..00000000000
--- a/sys/arch/powerpc/conf/GENERIC-NONMAC
+++ /dev/null
@@ -1,79 +0,0 @@
-# $OpenBSD: GENERIC-NONMAC,v 1.2 2001/03/08 03:37:19 itojun Exp $
-#
-# PPC GENERIC config file
-#
-
-machine powerpc
-
-maxusers 32
-
-# default type, instructs system to try to determin what proper type is
-# actual machine type probed via name of openfirmware root node.
-option SYS_TYPE=OFWMACH
-
-option FIREPOWERBUGS
-options PPC_MPC106_BUG
-
-include "../../../conf/GENERIC"
-
-config bsd swap generic
-
-
-#
-# Now the Machine specification
-#
-mainbus0 at root
-cpu* at mainbus0
-
-ofroot* at mainbus0
-mpcpcibr* at mainbus0 # MPC106 PCI Bridge.
-isabr* at pci? # ISA dev bridge.
-mpcpcibr* at mainbus0 # MPC106 PCI Bridge.
-isabr* at mainbus0 # ISA dev bridge.
-
-#### PCI Bus devices.
-
-pci* at mpcpcibr?
-ncr* at pci? dev ? function ?
-scsibus* at ncr?
-de* at pci? dev ? function ?
-#vme* at pci? dev ? function ?
-vga* at pci? dev ? function ? # PCI VGA graphics
-vgafb0 at pci? dev ? function ? # PCI VGA graphics
-
-#### ISA Bus devices.
-
-isa* at isabr?
-
-com0 at isa? port 0x3f8 irq 4
-com1 at isa? port 0x2f8 irq 3
-com2 at isa? port 0x3e8 irq 1 #addresses for VI board com1
-com3 at isa? port 0x2e8 irq 5 #addresses for VI board com0
-
-pckbc0 at isa? # PC prog. periph. interface
-pckbd0 at pckbc? # PC keyboard (kbd port)
-pms0 at pckbc? # PS/2-style mouse (aux port)
-
-vga0 at isa? # ISA VGA
-
-#### Workstation Console attachments
-
-wscons* at vga?
-wscons* at vgafb?
-
-#### SCSI Bus devices
-
-sd* at scsibus? target ? lun ?
-st* at scsibus? target ? lun ?
-cd* at scsibus? target ? lun ?
-ch* at scsibus? target ? lun ?
-ss* at scsibus? target ? lun ?
-uk* at scsibus? target ? lun ?
-
-#### openfirmware devices
-# mostly unused currently
-ofbus* at openfirm?
-ofrtc* at openfirm?
-ofdisk* at openfirm? # used for floppy support
-#ofnet* at openfirm?
-#ofcons* at openfirm?
diff --git a/sys/arch/powerpc/conf/RAMDISK-NONMAC b/sys/arch/powerpc/conf/RAMDISK-NONMAC
deleted file mode 100644
index a97ba944b6b..00000000000
--- a/sys/arch/powerpc/conf/RAMDISK-NONMAC
+++ /dev/null
@@ -1,105 +0,0 @@
-# $OpenBSD: RAMDISK-NONMAC,v 1.3 2001/07/04 08:38:48 niklas Exp $
-
-#
-# RAMDISK install kernel definition.
-#
-
-machine powerpc
-
-maxusers 8
-
-# Standard system options
-option SWAPPAGER
-option DEVPAGER
-
-# default type, instructs system to try to determin what proper type is
-# actual machine type probed via name of openfirmware root node.
-option SYS_TYPE=OFWMACH
-
-option FIREPOWERBUGS
-options PPC_MPC106_BUG
-
-#options KTRACE
-#options DEBUG
-
-option NFSCLIENT
-#option NFSSERVER
-
-option CD9660
-option MSDOSFS
-options FIFO
-option FFS
-#option QUOTA
-option MFS
-
-options INET
-
-# Specify storage configuration using ramdisk
-config bsd root on rd0a swap on rd0b
-
-#
-# Now the Machine specification
-#
-mainbus0 at root
-cpu* at mainbus0
-
-ofroot* at mainbus0
-mpcpcibr* at mainbus0 # MPC106 PCI Bridge.
-isabr* at pci? # ISA dev bridge.
-mpcpcibr* at mainbus0 # MPC106 PCI Bridge.
-isabr* at mainbus0 # ISA dev bridge.
-
-#### PCI Bus devices.
-
-pci* at mpcpcibr?
-ncr* at pci? dev ? function ?
-scsibus* at ncr?
-de* at pci? dev ? function ?
-#vme* at pci? dev ? function ?
-#vga* at pci? dev ? function ? # PCI VGA graphics
-#vgafb0 at pci? dev ? function ? # PCI VGA graphics
-
-#### ISA Bus devices.
-
-isa* at isabr?
-
-com0 at isa? port 0x3f8 irq 4
-com1 at isa? port 0x2f8 irq 3
-com2 at isa? port 0x3e8 irq 1 #addresses for VI board com1
-com3 at isa? port 0x2e8 irq 5 #addresses for VI board com0
-
-#### SCSI Bus devices
-
-sd* at scsibus? target ? lun ?
-st* at scsibus? target ? lun ?
-cd* at scsibus? target ? lun ?
-#ch* at scsibus? target ? lun ?
-#ss* at scsibus? target ? lun ?
-#uk* at scsibus? target ? lun ?
-
-#### openfirmware devices
-# mostly unused currently
-ofbus* at openfirm?
-ofrtc* at openfirm?
-#ofdisk* at openfirm? # used for floppy support
-#ofnet* at openfirm?
-#ofcons* at openfirm?
-
-#### PSEUDO Devices
-
-pseudo-device loop 1 # network loopback
-#pseudo-device bpfilter 8 # packet filter ports
-#pseudo-device sl 2 # serial-line IP ports
-pseudo-device ppp 1 # serial-line PPP ports
-#pseudo-device tun 2 # network tunneling over tty
-
-#pseudo-device pty 64 # pseudo ptys
-#pseudo-device random 1
-#pseudo-device vnd 4 # paging to files
-#pseudo-device ccd 4 # concatenated disk devices
-pseudo-device rd 1 # ram disk
-
-# RAMDISK stuff
-option MINIROOTSIZE=8192
-option RAMDISK_HOOKS
-
diff --git a/sys/arch/powerpc/conf/files.powerpc b/sys/arch/powerpc/conf/files.powerpc
index 9c7adeac1b7..c20b45c8c74 100644
--- a/sys/arch/powerpc/conf/files.powerpc
+++ b/sys/arch/powerpc/conf/files.powerpc
@@ -1,32 +1,16 @@
-# $OpenBSD: files.powerpc,v 1.33 2001/07/04 08:38:48 niklas Exp $
-
-#
-# powerpc-specific configuration info
+# $OpenBSD: files.powerpc,v 1.34 2001/09/01 15:59:31 drahn Exp $
#
-maxpartitions 16
-
-maxusers 2 8 64
+file arch/powerpc/powerpc/setjmp.S ddb
file arch/powerpc/powerpc/Locore.c
-file arch/powerpc/powerpc/autoconf.c
file arch/powerpc/powerpc/bcopy.c
-file arch/powerpc/powerpc/clock.c
-file arch/powerpc/powerpc/conf.c
file arch/powerpc/powerpc/copyinstr.c
file arch/powerpc/powerpc/copyoutstr.c
file arch/powerpc/powerpc/copystr.c
-file arch/powerpc/powerpc/disksubr.c disk
file arch/powerpc/powerpc/fpu.c
file arch/powerpc/powerpc/fubyte.c
file arch/powerpc/powerpc/fuswintr.c
file arch/powerpc/powerpc/in_cksum.c
-file arch/powerpc/powerpc/ipkdb_glue.c ipkdb
-file arch/powerpc/powerpc/machdep.c
-file arch/powerpc/powerpc/wscons_machdep.c
-file arch/powerpc/powerpc/mem.c
-file arch/powerpc/powerpc/dma.c
-file arch/powerpc/powerpc/ofw_machdep.c
-file arch/powerpc/powerpc/openfirm.c
file arch/powerpc/powerpc/pmap.c
file arch/powerpc/powerpc/process_machdep.c
file arch/powerpc/powerpc/subyte.c
@@ -35,225 +19,3 @@ file arch/powerpc/powerpc/suswintr.c
file arch/powerpc/powerpc/sys_machdep.c
file arch/powerpc/powerpc/trap.c
file arch/powerpc/powerpc/vm_machdep.c
-file dev/cons.c
-file dev/cninit.c
-file arch/powerpc/powerpc/setjmp.S ddb
-file arch/powerpc/powerpc/db_memrw.c ddb
-file arch/powerpc/powerpc/db_disasm.c ddb
-file arch/powerpc/powerpc/db_interface.c ddb
-file arch/powerpc/powerpc/db_trace.c ddb
-file arch/powerpc/powerpc/ofwreal.S
-
-#
-# Media Indepedent Interface (mii)
-#
-include "../../../dev/mii/files.mii"
-
-#
-# MAC generic
-#
-file arch/powerpc/mac/dbdma.c
-
-#
-# Openfirmware support
-#
-
-define mainbus {}
-device mainbus
-attach mainbus at root
-file arch/powerpc/powerpc/mainbus.c mainbus
-
-device cpu
-attach cpu at mainbus
-file arch/powerpc/powerpc/cpu.c
-
-include "../../../dev/ofw/files.ofw"
-file arch/powerpc/powerpc/opendev.c
-major { ofdisk = 4 }
-
-
-device memc {}
-attach memc at mainbus
-file arch/powerpc/mac/uni_n.c memc
-
-major {rd = 17}
-major {sd = 2}
-major {cd = 3}
-
-include "../../../scsi/files.scsi"
-
-#
-# I2O
-#
-include "../../../dev/i2o/files.i2o"
-
-include "dev/pci/files.pci"
-file arch/powerpc/pci/pciide_machdep.c pciide
-
-device mpcpcibr {} : pcibus
-attach mpcpcibr at mainbus
-file arch/powerpc/pci/mpcpcibus.c mpcpcibr
-#file arch/powerpc/pci/pci_addr_fixup.c mpcpcibr
-
-#
-# "workstation console" routines
-#
-
-include "dev/wscons/files.wscons"
-
-
-#device ofb: wsemuldisplaydev, wsrasteremulops
-device ofb
-attach ofb at pci
-file arch/powerpc/mac/ofb.c ofb needs-flag
-
-
-#
-# mac peripheral pieces.
-#
-
-#file arch/powerpc/pci/bandit.c pci
-
-#PCI-Host bridge chipsets
-device pchb
-attach pchb at pci
-file arch/powerpc/pci/pchb.c pchb
-
-
-#
-# Machine-independent ATAPI drivers
-#
-
-include "../../../dev/atapiscsi/files.atapiscsi"
-include "../../../dev/ata/files.ata"
-
-# MAC periph
-
-device macobio {}
-attach macobio at pci
-file arch/powerpc/pci/macobio.c macobio
-
-#device esp: scsi, ncr53c9x
-#attach esp at macobio
-#file arch/powerpc/mac/esp.c esp
-
-device mesh: scsi
-attach mesh at macobio
-file arch/powerpc/mac/mesh.c mesh
-
-device mc: ifnet, ether
-attach mc at macobio
-file arch/powerpc/mac/if_mc.c mc
-file arch/powerpc/mac/am79c950.c mc
-
-device bm: ether, ifnet, ifmedia
-attach bm at macobio
-file arch/powerpc/mac/if_bm.c bm
-
-device gm: ether, ifnet, ifmedia, mii
-attach gm at pci
-file arch/powerpc/mac/if_gm.c gm needs-flag
-
-device macintr {}
-attach macintr at macobio
-file arch/powerpc/mac/macintr.c macintr
-
-device openpic {}
-attach openpic at macobio
-file arch/powerpc/mac/openpic.c openpic
-
-device zsc {channel = -1}
-attach zsc at macobio
-file arch/powerpc/mac/zs.c zsc needs-flag
-file dev/ic/z8530sc.c zsc
-
-device zstty: tty
-attach zstty at zsc
-file dev/ic/z8530tty.c zstty needs-flag
-
-device adb {}
-attach adb at macobio
-file arch/powerpc/mac/adb.c adb needs-flag
-file arch/powerpc/mac/adb_direct.c adb
-file arch/powerpc/mac/pm_direct.c adb
-
-device aed
-attach aed at adb
-file arch/powerpc/mac/aed.c aed needs-flag
-
-#??
-#define wskbddev {[console = -1]}
-#define wsmousedev {}
-#??
-
-device akbd: wskbddev
-attach akbd at adb
-file arch/powerpc/mac/akbd.c akbd needs-flag
-
-device ams: wsmousedev
-attach ams at adb
-file arch/powerpc/mac/ams.c ams
-
-device abtn
-attach abtn at adb
-file arch/powerpc/mac/abtn.c abtn
-
-device awacs: audio, auconv, mulaw
-attach awacs at macobio
-file arch/powerpc/mac/awacs.c awacs
-
-device nvram
-attach nvram at macobio
-file arch/powerpc/mac/nvram.c nvram needs-flag
-
-device gpio {}
-attach gpio at macobio with gpio_obio
-attach gpio at gpio with gpio_gpio
-file arch/powerpc/mac/gpio.c gpio
-
-attach wdc at macobio with wdc_obio
-file arch/powerpc/mac/wdc_obio.c wdc_obio
-
-attach wi at macobio with wi_obio
-file arch/powerpc/mac/if_wi_obio.c wi_obio
-
-define grfdev {}
-
-device grfati: grfdev
-attach grfati at pci
-file arch/powerpc/mac/grf_ati.c grfati needs-flag
-
-device grf {}
-attach grf at grfdev
-file arch/powerpc/mac/grf.c grf needs-flag
-file arch/powerpc/mac/grf_subr.c grf
-
-device ite: tty
-attach ite at grf
-file arch/powerpc/mac/ite.c ite needs-flag
-
-
-# VGA framebuffer
-device vgafb: wsemuldisplaydev, wsrasteremulops
-file arch/powerpc/pci/vgafb.c vgafb & vgafb_pci
-
-# Generic VGA Framebuffer version
-attach vgafb at pci with vgafb_pci
-file arch/powerpc/pci/vgafb_pci.c vgafb_pci needs-flag
-
-
-#
-# CARDBUS
-#
-include "dev/cardbus/files.cardbus"
-#file arch/powerpc/powerpc/rbus_machdep.c cardbus
-
-#
-# Machine-independent PCMCIA drivers
-#
-include "dev/pcmcia/files.pcmcia"
-
-#
-# Machine-independent USB drivers
-#
-include "dev/usb/files.usb"