Remove trailing whitespace and spaces preceding tabs.

Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Jay Cliburn 2007-04-29 21:42:11 -05:00 коммит произвёл Jeff Garzik
Родитель 1e0063645e
Коммит ab13a18a3c
1 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -2,20 +2,20 @@
* Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
* Copyright(c) 2006 Chris Snook <csnook@redhat.com> * Copyright(c) 2006 Chris Snook <csnook@redhat.com>
* Copyright(c) 2006 Jay Cliburn <jcliburn@gmail.com> * Copyright(c) 2006 Jay Cliburn <jcliburn@gmail.com>
* *
* Derived from Intel e1000 driver * Derived from Intel e1000 driver
* Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free * under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option) * Software Foundation; either version 2 of the License, or (at your option)
* any later version. * any later version.
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details. * more details.
* *
* You should have received a copy of the GNU General Public License along with * You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 * this program; if not, write to the Free Software Foundation, Inc., 59
* Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@ -42,9 +42,9 @@ s32 atl1_reset_hw(struct atl1_hw *hw)
u32 icr; u32 icr;
int i; int i;
/* /*
* Clear Interrupt mask to stop board from generating * Clear Interrupt mask to stop board from generating
* interrupts & Clear any pending interrupt events * interrupts & Clear any pending interrupt events
*/ */
/* /*
* iowrite32(0, hw->hw_addr + REG_IMR); * iowrite32(0, hw->hw_addr + REG_IMR);
@ -137,8 +137,8 @@ s32 atl1_read_phy_reg(struct atl1_hw *hw, u16 reg_addr, u16 *phy_data)
int i; int i;
val = ((u32) (reg_addr & MDIO_REG_ADDR_MASK)) << MDIO_REG_ADDR_SHIFT | val = ((u32) (reg_addr & MDIO_REG_ADDR_MASK)) << MDIO_REG_ADDR_SHIFT |
MDIO_START | MDIO_SUP_PREAMBLE | MDIO_RW | MDIO_CLK_25_4 << MDIO_START | MDIO_SUP_PREAMBLE | MDIO_RW | MDIO_CLK_25_4 <<
MDIO_CLK_SEL_SHIFT; MDIO_CLK_SEL_SHIFT;
iowrite32(val, hw->hw_addr + REG_MDIO_CTRL); iowrite32(val, hw->hw_addr + REG_MDIO_CTRL);
ioread32(hw->hw_addr + REG_MDIO_CTRL); ioread32(hw->hw_addr + REG_MDIO_CTRL);
@ -205,7 +205,7 @@ static bool atl1_spi_read(struct atl1_hw *hw, u32 addr, u32 *buf)
/* /*
* get_permanent_address * get_permanent_address
* return 0 if get valid mac address, * return 0 if get valid mac address,
*/ */
static int atl1_get_permanent_address(struct atl1_hw *hw) static int atl1_get_permanent_address(struct atl1_hw *hw)
{ {
@ -302,7 +302,7 @@ static int atl1_get_permanent_address(struct atl1_hw *hw)
} }
/* /*
* Reads the adapter's MAC address from the EEPROM * Reads the adapter's MAC address from the EEPROM
* hw - Struct containing variables accessed by shared code * hw - Struct containing variables accessed by shared code
*/ */
s32 atl1_read_mac_addr(struct atl1_hw *hw) s32 atl1_read_mac_addr(struct atl1_hw *hw)
@ -629,7 +629,7 @@ static void atl1_init_flash_opcode(struct atl1_hw *hw)
* Performs basic configuration of the adapter. * Performs basic configuration of the adapter.
* hw - Struct containing variables accessed by shared code * hw - Struct containing variables accessed by shared code
* Assumes that the controller has previously been reset and is in a * Assumes that the controller has previously been reset and is in a
* post-reset uninitialized state. Initializes multicast table, * post-reset uninitialized state. Initializes multicast table,
* and Calls routines to setup link * and Calls routines to setup link
* Leaves the transmit and receive units disabled and uninitialized. * Leaves the transmit and receive units disabled and uninitialized.
*/ */