diff options
Diffstat (limited to 'drivers/net/e2100.c')
-rw-r--r-- | drivers/net/e2100.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/e2100.c b/drivers/net/e2100.c index d2f6ee1a6290..ca93c9a9d372 100644 --- a/drivers/net/e2100.c +++ b/drivers/net/e2100.c | |||
@@ -186,9 +186,9 @@ static int __init e21_probe1(struct net_device *dev, int ioaddr) | |||
186 | return -EBUSY; | 186 | return -EBUSY; |
187 | 187 | ||
188 | /* First check the station address for the Ctron prefix. */ | 188 | /* First check the station address for the Ctron prefix. */ |
189 | if (inb(ioaddr + E21_SAPROM + 0) != 0x00 | 189 | if (inb(ioaddr + E21_SAPROM + 0) != 0x00 || |
190 | || inb(ioaddr + E21_SAPROM + 1) != 0x00 | 190 | inb(ioaddr + E21_SAPROM + 1) != 0x00 || |
191 | || inb(ioaddr + E21_SAPROM + 2) != 0x1d) { | 191 | inb(ioaddr + E21_SAPROM + 2) != 0x1d) { |
192 | retval = -ENODEV; | 192 | retval = -ENODEV; |
193 | goto out; | 193 | goto out; |
194 | } | 194 | } |