aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/fmvj18x_cs.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-12-03 02:58:21 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-03 16:18:01 -0500
commit8e95a2026f3b43f7c3d676adaccd2de9532e8dcc (patch)
tree3733318168cd512480b6db58c5c16d1c8847f0b7 /drivers/net/pcmcia/fmvj18x_cs.c
parent3454f835837609d60b29a266e3bd9d701073b060 (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/pcmcia/fmvj18x_cs.c')
-rw-r--r--drivers/net/pcmcia/fmvj18x_cs.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c
index 57e09616330a..a6961215cd56 100644
--- a/drivers/net/pcmcia/fmvj18x_cs.c
+++ b/drivers/net/pcmcia/fmvj18x_cs.c
@@ -371,9 +371,9 @@ static int fmvj18x_config(struct pcmcia_device *link)
371 switch (link->manf_id) { 371 switch (link->manf_id) {
372 case MANFID_TDK: 372 case MANFID_TDK:
373 cardtype = TDK; 373 cardtype = TDK;
374 if (link->card_id == PRODID_TDK_GN3410 374 if (link->card_id == PRODID_TDK_GN3410 ||
375 || link->card_id == PRODID_TDK_NP9610 375 link->card_id == PRODID_TDK_NP9610 ||
376 || link->card_id == PRODID_TDK_MN3200) { 376 link->card_id == PRODID_TDK_MN3200) {
377 /* MultiFunction Card */ 377 /* MultiFunction Card */
378 link->conf.ConfigBase = 0x800; 378 link->conf.ConfigBase = 0x800;
379 link->conf.ConfigIndex = 0x47; 379 link->conf.ConfigIndex = 0x47;
@@ -590,11 +590,11 @@ static int fmvj18x_get_hwinfo(struct pcmcia_device *link, u_char *node_id)
590 */ 590 */
591 for (i = 0; i < 0x200; i++) { 591 for (i = 0; i < 0x200; i++) {
592 if (readb(base+i*2) == 0x22) { 592 if (readb(base+i*2) == 0x22) {
593 if (readb(base+(i-1)*2) == 0xff 593 if (readb(base+(i-1)*2) == 0xff &&
594 && readb(base+(i+5)*2) == 0x04 594 readb(base+(i+5)*2) == 0x04 &&
595 && readb(base+(i+6)*2) == 0x06 595 readb(base+(i+6)*2) == 0x06 &&
596 && readb(base+(i+13)*2) == 0xff) 596 readb(base+(i+13)*2) == 0xff)
597 break; 597 break;
598 } 598 }
599 } 599 }
600 600
@@ -1219,8 +1219,8 @@ static void set_rx_mode(struct net_device *dev)
1219 if (dev->flags & IFF_PROMISC) { 1219 if (dev->flags & IFF_PROMISC) {
1220 memset(mc_filter, 0xff, sizeof(mc_filter)); 1220 memset(mc_filter, 0xff, sizeof(mc_filter));
1221 outb(3, ioaddr + RX_MODE); /* Enable promiscuous mode */ 1221 outb(3, ioaddr + RX_MODE); /* Enable promiscuous mode */
1222 } else if (dev->mc_count > MC_FILTERBREAK 1222 } else if (dev->mc_count > MC_FILTERBREAK ||
1223 || (dev->flags & IFF_ALLMULTI)) { 1223 (dev->flags & IFF_ALLMULTI)) {
1224 /* Too many to filter perfectly -- accept all multicasts. */ 1224 /* Too many to filter perfectly -- accept all multicasts. */
1225 memset(mc_filter, 0xff, sizeof(mc_filter)); 1225 memset(mc_filter, 0xff, sizeof(mc_filter));
1226 outb(2, ioaddr + RX_MODE); /* Use normal mode. */ 1226 outb(2, ioaddr + RX_MODE); /* Use normal mode. */