Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: amd: remove leading spaces before tabs

There are a few leading spaces before tabs and remove it by running the
following commard:

$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Hui Tang and committed by
David S. Miller
106b4cb5 40b1f926

+27 -27
+2 -2
drivers/net/ethernet/amd/amd8111e.c
··· 19 19 20 20 Abstract: 21 21 22 - AMD8111 based 10/100 Ethernet Controller Driver. 22 + AMD8111 based 10/100 Ethernet Controller Driver. 23 23 24 24 Environment: 25 25 26 26 Kernel Mode 27 27 28 28 Revision History: 29 - 3.0.0 29 + 3.0.0 30 30 Initial Revision. 31 31 3.0.1 32 32 1. Dynamic interrupt coalescing.
+3 -3
drivers/net/ethernet/amd/amd8111e.h
··· 10 10 11 11 Abstract: 12 12 13 - AMD8111 based 10/100 Ethernet Controller driver definitions. 13 + AMD8111 based 10/100 Ethernet Controller driver definitions. 14 14 15 15 Environment: 16 16 17 17 Kernel Mode 18 18 19 19 Revision History: 20 - 3.0.0 20 + 3.0.0 21 21 Initial Revision. 22 22 3.0.1 23 23 */ ··· 692 692 }; 693 693 694 694 enum coal_mode{ 695 - RX_INTR_COAL, 695 + RX_INTR_COAL, 696 696 TX_INTR_COAL, 697 697 DISABLE_COAL, 698 698 ENABLE_COAL,
+1 -1
drivers/net/ethernet/amd/atarilance.c
··· 706 706 CHECK_OFFSET(offset); 707 707 MEM->tx_head[i].base = offset; 708 708 MEM->tx_head[i].flag = TMD1_OWN_HOST; 709 - MEM->tx_head[i].base_hi = 0; 709 + MEM->tx_head[i].base_hi = 0; 710 710 MEM->tx_head[i].length = 0; 711 711 MEM->tx_head[i].misc = 0; 712 712 offset += PKT_BUF_SZ;
+1 -1
drivers/net/ethernet/amd/declance.c
··· 937 937 938 938 dev_kfree_skb(skb); 939 939 940 - return NETDEV_TX_OK; 940 + return NETDEV_TX_OK; 941 941 } 942 942 943 943 static void lance_load_multicast(struct net_device *dev)
+2 -2
drivers/net/ethernet/amd/lance.c
··· 780 780 outw(0x0002, ioaddr+LANCE_ADDR); 781 781 /* Only touch autoselect bit. */ 782 782 outw(inw(ioaddr+LANCE_BUS_IF) | 0x0002, ioaddr+LANCE_BUS_IF); 783 - } 783 + } 784 784 785 785 if (lance_debug > 1) 786 786 printk("%s: lance_open() irq %d dma %d tx/rx rings %#x/%#x init %#x.\n", ··· 812 812 * We used to clear the InitDone bit, 0x0100, here but Mark Stockton 813 813 * reports that doing so triggers a bug in the '974. 814 814 */ 815 - outw(0x0042, ioaddr+LANCE_DATA); 815 + outw(0x0042, ioaddr+LANCE_DATA); 816 816 817 817 if (lance_debug > 2) 818 818 printk("%s: LANCE open after %d ticks, init block %#x csr0 %4.4x.\n",
+6 -6
drivers/net/ethernet/amd/ni65.c
··· 193 193 .vendor_id = ni_vendor, 194 194 .cardname = "ni6510", 195 195 .config = 0x1, 196 - }, 196 + }, 197 197 { 198 198 .id0 = NI65_EB_ID0, 199 199 .id1 = NI65_EB_ID1, ··· 204 204 .vendor_id = ni_vendor, 205 205 .cardname = "ni6510 EtherBlaster", 206 206 .config = 0x2, 207 - }, 207 + }, 208 208 { 209 209 .id0 = NE2100_ID0, 210 210 .id1 = NE2100_ID1, ··· 1232 1232 1233 1233 int __init init_module(void) 1234 1234 { 1235 - dev_ni65 = ni65_probe(-1); 1235 + dev_ni65 = ni65_probe(-1); 1236 1236 return PTR_ERR_OR_ZERO(dev_ni65); 1237 1237 } 1238 1238 1239 1239 void __exit cleanup_module(void) 1240 1240 { 1241 - unregister_netdev(dev_ni65); 1242 - cleanup_card(dev_ni65); 1243 - free_netdev(dev_ni65); 1241 + unregister_netdev(dev_ni65); 1242 + cleanup_card(dev_ni65); 1243 + free_netdev(dev_ni65); 1244 1244 } 1245 1245 #endif /* MODULE */ 1246 1246
+6 -6
drivers/net/ethernet/amd/nmclan_cs.c
··· 541 541 if(++ct > 500) 542 542 { 543 543 pr_err("reset failed, card removed?\n"); 544 - return -1; 544 + return -1; 545 545 } 546 546 udelay(1); 547 547 } ··· 585 585 ct = 0; 586 586 while (mace_read(lp, ioaddr, MACE_IAC) & MACE_IAC_ADDRCHG) 587 587 { 588 - if(++ ct > 500) 589 - { 588 + if(++ ct > 500) 589 + { 590 590 pr_err("ADDRCHG timeout, card removed?\n"); 591 - return -1; 592 - } 591 + return -1; 592 + } 593 593 } 594 594 /* Set PADR register */ 595 595 for (i = 0; i < ETH_ALEN; i++) ··· 655 655 } 656 656 657 657 if(mace_init(lp, ioaddr, dev->dev_addr) == -1) 658 - goto failed; 658 + goto failed; 659 659 660 660 /* The if_port symbol can be set when the module is loaded */ 661 661 if (if_port <= 2)
+6 -6
drivers/net/ethernet/amd/sun3lance.c
··· 150 150 struct lance_private { 151 151 volatile unsigned short *iobase; 152 152 struct lance_memory *mem; 153 - int new_rx, new_tx; /* The next free ring entry */ 153 + int new_rx, new_tx; /* The next free ring entry */ 154 154 int old_tx, old_rx; /* ring entry to be processed */ 155 155 /* These two must be longs for set_bit() */ 156 156 long tx_full; ··· 465 465 for( i = 0; i < TX_RING_SIZE; i++ ) { 466 466 MEM->tx_head[i].base = dvma_vtob(MEM->tx_data[i]); 467 467 MEM->tx_head[i].flag = 0; 468 - MEM->tx_head[i].base_hi = 468 + MEM->tx_head[i].base_hi = 469 469 (dvma_vtob(MEM->tx_data[i])) >>16; 470 470 MEM->tx_head[i].length = 0; 471 471 MEM->tx_head[i].misc = 0; ··· 581 581 } 582 582 583 583 AREG = CSR0; 584 - DPRINTK( 2, ( "%s: lance_start_xmit() called, csr0 %4.4x.\n", 585 - dev->name, DREG )); 584 + DPRINTK( 2, ( "%s: lance_start_xmit() called, csr0 %4.4x.\n", 585 + dev->name, DREG )); 586 586 587 587 #ifdef CONFIG_SUN3X 588 588 /* this weirdness doesn't appear on sun3... */ ··· 636 636 /* Trigger an immediate send poll. */ 637 637 REGA(CSR0) = CSR0_INEA | CSR0_TDMD | CSR0_STRT; 638 638 AREG = CSR0; 639 - DPRINTK( 2, ( "%s: lance_start_xmit() exiting, csr0 %4.4x.\n", 640 - dev->name, DREG )); 639 + DPRINTK( 2, ( "%s: lance_start_xmit() exiting, csr0 %4.4x.\n", 640 + dev->name, DREG )); 641 641 dev_kfree_skb(skb); 642 642 643 643 lp->lock = 0;