|
@@ -90,14 +90,14 @@ static int __init com20020isa_probe(struct net_device *dev)
|
|
|
outb(0, _INTMASK);
|
|
|
dev->irq = probe_irq_off(airqmask);
|
|
|
|
|
|
- if (dev->irq <= 0) {
|
|
|
+ if ((int)dev->irq <= 0) {
|
|
|
BUGMSG(D_INIT_REASONS, "Autoprobe IRQ failed first time\n");
|
|
|
airqmask = probe_irq_on();
|
|
|
outb(NORXflag, _INTMASK);
|
|
|
udelay(5);
|
|
|
outb(0, _INTMASK);
|
|
|
dev->irq = probe_irq_off(airqmask);
|
|
|
- if (dev->irq <= 0) {
|
|
|
+ if ((int)dev->irq <= 0) {
|
|
|
BUGMSG(D_NORMAL, "Autoprobe IRQ failed.\n");
|
|
|
err = -ENODEV;
|
|
|
goto out;
|