[PATCH] prism54: whitespace cleanup

NET: prism54 - whitespace cleanup

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Dmitry Torokhov
2006-10-08 00:38:15 -04:00
committed by Jeff Garzik
parent d18e0c4a54
commit 93b2dd1204
14 changed files with 89 additions and 102 deletions

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* Copyright (C) 2003-2004 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>_ * Copyright (C) 2003-2004 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>_
* *
@@ -211,10 +210,12 @@ isl38xx_interface_reset(void __iomem *device_base, dma_addr_t host_address)
} }
void void
isl38xx_enable_common_interrupts(void __iomem *device_base) { isl38xx_enable_common_interrupts(void __iomem *device_base)
{
u32 reg; u32 reg;
reg = ( ISL38XX_INT_IDENT_UPDATE |
ISL38XX_INT_IDENT_SLEEP | ISL38XX_INT_IDENT_WAKEUP); reg = ISL38XX_INT_IDENT_UPDATE | ISL38XX_INT_IDENT_SLEEP |
ISL38XX_INT_IDENT_WAKEUP;
isl38xx_w32_flush(device_base, reg, ISL38XX_INT_EN_REG); isl38xx_w32_flush(device_base, reg, ISL38XX_INT_EN_REG);
udelay(ISL38XX_WRITEIO_DELAY); udelay(ISL38XX_WRITEIO_DELAY);
} }
@@ -234,23 +235,21 @@ isl38xx_in_queue(isl38xx_control_block *cb, int queue)
/* send queues */ /* send queues */
case ISL38XX_CB_TX_MGMTQ: case ISL38XX_CB_TX_MGMTQ:
BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE); BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE);
case ISL38XX_CB_TX_DATA_LQ: case ISL38XX_CB_TX_DATA_LQ:
case ISL38XX_CB_TX_DATA_HQ: case ISL38XX_CB_TX_DATA_HQ:
BUG_ON(delta > ISL38XX_CB_TX_QSIZE); BUG_ON(delta > ISL38XX_CB_TX_QSIZE);
return delta; return delta;
break;
/* receive queues */ /* receive queues */
case ISL38XX_CB_RX_MGMTQ: case ISL38XX_CB_RX_MGMTQ:
BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE); BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE);
return ISL38XX_CB_MGMT_QSIZE - delta; return ISL38XX_CB_MGMT_QSIZE - delta;
break;
case ISL38XX_CB_RX_DATA_LQ: case ISL38XX_CB_RX_DATA_LQ:
case ISL38XX_CB_RX_DATA_HQ: case ISL38XX_CB_RX_DATA_HQ:
BUG_ON(delta > ISL38XX_CB_RX_QSIZE); BUG_ON(delta > ISL38XX_CB_RX_QSIZE);
return ISL38XX_CB_RX_QSIZE - delta; return ISL38XX_CB_RX_QSIZE - delta;
break;
} }
BUG(); BUG();
return 0; return 0;

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* (C) 2003,2004 Aurelien Alleaume <slts@free.fr> * (C) 2003,2004 Aurelien Alleaume <slts@free.fr>
* (C) 2003 Herbert Valerio Riedel <hvr@gnu.org> * (C) 2003 Herbert Valerio Riedel <hvr@gnu.org>

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* (C) 2003 Aurelien Alleaume <slts@free.fr> * (C) 2003 Aurelien Alleaume <slts@free.fr>
* (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu> * (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>

View File

@@ -1,6 +1,4 @@
/* /*
*
*
* Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org> * Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org>
* Copyright (C) 2004 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu> * Copyright (C) 2004 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>
* Copyright (C) 2004 Aurelien Alleaume <slts@free.fr> * Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org> * Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org>
* Copyright (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu> * Copyright (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org> * Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org>
* Copyright (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu> * Copyright (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* Copyright (C) 2004 Aurelien Alleaume <slts@free.fr> * Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org> * Copyright (C) 2003 Herbert Valerio Riedel <hvr@gnu.org>
* *
@@ -132,15 +131,15 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
/* 0x40 is the programmable timer to configure the response timeout (TRDY_TIMEOUT) /* 0x40 is the programmable timer to configure the response timeout (TRDY_TIMEOUT)
* 0x41 is the programmable timer to configure the retry timeout (RETRY_TIMEOUT) * 0x41 is the programmable timer to configure the retry timeout (RETRY_TIMEOUT)
* The RETRY_TIMEOUT is used to set the number of retries that the core, as a * The RETRY_TIMEOUT is used to set the number of retries that the core, as a
* Master, will perform before abandoning a cycle. The default value for * Master, will perform before abandoning a cycle. The default value for
* RETRY_TIMEOUT is 0x80, which far exceeds the PCI 2.1 requirement for new * RETRY_TIMEOUT is 0x80, which far exceeds the PCI 2.1 requirement for new
* devices. A write of zero to the RETRY_TIMEOUT register disables this * devices. A write of zero to the RETRY_TIMEOUT register disables this
* function to allow use with any non-compliant legacy devices that may * function to allow use with any non-compliant legacy devices that may
* execute more retries. * execute more retries.
* *
* Writing zero to both these two registers will disable both timeouts and * Writing zero to both these two registers will disable both timeouts and
* *can* solve problems caused by devices that are slow to respond. * *can* solve problems caused by devices that are slow to respond.
* Make this configurable - MSW * Make this configurable - MSW
*/ */
if ( init_pcitm >= 0 ) { if ( init_pcitm >= 0 ) {

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* Copyright 2004 Jens Maurer <Jens.Maurer@gmx.net> * Copyright 2004 Jens Maurer <Jens.Maurer@gmx.net>
* *

View File

@@ -1,5 +1,4 @@
/* /*
*
* Copyright (C) 2002 Intersil Americas Inc. * Copyright (C) 2002 Intersil Americas Inc.
* Copyright (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu> * Copyright (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>
* *
@@ -36,8 +35,8 @@ extern int pc_debug;
/* General driver definitions */ /* General driver definitions */
#define PCIDEVICE_LATENCY_TIMER_MIN 0x40 #define PCIDEVICE_LATENCY_TIMER_MIN 0x40
#define PCIDEVICE_LATENCY_TIMER_VAL 0x50 #define PCIDEVICE_LATENCY_TIMER_VAL 0x50
/* Debugging verbose definitions */ /* Debugging verbose definitions */
#define SHOW_NOTHING 0x00 /* overrules everything */ #define SHOW_NOTHING 0x00 /* overrules everything */