[PATCH 5_9] Whitespace fixup on common_cmd_ace.c (using Lindent)

This patch is in preparation of additional changes to the sysace driver.
May as well take this opportunity to fixup the inconsistent whitespace since
this file is about to undergo major changes anyway.

There are zero functional changes in this patch.  It only cleans up the
the whitespace.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Grant Likely 2007-02-20 09:05:16 +01:00 committed by Stefan Roese
parent 80ba981d94
commit 984618f3e7

View File

@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ident "$Id:$"
/*
* The Xilinx SystemACE chip support is activated by defining
@ -89,8 +88,7 @@ static void ace_writew(unsigned val, unsigned offset)
/* */
static unsigned long systemace_read(int dev,
unsigned long start,
static unsigned long systemace_read(int dev, unsigned long start,
unsigned long blkcnt,
unsigned long *buffer);
@ -150,10 +148,8 @@ block_dev_desc_t * systemace_get_dev(int dev)
* the dev_desc) to read blocks of data. The return value is the
* number of blocks read. A zero return indicates an error.
*/
static unsigned long systemace_read(int dev,
unsigned long start,
unsigned long blkcnt,
unsigned long *buffer)
static unsigned long systemace_read(int dev, unsigned long start,
unsigned long blkcnt, unsigned long *buffer)
{
int retry;
unsigned blk_countdown;
@ -169,10 +165,10 @@ static unsigned long systemace_read(int dev,
return 0;
}
printf("**** ACE locked away from me (STATUSREG=%04x)\n", status);
printf("**** ACE locked away from me (STATUSREG=%04x)\n",
status);
return 0;
}
#ifdef DEBUG_SYSTEMACE
printf("... systemace read %lu sectors at %lu\n", blkcnt, start);
#endif
@ -210,7 +206,8 @@ static unsigned long systemace_read(int dev,
while (blk_countdown > 0) {
unsigned trans = blk_countdown;
if (trans > 256) trans = 256;
if (trans > 256)
trans = 256;
#ifdef DEBUG_SYSTEMACE
printf("... transfer %lu sector in a chunk\n", trans);