aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/jazzsonic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/jazzsonic.c')
-rw-r--r--drivers/net/jazzsonic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/jazzsonic.c b/drivers/net/jazzsonic.c
index 35d5bed450da..f47d4d663b19 100644
--- a/drivers/net/jazzsonic.c
+++ b/drivers/net/jazzsonic.c
@@ -130,8 +130,8 @@ static int __devinit sonic_probe1(struct net_device *dev)
130 printk("SONIC Silicon Revision = 0x%04x\n",silicon_revision); 130 printk("SONIC Silicon Revision = 0x%04x\n",silicon_revision);
131 131
132 i = 0; 132 i = 0;
133 while (known_revisions[i] != 0xffff 133 while (known_revisions[i] != 0xffff &&
134 && known_revisions[i] != silicon_revision) 134 known_revisions[i] != silicon_revision)
135 i++; 135 i++;
136 136
137 if (known_revisions[i] == 0xffff) { 137 if (known_revisions[i] == 0xffff) {