mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 18:08:20 +00:00
atl1: fix whitespace damage
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:
parent
1e0063645e
commit
ab13a18a3c
@ -2,20 +2,20 @@
|
||||
* Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
|
||||
* Copyright(c) 2006 Chris Snook <csnook@redhat.com>
|
||||
* Copyright(c) 2006 Jay Cliburn <jcliburn@gmail.com>
|
||||
*
|
||||
*
|
||||
* Derived from Intel e1000 driver
|
||||
* Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* 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
|
||||
* Software Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
*
|
||||
* 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
|
||||
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
@ -42,9 +42,9 @@ s32 atl1_reset_hw(struct atl1_hw *hw)
|
||||
u32 icr;
|
||||
int i;
|
||||
|
||||
/*
|
||||
/*
|
||||
* 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);
|
||||
@ -137,8 +137,8 @@ s32 atl1_read_phy_reg(struct atl1_hw *hw, u16 reg_addr, u16 *phy_data)
|
||||
int i;
|
||||
|
||||
val = ((u32) (reg_addr & MDIO_REG_ADDR_MASK)) << MDIO_REG_ADDR_SHIFT |
|
||||
MDIO_START | MDIO_SUP_PREAMBLE | MDIO_RW | MDIO_CLK_25_4 <<
|
||||
MDIO_CLK_SEL_SHIFT;
|
||||
MDIO_START | MDIO_SUP_PREAMBLE | MDIO_RW | MDIO_CLK_25_4 <<
|
||||
MDIO_CLK_SEL_SHIFT;
|
||||
iowrite32(val, 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
|
||||
* return 0 if get valid mac address,
|
||||
* return 0 if get valid mac address,
|
||||
*/
|
||||
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
|
||||
*/
|
||||
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.
|
||||
* hw - Struct containing variables accessed by shared code
|
||||
* 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
|
||||
* Leaves the transmit and receive units disabled and uninitialized.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user