File: [local] / sys / arch / macppc / conf / files.macppc (download)
Revision 1.1.1.1 (vendor branch), Tue Mar 4 16:07:24 2008 UTC (16 years, 5 months ago) by nbrk
Branch: OPENBSD_4_2_BASE, MAIN
CVS Tags: jornada-partial-support-wip, HEAD Changes since 1.1: +0 -0 lines
Import of OpenBSD 4.2 release kernel tree with initial code to support
Jornada 720/728, StrongARM 1110-based handheld PC.
At this point kernel roots on NFS and boots into vfs_mountroot() and traps.
What is supported:
- glass console, Jornada framebuffer (jfb) works in 16bpp direct color mode
(needs some palette tweaks for non black/white/blue colors, i think)
- saic, SA11x0 interrupt controller (needs cleanup)
- sacom, SA11x0 UART (supported only as boot console for now)
- SA11x0 GPIO controller fully supported (but can't handle multiple interrupt
handlers on one gpio pin)
- sassp, SSP port on SA11x0 that attaches spibus
- Jornada microcontroller (jmcu) to control kbd, battery, etc throught
the SPI bus (wskbd attaches on jmcu, but not tested)
- tod functions seem work
- initial code for SA-1111 (chip companion) : this is TODO
Next important steps, i think:
- gpio and intc on sa1111
- pcmcia support for sa11x0 (and sa1111 help logic)
- REAL root on nfs when we have PCMCIA support (we may use any of supported pccard NICs)
- root on wd0! (using already supported PCMCIA-ATA)
|
# $OpenBSD: files.macppc,v 1.56 2007/06/08 22:57:43 jasper 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/cninit.c
file arch/macppc/macppc/ofwreal.S
file arch/macppc/macppc/db_interface.c ddb
#
# Media Independent Interface (mii)
#
include "../../../dev/mii/files.mii"
#
# MAC generic
#
file arch/macppc/dev/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
file arch/macppc/macppc/opendev.c
device memc {}
attach memc at mainbus
file arch/macppc/dev/uni_n.c memc
major {rd = 17}
major {wd = 0}
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
include "dev/puc/files.puc"
device mpcpcibr {} : pcibus
attach mpcpcibr at mainbus
file arch/macppc/pci/mpcpcibus.c mpcpcibr
file arch/macppc/pci/pci_addr_fixup.c mpcpcibr
device ht {} : pcibus
attach ht at mainbus
file arch/macppc/pci/ht.c ht
device smu: i2cbus
attach smu at mainbus
file arch/macppc/dev/smu.c smu
#
# "workstation console" routines
#
include "dev/wscons/files.wscons"
#
# 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
# kauai ATA glue
device kauaiata {}
attach kauaiata at pci
file arch/macppc/pci/kauaiata.c kauaiata needs-flag
#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
device bm: ether, ifnet, ifmedia, mii, mii_bitbang
attach bm at macobio
file arch/macppc/dev/if_bm.c bm
device macintr {}
attach macintr at macobio
file arch/macppc/dev/macintr.c macintr
device openpic {}
attach openpic at macobio, memc
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 arch/macppc/dev/z8530sc.c zsc
device zstty: tty
attach zstty at zsc
file arch/macppc/dev/z8530tty.c zstty needs-flag
device adb {}
attach adb at macobio
file arch/macppc/dev/adb.c adb needs-flag
file arch/macppc/dev/pm_direct.c adb
include "dev/adb/files.adb"
file arch/macppc/dev/akbd_machdep.c akbd
device apm
attach apm at adb
file arch/macppc/dev/apm.c apm needs-count
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
# Mediabay
device mediabay {}
attach mediabay at macobio
file arch/macppc/dev/mediabay.c mediabay
# Keywest I2C
device kiic: i2cbus
attach kiic at macobio
attach kiic at memc with kiic_memc
file arch/macppc/dev/kiic.c kiic
# PMU I2C
device piic: i2cbus
attach piic at adb
file arch/macppc/dev/piic.c piic
# I2S
define i2s
file arch/macppc/dev/i2s.c i2s
# blinkenlights
device xlights
attach xlights at macobio
file arch/macppc/dev/xlights.c xlights
# snapper audio
device snapper: audio, auconv, mulaw, i2s
attach snapper at macobio
file arch/macppc/dev/snapper.c snapper
# tumbler audio
device tumbler: audio, auconv, mulaw, i2s
attach tumbler at macobio
file arch/macppc/dev/tumbler.c tumbler
# onyx audio
device onyx: audio, auconv, mulaw, i2s
attach onyx at macobio
file arch/macppc/dev/onyx.c onyx
# aoa audio
device aoa: audio, auconv, mulaw, i2s
attach aoa at macobio
file arch/macppc/dev/aoa.c aoa
# daca audio
device daca: audio, auconv, mulaw, i2s
attach daca at macobio
file arch/macppc/dev/daca.c daca
#device nvram
#attach nvram at macobio
#file arch/macppc/dev/nvram.c nvram needs-flag
device macgpio {}
attach macgpio at macobio with macgpio
attach macgpio at macgpio with macgpio_gpio
file arch/macppc/dev/macgpio.c macgpio
device sysbutton {}
attach sysbutton at macgpio
file arch/macppc/dev/sysbutton.c
attach wdc at mediabay, macobio, kauaiata 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
# Raster operations
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"
# VGA framebuffer
device vgafb: wsemuldisplaydev, rasops8, rasops16, rasops32
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"
#
# Bluetooth
#
include "dev/bluetooth/files.bluetooth"
#
# Machine-independent I2C drivers
#
include "dev/i2c/files.i2c"
file arch/macppc/dev/maci2c.c i2cbus
#
# Machine-independent GPIO drivers
#
include "dev/gpio/files.gpio"
#
# Machine-independent 1-Wire drivers
#
include "dev/onewire/files.onewire"
# Sun HME Ethernet controllers
device hme: ether, ifnet, mii, ifmedia
file dev/ic/hme.c
attach hme at pci with hme_pci
file dev/pci/if_hme_pci.c hme_pci
device tpms: hid, wsmousedev
attach tpms at uhidbus
file arch/macppc/dev/tpms.c tpms
# Apple Sudden Motion Sensor
device asms
attach asms at i2c
file arch/macppc/dev/asms.c asms