aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hp-plus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hp-plus.c')
-rw-r--r--drivers/net/hp-plus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/hp-plus.c b/drivers/net/hp-plus.c
index 0486cbe01adb..efdbcad63c67 100644
--- a/drivers/net/hp-plus.c
+++ b/drivers/net/hp-plus.c
@@ -187,8 +187,8 @@ static int __init hpp_probe1(struct net_device *dev, int ioaddr)
187 return -EBUSY; 187 return -EBUSY;
188 188
189 /* Check for the HP+ signature, 50 48 0x 53. */ 189 /* Check for the HP+ signature, 50 48 0x 53. */
190 if (inw(ioaddr + HP_ID) != 0x4850 190 if (inw(ioaddr + HP_ID) != 0x4850 ||
191 || (inw(ioaddr + HP_PAGING) & 0xfff0) != 0x5300) { 191 (inw(ioaddr + HP_PAGING) & 0xfff0) != 0x5300) {
192 retval = -ENODEV; 192 retval = -ENODEV;
193 goto out; 193 goto out;
194 } 194 }