net: dlink: 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/' Cc: "Alexander A. Klimov" <grandmaster@al2klimov.de> Signed-off-by: Hui Tang <tanghui20@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
cf82f9b165
commit
e6f0f97740
@@ -1847,20 +1847,20 @@ static int netdev_close(struct net_device *dev)
|
|||||||
/* Stop the chip's Tx and Rx processes. */
|
/* Stop the chip's Tx and Rx processes. */
|
||||||
iowrite16(TxDisable | RxDisable | StatsDisable, ioaddr + MACCtrl1);
|
iowrite16(TxDisable | RxDisable | StatsDisable, ioaddr + MACCtrl1);
|
||||||
|
|
||||||
for (i = 2000; i > 0; i--) {
|
for (i = 2000; i > 0; i--) {
|
||||||
if ((ioread32(ioaddr + DMACtrl) & 0xc000) == 0)
|
if ((ioread32(ioaddr + DMACtrl) & 0xc000) == 0)
|
||||||
break;
|
break;
|
||||||
mdelay(1);
|
mdelay(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
iowrite16(GlobalReset | DMAReset | FIFOReset | NetworkReset,
|
iowrite16(GlobalReset | DMAReset | FIFOReset | NetworkReset,
|
||||||
ioaddr + ASIC_HI_WORD(ASICCtrl));
|
ioaddr + ASIC_HI_WORD(ASICCtrl));
|
||||||
|
|
||||||
for (i = 2000; i > 0; i--) {
|
for (i = 2000; i > 0; i--) {
|
||||||
if ((ioread16(ioaddr + ASIC_HI_WORD(ASICCtrl)) & ResetBusy) == 0)
|
if ((ioread16(ioaddr + ASIC_HI_WORD(ASICCtrl)) & ResetBusy) == 0)
|
||||||
break;
|
break;
|
||||||
mdelay(1);
|
mdelay(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __i386__
|
#ifdef __i386__
|
||||||
if (netif_msg_hw(np)) {
|
if (netif_msg_hw(np)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user