From owner-cvs-src-old@FreeBSD.ORG Sat Dec 20 03:28:27 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD9911065670 for ; Sat, 20 Dec 2008 03:28:27 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C59AB8FC13 for ; Sat, 20 Dec 2008 03:28:27 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mBK3SRLI034057 for ; Sat, 20 Dec 2008 03:28:27 GMT (envelope-from sam@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mBK3SRFS034056 for cvs-src-old@freebsd.org; Sat, 20 Dec 2008 03:28:27 GMT (envelope-from sam@repoman.freebsd.org) Message-Id: <200812200328.mBK3SRFS034056@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sam@repoman.freebsd.org using -f From: Sam Leffler Date: Sat, 20 Dec 2008 03:26:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/arm/arm cpufunc.c identcpu.c src/sys/arm/conf AVILA AVILA.hints CAMBRIA CAMBRIA.hints src/sys/arm/include armreg.h intr.h src/sys/arm/xscale/ixp425 avila_ata.c avila_led.c avila_machdep.c cambria_fled.c cambria_led.c files.avila ... X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2008 03:28:27 -0000 sam 2008-12-20 03:26:09 UTC FreeBSD src repository Modified files: sys/arm/arm cpufunc.c identcpu.c sys/arm/conf AVILA AVILA.hints sys/arm/include armreg.h intr.h sys/arm/xscale/ixp425 avila_ata.c avila_led.c avila_machdep.c files.avila files.ixp425 if_npe.c if_npereg.h ixp425.c ixp425_iic.c ixp425_intr.h ixp425_mem.c ixp425_npe.c ixp425_npevar.h ixp425_pci.c ixp425_qmgr.c ixp425_timer.c ixp425_wdog.c ixp425reg.h ixp425var.h std.avila sys/boot/arm/ixp425/boot2 arm_init.S boot2.c ixp425_board.c lib.h sys/conf options.arm sys/contrib/dev/npe IxNpeMicrocode.dat.uu Added files: sys/arm/conf CAMBRIA CAMBRIA.hints sys/arm/xscale/ixp425 cambria_fled.c cambria_led.c ixp435_ehci.c std.ixp435 Log: SVN rev 186352 on 2008-12-20 03:26:09Z by sam Merge support for Gateworks Cambria boards: o add support for IXP435 cpu's (e.g. 64 irq's) o add support for Cambria-specific devices: npe, led's (front panel and octal latch), ehci, mcu, ide cf o redo memory mapping for xscale/ixp4xx boards: previously memory was assumed aliased to 0x10000000 but this appears to be true only for ixp425 systems and breaks operation on others; rework so memory is assumed to start at 0 o rework NPE configuration support to use NPE id's instead of port #'s; these changes also rename the associated MAC's to follow the NPE's they are attached to o update npe firmware to latest rev (same license) and update default fw imageid's to match; in particular this adds NPE-A and crypto support o re-style NPE fw handling code and add a console msg identifying the attributes of the loaded fw o fix numerous problems with handling failures during npe setup o fix npe rx q setup; need to spin waiting for mailbox responses during early boot stages as qmgr interrupts are not delivered; this fixes the problem where all 8 traffic classifications were not tied to the rx q (and eliminates the console msg "remember to fix rx q setup") o add DELAY to npe MII wait logic for IXP435 o strip down builtin phys->virt address translation table in resource handling to just those resources that require it and add a console msg to alert people when this (kludge) table needs to be extended o purge a bunch of dead netbsd-ism's o cleanup avila led driver o add Cambria support to boot2 and rework code for better multi-board support Notes: 1. NPE-A doesn't work and causes NPE-C to stop working; it is disabled in the hints 2. USB isn't working yet; controller communicates ok but device discovery fails 3. Cambria support must be configured separately from IXP425 boards; multi-board support is TBD Sponsored by: Hobnob, Gateworks (board donation) Reviewed by: imp Revision Changes Path 1.24 +1 -1 src/sys/arm/arm/cpufunc.c 1.15 +4 -0 src/sys/arm/arm/identcpu.c 1.20 +35 -43 src/sys/arm/conf/AVILA 1.4 +8 -7 src/sys/arm/conf/AVILA.hints 1.1 +149 -0 src/sys/arm/conf/CAMBRIA (new) 1.1 +54 -0 src/sys/arm/conf/CAMBRIA.hints (new) 1.9 +1 -0 src/sys/arm/include/armreg.h 1.12 +3 -1 src/sys/arm/include/intr.h 1.6 +94 -59 src/sys/arm/xscale/ixp425/avila_ata.c 1.2 +19 -18 src/sys/arm/xscale/ixp425/avila_led.c 1.14 +169 -156 src/sys/arm/xscale/ixp425/avila_machdep.c 1.1 +108 -0 src/sys/arm/xscale/ixp425/cambria_fled.c (new) 1.1 +132 -0 src/sys/arm/xscale/ixp425/cambria_led.c (new) 1.5 +2 -0 src/sys/arm/xscale/ixp425/files.avila 1.6 +2 -0 src/sys/arm/xscale/ixp425/files.ixp425 1.11 +233 -135 src/sys/arm/xscale/ixp425/if_npe.c 1.2 +0 -6 src/sys/arm/xscale/ixp425/if_npereg.h 1.11 +119 -80 src/sys/arm/xscale/ixp425/ixp425.c 1.4 +1 -1 src/sys/arm/xscale/ixp425/ixp425_iic.c 1.2 +7 -67 src/sys/arm/xscale/ixp425/ixp425_intr.h 1.3 +19 -2 src/sys/arm/xscale/ixp425/ixp425_mem.c 1.9 +945 -852 src/sys/arm/xscale/ixp425/ixp425_npe.c 1.5 +15 -7 src/sys/arm/xscale/ixp425/ixp425_npevar.h 1.6 +13 -14 src/sys/arm/xscale/ixp425/ixp425_pci.c 1.5 +2 -2 src/sys/arm/xscale/ixp425/ixp425_qmgr.c 1.3 +2 -2 src/sys/arm/xscale/ixp425/ixp425_timer.c 1.3 +2 -2 src/sys/arm/xscale/ixp425/ixp425_wdog.c 1.3 +108 -21 src/sys/arm/xscale/ixp425/ixp425reg.h 1.5 +5 -0 src/sys/arm/xscale/ixp425/ixp425var.h 1.1 +357 -0 src/sys/arm/xscale/ixp425/ixp435_ehci.c (new) 1.2 +19 -3 src/sys/arm/xscale/ixp425/std.avila 1.1 +8 -0 src/sys/arm/xscale/ixp425/std.ixp435 (new) 1.2 +7 -1 src/sys/boot/arm/ixp425/boot2/arm_init.S 1.3 +1 -1 src/sys/boot/arm/ixp425/boot2/boot2.c 1.2 +147 -73 src/sys/boot/arm/ixp425/boot2/ixp425_board.c 1.2 +1 -0 src/sys/boot/arm/ixp425/boot2/lib.h 1.23 +1 -0 src/sys/conf/options.arm 1.2 +673 -440 src/sys/contrib/dev/npe/IxNpeMicrocode.dat.uu