diff options
Diffstat (limited to 'sys/arch/palm/conf')
-rw-r--r-- | sys/arch/palm/conf/GENERIC | 227 | ||||
-rw-r--r-- | sys/arch/palm/conf/Makefile.palm | 213 | ||||
-rw-r--r-- | sys/arch/palm/conf/RAMDISK | 171 | ||||
-rw-r--r-- | sys/arch/palm/conf/files.palm | 92 |
4 files changed, 703 insertions, 0 deletions
diff --git a/sys/arch/palm/conf/GENERIC b/sys/arch/palm/conf/GENERIC new file mode 100644 index 00000000000..390f5ff01f8 --- /dev/null +++ b/sys/arch/palm/conf/GENERIC @@ -0,0 +1,227 @@ +# $OpenBSD: GENERIC,v 1.1 2009/09/05 01:22:11 marex Exp $ +# +# For further information on compiling OpenBSD kernels, see the config(8) +# man page. +# +# For further information on hardware support for this architecture, see +# the intro(4) man page. For further information about kernel options +# for this architecture, see the options(4) man page. For an explanation +# of each device driver in this file see the section 4 man page for the +# device. + +machine palm arm +include "../../../conf/GENERIC" +maxusers 32 # estimated number of users + +options ARM32 +options PXAGPIO_HAS_GPION_INTRS + +options CACHE_CLEAN_BLOCK_INTR + +makeoptions KERNEL_BASE_PHYS="0xa0200000" +makeoptions KERNEL_BASE_VIRT="0xc0200000" +makeoptions BOARDTYPE="palm" + +# CPU options +options CPU_XSCALE_PXA2X0 # Support the XScale core +#options XSCALE_CACHE_WRITE_THROUGH +options XSCALE_CACHE_WRITE_BACK +makeoptions CPUFLAGS="-mcpu=xscale" + +option WSDISPLAY_COMPAT_USL # VT handling +option WSDISPLAY_COMPAT_RAWKBD # provide raw scancodes; needed for X11 +option WSDISPLAY_DEFAULTSCREENS=2 # initial number of text consoles +option WSDISPLAY_COMPAT_PCVT # emulate some ioctls; needed for X11 + +option USBVERBOSE + +config bsd root on sd1a swap on sd1b +#config bsd swap generic +#config bsd root on wd0a + +# The main bus device +mainbus0 at root +cpu0 at mainbus? +pxaip0 at mainbus? + +pxaintc0 at pxaip? # interrupt controller +pxagpio0 at pxaip? # GPIO controller +pxadmac0 at pxaip? # DMA controller +pxaost0 at pxaip? addr 0x40a00000 size 0x20 + +# USB controllers +pxaudc0 at pxaip? # USB Device Controller +ohci0 at pxaip? # Open Host Controller + +# USB function support +usbf* at pxaudc? # USB logical device +#cdcef* at usbf? # CDC ethernet function + +# USB bus support +usb* at ohci? +uhub* at usb? # USB Root Hub +uhub* at uhub? # USB Hub + +# USB devices +umodem* at uhub? # USB Modems/Serial +ucom* at umodem? +uvisor* at uhub? # Handspring Visor +ucom* at uvisor? +uvscom* at uhub? # SUNTAC Slipper U VS-10U serial +ucom* at uvscom? +ubsa* at uhub? # Belkin serial adapter +ucom* at ubsa? +uftdi* at uhub? # FTDI FT8U100AX serial adapter +ucom* at uftdi? +uplcom* at uhub? # I/O DATA USB-RSAQ2 serial adapter +ucom* at uplcom? +umct* at uhub? # MCT USB-RS232 serial adapter +ucom* at umct? +uslcom* at uhub? # Silicon Laboratories CP210x serial +ucom* at uslcom? +uark* at uhub? # Arkmicro ARK3116 serial +ucom* at uark? +uipaq* at uhub? # iPAQ serial adapter +ucom* at uipaq? +uchcom* at uhub? # WinChipHead CH341/340 serial +ucom* at uchcom? +uaudio* at uhub? # USB Audio +audio* at uaudio? +umidi* at uhub? # USB MIDI +midi* at umidi? +ulpt* at uhub? # USB Printers +umass* at uhub? # USB Mass Storage devices +scsibus* at umass? +atapiscsi* at umass? +uhidev* at uhub? # Human Interface Devices +ums* at uhidev? # USB mouse +wsmouse* at ums? mux 0 +ukbd* at uhidev? # USB keyboard +wskbd* at ukbd? mux 1 +ucycom* at uhidev? # Cypress serial +ucom* at ucycom? +uhid* at uhidev? # USB generic HID support +aue* at uhub? # ADMtek AN986 Pegasus Ethernet +atu* at uhub? # Atmel AT76C50x based 802.11b +axe* at uhub? # ASIX Electronics AX88172 USB Ethernet +cue* at uhub? # CATC USB-EL1201A based Ethernet +kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet +cdce* at uhub? # CDC Ethernet +upl* at uhub? # Prolific PL2301/PL2302 host-to-host +udav* at uhub? # Davicom DM9601 based Ethernet +ural* at uhub? # Ralink RT2500USB +rum* at uhub? # Ralink RT2501USB/RT2601USB +run* at uhub? # Ralink RT2700U/RT2800U/RT3000U +zyd* at uhub? # Zydas ZD1211 +url* at uhub? # Realtek RTL8150L based adapters +wi* at uhub? # WaveLAN IEEE 802.11DS +urio* at uhub? # Diamond Multimedia Rio 500 +uscanner* at uhub? # USB Scanners +usscanner* at uhub? # USB SCSI scanners, e.g., HP5300 +scsibus* at usscanner? +#uyap* at uhub? # Y@P firmware loader +udsbr* at uhub? # D-Link DSB-R100 radio +radio* at udsbr? # USB radio +ugen* at uhub? # USB Generic driver +udcf* at uhub? # Gude Expert mouseCLOCK +umbg* at uhub? # Meinberg Funkuhren USB5131 +uow* at uhub? # Maxim/Dallas DS2490 1-Wire adapter +onewire* at uow? + +sd* at scsibus? # SCSI disk drives +#st* at scsibus? # SCSI tape drives +cd* at scsibus? # SCSI CD-ROM drives +#ch* at scsibus? # SCSI autochangers +#ss* at scsibus? # SCSI scanners +#uk* at scsibus? # unknown SCSI + +# integrated 16550 UARTs +options COM_PXA2X0 +com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART +com1 at pxaip? addr 0x40200000 intr 21 # BlueTooth UART +com2 at pxaip? addr 0x40700000 intr 20 # Standard UART (for IrDA) + +# integrated PCMCIA/CF controller +#pxapcic0 at pxaip? + +# PCMCIA bus support +#pcmcia* at pxapcic? + +# PCMCIA (CF) devices +#com* at pcmcia? # PCMCIA modems/serial ports +#wi* at pcmcia? # WaveLAN IEEE 802.11DS +#malo* at pcmcia? # Marvell 88W8385 +#ne* at pcmcia? # PCMCIA based NE2000 ethernet +#wdc* at pcmcia? # hard disk controller +#cfxga* at pcmcia? # VoyagerVGA frame buffer +#wsdisplay* at cfxga? + +wdc0 at pxaip? + +# IDE hard drives +wd* at wdc? flags 0x0000 + +# Media Independent Interface (mii) drivers +exphy* at mii? # 3Com internal PHYs +inphy* at mii? # Intel 82555 PHYs +iophy* at mii? # Intel 82553 PHYs +icsphy* at mii? # ICS 1890 PHYs +lxtphy* at mii? # Level1 LXT970 PHYs +nsphy* at mii? # NS and compatible PHYs +nsphyter* at mii? # NS and compatible PHYs +qsphy* at mii? # Quality Semi QS6612 PHYs +sqphy* at mii? # Seeq 8x220 PHYs +rlphy* at mii? # RealTek 8139 internal PHYs +mtdphy* at mii? # Myson MTD972 PHYs +#dcphy* at mii? # Digital Clone PHYs +acphy* at mii? # Altima AC101 PHYs +amphy* at mii? # AMD 79C873 PHYs +tqphy* at mii? # TDK 78Q212x PHYs +bmtphy* at mii? # Broadcom 10/100 PHYs +#brgphy* at mii? # Broadcom Gigabit PHYs +eephy* at mii? # Marvell 88E1000 series PHY +#xmphy* at mii? # XaQti XMAC-II PHYs +nsgphy* at mii? # NS gigabit PHYs +urlphy* at mii? # Realtek RTL8150L internal PHY +#rgephy* at mii? # Realtek 8169S/8110S PHY +#ciphy* at mii? # Cicada CS8201 10/100/1000 copper PHY +ukphy* at mii? # "unknown" PHYs + +# Input +pxa27x_kpc0 at pxaip? +wskbd0 at pxa27x_kpc0 mux 1 + +lcd0 at pxaip? # LCD +wsdisplay* at lcd? console ? + +pxammc0 at pxaip? # MMC/SD/SDIO controller +sdmmc* at pxammc? # SD/MMC bus +scsibus* at sdmmc? # SCSI emulation + +# Bluetooth controllers +sbt* at sdmmc? # SDIO Bluetooth +bthub* at sbt? +ubt* at uhub? # USB Bluetooth +bthub* at ubt? + +# USB Video +uvideo* at uhub? +video* at uvideo? + +bthidev* at bthub? # Bluetooth HID support +btkbd* at bthidev? +btms* at bthidev? +wskbd* at btkbd? mux 1 +wsmouse* at btms? mux 0 +btsco* at bthub? # Bluetooth audio support +audio* at btsco? + +# 1-Wire devices +option ONEWIREVERBOSE +owid* at onewire? # ID +owsbm* at onewire? # Smart Battery Monitor +owtemp* at onewire? # Temperature + +# Pseudo-Devices +pseudo-device wsmux 2 # mouse & keyboard multiplexor +pseudo-device hotplug 1 # devices hot plugging diff --git a/sys/arch/palm/conf/Makefile.palm b/sys/arch/palm/conf/Makefile.palm new file mode 100644 index 00000000000..3bfb4d590c6 --- /dev/null +++ b/sys/arch/palm/conf/Makefile.palm @@ -0,0 +1,213 @@ +# $OpenBSD: Makefile.palm,v 1.1 2009/09/05 01:22:11 marex Exp $ +# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $ + +# Makefile for OpenBSD +# +# This makefile is constructed from a machine description: +# config machineid +# Most changes should be made in the machine description +# /sys/arch/palm/conf/``machineid'' +# after which you should do +# config machineid +# Machine generic makefile changes should be made in +# /sys/arch/palm/conf/Makefile.palm +# after which config should be rerun for all machines of that type. +# +# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE +# IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING +# +# -DTRACE compile in kernel tracing hooks +# -DQUOTA compile in file system quotas + +# DEBUG is set to -g if debugging. +# PROF is set to -pg if profiling. + +.include <bsd.own.mk> + +MKDEP?= mkdep +SIZE?= size +STRIP?= strip + +# source tree is located via $S relative to the compilation directory +.ifndef S +S!= cd ../../../..; pwd +.endif +THISARM= $S/arch/palm +ARM= $S/arch/arm + +INCLUDES= -nostdinc -I. -I$S -I$S/arch +CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__palm__ +CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ + -Wno-uninitialized -Wno-format -Wno-main \ + -Wstack-larger-than-2047 -Wvariable-decl + +CMACHFLAGS= -ffreestanding +#CMACHFLAGS= -march=armv4 -mtune=strongarm -ffreestanding +.if ${IDENT:M-DNO_PROPOLICE} +CMACHFLAGS+= -fno-stack-protector +.endif +CMACHFLAGS+= -msoft-float -fno-builtin-printf -fno-builtin-log + +COPTS?= -O2 +CFLAGS= ${DEBUG} ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} +AFLAGS= -x assembler-with-cpp -D_LOCORE ${CMACHFLAGS} +#LINKFLAGS= -Ttext 0xF0000020 -e start --warn-common +#LINKFLAGS= -T ${THISARM}/conf/kern.ldscript +LINKFLAGS= -T ldscript +LINKFLAGS+= --warn-common +STRIPFLAGS= -g -X -x + +HOSTCC= ${CC} +HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//} +HOSTED_CFLAGS= ${CFLAGS} + +# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP} +# where TYPE is NORMAL, DRIVER, or PROFILE; SUFFIX is the file suffix, +# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file +# is marked as config-dependent. + +NORMAL_C_NOP= ${CC} ${CFLAGS} ${CPPFLAGS} -c $< +NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< +NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $< + +DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< +DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $< + +NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $< +NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $< + +HOSTED_C= ${HOSTCC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $< + +%OBJS + +%CFILES + +%SFILES + +# load lines for config "xxx" will be emitted as: +# xxx: ${SYSTEM_DEP} swapxxx.o +# ${SYSTEM_LD_HEAD} +# ${SYSTEM_LD} swapxxx.o +# ${SYSTEM_LD_TAIL} +SYSTEM_OBJ= ${BOARDTYPE}_start.o locore.o param.o ioconf.o ${OBJS} +SYSTEM_DEP= Makefile ${SYSTEM_OBJ} +SYSTEM_LD_HEAD= rm -f $@ +SYSTEM_LD_HEAD+=; \ + cat ${ARM}/conf/ldscript.head ${ARM}/conf/ldscript.tail | \ + sed -e 's/@KERNEL_BASE_PHYS@/${KERNEL_BASE_PHYS}/' \ + -e 's/@KERNEL_BASE_VIRT@/${KERNEL_BASE_VIRT}/' \ + > ldscript + +SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \ + ${LD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o +SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@ + +DEBUG?= +.if ${DEBUG} == "-g" +LINKFLAGS+= -X +SYSTEM_LD_TAIL+=; \ + echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ + echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ + ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb +.else +LINKFLAGS+= -x +.endif + +%LOAD + +assym.h: $S/kern/genassym.sh ${ARM}/arm/genassym.cf Makefile + cat ${ARM}/arm/genassym.cf | \ + sh $S/kern/genassym.sh ${CC} ${CFLAGS} \ + ${CPPFLAGS} ${PARAM} > assym.h.tmp && \ + mv -f assym.h.tmp assym.h + +param.c: $S/conf/param.c + rm -f param.c + cp $S/conf/param.c . + +param.o: param.c Makefile + ${NORMAL_C_C} + +mcount.o: $S/lib/libkern/mcount.c Makefile + ${NORMAL_C_NOP} + +ioconf.o: ioconf.c + ${NORMAL_C} + +newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} + sh $S/conf/newvers.sh + ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c + + +clean:: + rm -f eddep *bsd bsd.gdb tags *.[io] [a-z]*.s \ + [Ee]rrs linterrs makelinks assym.h + +lint: + @lint -hbxncez -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \ + ${CFILES} ioconf.c param.c | \ + grep -v 'static function .* unused' + +tags: + @echo "see $S/kern/Makefile for tags" + +links: + egrep '#if' ${CFILES} | sed -f $S/conf/defines | \ + sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink + echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \ + sort -u | comm -23 - dontlink | \ + sed 's,.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks + sh makelinks && rm -f dontlink makelinks + +SRCS= ${ARM}/arm/locore.S \ + param.c ioconf.c ${CFILES} ${SFILES} +depend:: .depend +.depend: ${SRCS} assym.h param.c ${APMINC} + ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${ARM}/arm/locore.S + ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} +.if ${SFILES} != "" + ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} +.endif + cat ${ARM}/arm/genassym.cf | \ + sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \ + ${CPPFLAGS} + @sed -e 's/.*\.o: /assym.h: /' -e 's/\/tmp\/genassym_c.[^ ]*//' \ + < assym.dep >> .depend + @rm -f assym.dep + + +# depend on root or device configuration +autoconf.o conf.o: Makefile + +# depend on network or filesystem configuration +uipc_domain.o uipc_proto.o vfs_conf.o: Makefile +if.o if_tun.o if_loop.o if_ethersubr.o: Makefile +if_arp.o if_ether.o: Makefile +ip_input.o ip_output.o in_pcb.o in_proto.o: Makefile +tcp_subr.o tcp_timer.o tcp_output.o: Makefile + +# depend on maxusers +machdep.o: Makefile + +# depend on CPU configuration +locore.o machdep.o: Makefile + +${BOARDTYPE}_start.o: ${THISARM}/palm/${BOARDTYPE}_start.S assym.h + ${NORMAL_S} + +locore.o: ${ARM}/arm/locore.S assym.h + ${NORMAL_S} + +# The install target can be redefined by putting a +# install-kernel-${MACHINE_NAME} target into /etc/mk.conf +MACHINE_NAME!= uname -n +install: install-kernel-${MACHINE_NAME} +.if !target(install-kernel-${MACHINE_NAME}}) +install-kernel-${MACHINE_NAME}: + rm -f /obsd + ln /bsd /obsd + cp bsd /nbsd + mv /nbsd /bsd +.endif + +%RULES diff --git a/sys/arch/palm/conf/RAMDISK b/sys/arch/palm/conf/RAMDISK new file mode 100644 index 00000000000..32e37a5a001 --- /dev/null +++ b/sys/arch/palm/conf/RAMDISK @@ -0,0 +1,171 @@ +# $OpenBSD: RAMDISK,v 1.1 2009/09/05 01:22:11 marex Exp $ + +machine palm arm + +options TIMEZONE=0 # time zone to adjust RTC time by +options DST=0 # daylight saving time used by RTC +options FFS # UFS +options CD9660 # ISO 9660 + Rock Ridge file system +options MSDOSFS # MS-DOS file system +options INET # IP + ICMP + TCP + UDP +options INET6 # IPv6 (needs INET) +options DDB # kernel debugger +options EXT2FS # Second Extended Filesystem +options CRYPTO # Cryptographic framework + +options ARM32 +options PXAGPIO_HAS_GPION_INTRS + +options CACHE_CLEAN_BLOCK_INTR + +makeoptions KERNEL_BASE_PHYS="0xa0200000" +makeoptions KERNEL_BASE_VIRT="0xc0200000" +makeoptions BOARDTYPE="palm" + +# estimated number of users + +maxusers 32 + +# CPU options +options CPU_XSCALE_PXA2X0 # Support the XScale core +#options XSCALE_CACHE_WRITE_THROUGH +options XSCALE_CACHE_WRITE_BACK +makeoptions CPUFLAGS="-mcpu=xscale" + +option WSDISPLAY_COMPAT_USL # VT handling +option WSDISPLAY_COMPAT_RAWKBD # provide raw scancodes; needed for X11 +option WSDISPLAY_DEFAULTSCREENS=2 # initial number of text consoles +option WSDISPLAY_COMPAT_PCVT # emulate some ioctls; needed for X11 + +config bsd root on rd0a swap on rd0b + +# The main bus device +mainbus0 at root +cpu0 at mainbus? +pxaip0 at mainbus? + +pxaintc0 at pxaip? # interrupt controller +pxagpio0 at pxaip? # GPIO +pxaost0 at pxaip? addr 0x40a00000 size 0x20 + +# USB controllers +pxaudc0 at pxaip? # USB Device Controller +ohci0 at pxaip? # Open Host Controller + +# USB function support +usbf* at pxaudc? # USB logical device +#cdcef* at usbf? # CDC ethernet function + +# USB bus support +usb* at ohci? +uhub* at usb? # USB Root Hub +uhub* at uhub? # USB Hubs + +# USB devices +uhidev* at uhub? +uhid* at uhidev? # USB Generic HID devices +ukbd* at uhidev? # USB HID Keyboard devices +wskbd* at ukbd? mux 1 +#ums* at uhub? # USB Mice +#wsmouse* at ums? mux 0 +#ulpt* at uhub? # USB Printer +#atu* at uhub? # Atmel AT76C50x based 802.11b +#aue* at uhub? # ADMtek AN986 Pegasus Ethernet +#axe* at uhub? # ASIX Electronics AX88172 USB Ethernet +cdce* at uhub? # CDC Ethernet +cue* at uhub? # CATC USB-EL1201A based Ethernet +kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet +#udav* at uhub? # Davicom DM9601 based Ethernet +ural* at uhub? # Ralink RT2500 +#url* at uhub? # Realtek RTL8150L based adapters +wi* at uhub? # WaveLAN IEEE 802.11DS +upl* at uhub? # Prolific PL2301/PL2302 host-to-host +#uscanner* at uhub? # USB Scanner driver +#usscanner* at uhub? # USB SCSI scanners +#scsibus* at usscanner? +#uyap* at uhub? # Y@P firmware loader +#ugen* at uhub? # USB Generic driver +umass* at uhub? # USB Mass Storage devices +scsibus* at umass? + +# SD/MMC support +pxammc0 at pxaip? # MMC/SD/SDIO controller +sdmmc* at pxammc? # SD/MMC bus +scsibus* at sdmmc? # SCSI emulation +softraid0 at root # Software RAID +scsibus* at softraid? + +sd* at scsibus? +#st* at scsibus? +cd* at scsibus? +#ch* at scsibus? +#ss* at scsibus? +#uk* at scsibus? + +# integrated 16550 UARTs +options COM_PXA2X0 +com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART +com1 at pxaip? addr 0x40200000 intr 21 # BlueTooth UART +com2 at pxaip? addr 0x40700000 intr 20 # Standard UART (for IrDA) + +#aupxa0 at pxaip? # AC97 interface + +# CF (pcmcia) support +#pxapcic0 at pxaip? +#pcmcia* at pxapcic? +#wi* at pcmcia? +#ne* at pcmcia? +#wdc* at pcmcia? + +wdc0 at pxaip? + +# IDE hard drives +wd* at wdc? flags 0x0000 + +# PHY +#exphy* at mii? # 3Com internal PHYs +#inphy* at mii? # Intel 82555 PHYs +#iophy* at mii? # Intel 82553 PHYs +#icsphy* at mii? # ICS 1890 PHYs +#lxtphy* at mii? # Level1 LXT970 PHYs +#nsphy* at mii? # NS and compatible PHYs +#nsphyter* at mii? # NS and compatible PHYs +#qsphy* at mii? # Quality Semi QS6612 PHYs +#sqphy* at mii? # Seeq 8x220 PHYs +#rlphy* at mii? # RealTek 8139 internal PHYs +#mtdphy* at mii? # Myson MTD972 PHYs +#dcphy* at mii? # Digital Clone PHYs +#acphy* at mii? # Altima AC101 PHYs +#amphy* at mii? # AMD 79C873 PHYs +#tqphy* at mii? # TDK 78Q212x PHYs +#bmtphy* at mii? # Broadcom 10/100 PHYs +#brgphy* at mii? # Broadcom Gigabit PHYs +#eephy* at mii? # Marvell 88E1000 series PHY +#xmphy* at mii? # XaQti XMAC-II PHYs +#nsgphy* at mii? # NS gigabit PHYs +#urlphy* at mii? # Realtek RTL8150L internal PHY +#rgephy* at mii? # Realtek 8169S/8110S PHY +#ciphy* at mii? # Cicada CS8201 10/100/1000 copper PHY +#ukphy* at mii? # "unknown" PHYs + +# Input +pxa27x_kpc0 at pxaip? +wskbd0 at pxa27x_kpc0 mux 1 + +# LCD +lcd0 at pxaip? +wsdisplay* at lcd? console ? + +# Pseudo-Devices +pseudo-device wsmux 2 # mouse & keyboard multiplexor +#pseudo-device crypto 1 +pseudo-device loop 1 # network loopback +pseudo-device bpfilter 1 # packet filter +pseudo-device rd 1 # ram disk +pseudo-device bio 1 # ioctl multiplexing device + +options BOOT_CONFIG # boot-time kernel config + +# RAMDISK stuff +options MINIROOTSIZE=5120 +options RAMDISK_HOOKS diff --git a/sys/arch/palm/conf/files.palm b/sys/arch/palm/conf/files.palm new file mode 100644 index 00000000000..a8346e15bb1 --- /dev/null +++ b/sys/arch/palm/conf/files.palm @@ -0,0 +1,92 @@ +# $OpenBSD: files.palm,v 1.1 2009/09/05 01:22:11 marex Exp $ +# +# First try for arm-specific configuration info +# + +maxpartitions 16 +maxusers 2 8 64 + +major {wd = 16} +major {sd = 24} +major {cd = 26} +major {rd = 18} + +file arch/arm/arm/conf.c + +file arch/palm/palm/palm_machdep.c + +# +# Machine-independent SCSI drivers +# +include "../../../scsi/files.scsi" +include "../../../dev/atapiscsi/files.atapiscsi" + +# CPU support and integrated peripherals +include "arch/arm/xscale/files.pxa2x0" + +# LCD frame buffer +attach lcd at pxaip with lcd_pxaip +file arch/palm/palm/palm_lcd.c lcd_pxaip + +# SD/MMC socket controller +attach pxammc at pxaip with pxammc_palm +file arch/palm/dev/palm_mmc.c pxammc_palm + +# +# Machine-independent ATA drivers +# +include "dev/ata/files.ata" + +# Drive +#define palmvlio { [port = -1], [size = 0], [iomem = -1], [iosiz = 0], [irq = -1] } +#device palmvlio: palmvlio +#attach palmvlio at pxaip +#file arch/palm/dev/palmvlio.c palmvlio + +#attach wdc at palmvlio with palmhdd +attach wdc at pxaip with palm_hdd +file arch/palm/dev/palm_hdd.c palm_hdd + +# Generic MD files +file arch/palm/palm/autoconf.c + +file arch/arm/arm/disksubr.c disk + +# ARM FPE +file arch/arm/fpe-arm/armfpe_glue.S armfpe +file arch/arm/fpe-arm/armfpe_init.c armfpe +file arch/arm/fpe-arm/armfpe.s armfpe + +# Machine-independent I2O drivers. +include "dev/i2o/files.i2o" + +# Include WSCONS stuff +include "dev/wscons/files.wscons" +include "dev/rasops/files.rasops" +include "dev/wsfont/files.wsfont" +include "dev/pckbc/files.pckbc" + +# Include USB stuff +include "dev/usb/files.usb" + +attach pxaudc at pxaip with pxaudc_palm +file arch/palm/dev/palm_udc.c pxaudc_palm + +attach pxa27x_kpc at pxaip with pxakpc_palm +file arch/palm/dev/palm_kpc.c pxakpc_palm + +# Bluetooth +include "dev/bluetooth/files.bluetooth" + +# Media Independent Interface (mii) +include "dev/mii/files.mii" + +# +# Machine-independent SD/MMC drivers +# +include "dev/sdmmc/files.sdmmc" + +# +# Machine-independent 1-Wire drivers +# +include "dev/onewire/files.onewire" |