summaryrefslogtreecommitdiffstats
path: root/sys/dev/cs
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-06-06 16:10:10 +0000
committerimp <imp@FreeBSD.org>2008-06-06 16:10:10 +0000
commit8f43dc038348807a2ca82e7bd5e6f498f69356f5 (patch)
tree13d8f7c24054aea9602bb0f7dbe3423ba2786f7d /sys/dev/cs
parent36fee0c28d049184edca30b7c08114c278095d56 (diff)
downloadFreeBSD-src-8f43dc038348807a2ca82e7bd5e6f498f69356f5.zip
FreeBSD-src-8f43dc038348807a2ca82e7bd5e6f498f69356f5.tar.gz
Forgot to commit these files too :-(
Diffstat (limited to 'sys/dev/cs')
-rw-r--r--sys/dev/cs/if_cs_isa.c4
-rw-r--r--sys/dev/cs/if_cs_pccard.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cs/if_cs_isa.c b/sys/dev/cs/if_cs_isa.c
index b08c1a2..2fabb7e 100644
--- a/sys/dev/cs/if_cs_isa.c
+++ b/sys/dev/cs/if_cs_isa.c
@@ -78,7 +78,7 @@ cs_isa_probe(device_t dev)
end:
/* Make sure IRQ is assigned for probe message and available */
if (error == 0)
- error = cs_alloc_irq(dev, 0, 0);
+ error = cs_alloc_irq(dev, 0);
cs_release_resources(dev);
return (error);
@@ -90,7 +90,7 @@ cs_isa_attach(device_t dev)
struct cs_softc *sc = device_get_softc(dev);
cs_alloc_port(dev, 0, CS_89x0_IO_PORTS);
- cs_alloc_irq(dev, sc->irq_rid, 0);
+ cs_alloc_irq(dev, sc->irq_rid);
return (cs_attach(dev));
}
diff --git a/sys/dev/cs/if_cs_pccard.c b/sys/dev/cs/if_cs_pccard.c
index 063e597..073affd7a 100644
--- a/sys/dev/cs/if_cs_pccard.c
+++ b/sys/dev/cs/if_cs_pccard.c
@@ -84,7 +84,7 @@ cs_pccard_attach(device_t dev)
error = cs_cs89x0_probe(dev);
if (error != 0)
return (error);
- error = cs_alloc_irq(dev, sc->irq_rid, 0);
+ error = cs_alloc_irq(dev, sc->irq_rid);
if (error != 0)
goto bad;
OpenPOWER on IntegriCloud