Date: Tue, 23 Jun 2009 19:29:23 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/arm/xscale/ixp425 avila_ata.c cambria_exp_space.c Message-ID: <200906231929.n5NJTb29051053@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906231929.n5NJTb29051053>