diff options
author | Joe Perches <joe@perches.com> | 2009-12-03 02:58:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-03 16:18:01 -0500 |
commit | 8e95a2026f3b43f7c3d676adaccd2de9532e8dcc (patch) | |
tree | 3733318168cd512480b6db58c5c16d1c8847f0b7 /drivers/net/via-rhine.c | |
parent | 3454f835837609d60b29a266e3bd9d701073b060 (diff) |
drivers/net: Move && and || to end of previous line
Only files where David Miller is the primary git-signer.
wireless, wimax, ixgbe, etc are not modified.
Compile tested x86 allyesconfig only
Not all files compiled (not x86 compatible)
Added a few > 80 column lines, which I ignored.
Existing checkpatch complaints ignored.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r-- | drivers/net/via-rhine.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index ec94ddf01f56..593e01f64e9b 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c | |||
@@ -42,9 +42,9 @@ static int max_interrupt_work = 20; | |||
42 | 42 | ||
43 | /* Set the copy breakpoint for the copy-only-tiny-frames scheme. | 43 | /* Set the copy breakpoint for the copy-only-tiny-frames scheme. |
44 | Setting to > 1518 effectively disables this feature. */ | 44 | Setting to > 1518 effectively disables this feature. */ |
45 | #if defined(__alpha__) || defined(__arm__) || defined(__hppa__) \ | 45 | #if defined(__alpha__) || defined(__arm__) || defined(__hppa__) || \ |
46 | || defined(CONFIG_SPARC) || defined(__ia64__) \ | 46 | defined(CONFIG_SPARC) || defined(__ia64__) || \ |
47 | || defined(__sh__) || defined(__mips__) | 47 | defined(__sh__) || defined(__mips__) |
48 | static int rx_copybreak = 1518; | 48 | static int rx_copybreak = 1518; |
49 | #else | 49 | #else |
50 | static int rx_copybreak; | 50 | static int rx_copybreak; |
@@ -1683,8 +1683,8 @@ static void rhine_set_rx_mode(struct net_device *dev) | |||
1683 | rx_mode = 0x1C; | 1683 | rx_mode = 0x1C; |
1684 | iowrite32(0xffffffff, ioaddr + MulticastFilter0); | 1684 | iowrite32(0xffffffff, ioaddr + MulticastFilter0); |
1685 | iowrite32(0xffffffff, ioaddr + MulticastFilter1); | 1685 | iowrite32(0xffffffff, ioaddr + MulticastFilter1); |
1686 | } else if ((dev->mc_count > multicast_filter_limit) | 1686 | } else if ((dev->mc_count > multicast_filter_limit) || |
1687 | || (dev->flags & IFF_ALLMULTI)) { | 1687 | (dev->flags & IFF_ALLMULTI)) { |
1688 | /* Too many to match, or accept all multicasts. */ | 1688 | /* Too many to match, or accept all multicasts. */ |
1689 | iowrite32(0xffffffff, ioaddr + MulticastFilter0); | 1689 | iowrite32(0xffffffff, ioaddr + MulticastFilter0); |
1690 | iowrite32(0xffffffff, ioaddr + MulticastFilter1); | 1690 | iowrite32(0xffffffff, ioaddr + MulticastFilter1); |