r8169: trim trailing whitespaces and convert whitespaces to tabs
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
This commit is contained in:
@@ -81,7 +81,7 @@ VERSION 2.2LK <2005/01/25>
|
|||||||
|
|
||||||
#ifdef RTL8169_DEBUG
|
#ifdef RTL8169_DEBUG
|
||||||
#define assert(expr) \
|
#define assert(expr) \
|
||||||
if(!(expr)) { \
|
if (!(expr)) { \
|
||||||
printk( "Assertion failed! %s,%s,%s,line=%d\n", \
|
printk( "Assertion failed! %s,%s,%s,line=%d\n", \
|
||||||
#expr,__FILE__,__FUNCTION__,__LINE__); \
|
#expr,__FILE__,__FUNCTION__,__LINE__); \
|
||||||
}
|
}
|
||||||
@@ -1887,9 +1887,8 @@ rtl8169_hw_start(struct net_device *dev)
|
|||||||
RTL_W32(RxConfig, i);
|
RTL_W32(RxConfig, i);
|
||||||
|
|
||||||
/* Set DMA burst size and Interframe Gap Time */
|
/* Set DMA burst size and Interframe Gap Time */
|
||||||
RTL_W32(TxConfig,
|
RTL_W32(TxConfig, (TX_DMA_BURST << TxDMAShift) |
|
||||||
(TX_DMA_BURST << TxDMAShift) | (InterFrameGap <<
|
(InterFrameGap << TxInterFrameGapShift));
|
||||||
TxInterFrameGapShift));
|
|
||||||
|
|
||||||
tp->cp_cmd |= RTL_R16(CPlusCmd) | PCIMulRW;
|
tp->cp_cmd |= RTL_R16(CPlusCmd) | PCIMulRW;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user