From owner-cvs-src-old@FreeBSD.ORG Tue Jun 23 19:29:37 2009 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 8EFDB10656C2 for ; Tue, 23 Jun 2009 19:29:37 +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 7BE798FC21 for ; Tue, 23 Jun 2009 19:29:37 +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 n5NJTbiR051054 for ; Tue, 23 Jun 2009 19:29:37 GMT (envelope-from sam@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5NJTb29051053 for cvs-src-old@freebsd.org; Tue, 23 Jun 2009 19:29:37 GMT (envelope-from sam@repoman.freebsd.org) Message-Id: <200906231929.n5NJTb29051053@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sam@repoman.freebsd.org using -f From: Sam Leffler Date: Tue, 23 Jun 2009 19:29:23 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/arm/xscale/ixp425 avila_ata.c cambria_exp_space.c 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: Tue, 23 Jun 2009 19:29:37 -0000 sam 2009-06-23 19:29:23 UTC FreeBSD src repository Modified files: sys/arm/xscale/ixp425 avila_ata.c cambria_exp_space.c Log: SVN rev 194753 on 2009-06-23 19:29:23Z by sam Now that we have UARTs running with fast interrupt handlers the ata driver's i/o ops must be locked to avoid chaos. Extend the cambria bus tag to support ata and add a spin lock. The ata driver is hacked to use that instead of it's builtin hack for ixp425. Once the ata driver is fixed to not be confused about byte order we can generalize the cambria bus tag code and make it generally useful. While here take advantage of our being ixp435-specific to remove delays when switching between byte+word accesses and to eliminate the 2us delay for the uarts (the spin lock overhead looks to do this for us). Revision Changes Path 1.9 +35 -25 src/sys/arm/xscale/ixp425/avila_ata.c 1.2 +173 -10 src/sys/arm/xscale/ixp425/cambria_exp_space.c