summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-06-14 11:10:19 +0000
committerasami <asami@FreeBSD.org>1996-06-14 11:10:19 +0000
commitde013e282df86ab6d2bfe323425f4bf6f00220f9 (patch)
tree9db06a81c0ec0611bc8589ca7f7c82f0c8f04851 /sys/pccard
parent36a1932601c730683d263ee933dd90cd6dae96bf (diff)
downloadFreeBSD-src-de013e282df86ab6d2bfe323425f4bf6f00220f9.zip
FreeBSD-src-de013e282df86ab6d2bfe323425f4bf6f00220f9.tar.gz
Oops, forgot to delete some garbage from working code.
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pccard.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index ac6466d..b0098c8 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -486,8 +486,6 @@ allocate_driver(struct slot *sp, struct drv_desc *drvp)
struct pccard_drv *dp;
int err, irq = 0, s;
-/* BUCHI */
-
dp = find_driver(drvp->name);
if (dp == 0)
return(ENXIO);
@@ -507,12 +505,6 @@ allocate_driver(struct slot *sp, struct drv_desc *drvp)
* If an interrupt mask has been given, then check it
* against the slot interrupt (if one has been allocated).
*/
-/* BUCHI */
-#if 0
-printf("drvp->irqmask=0x%x, dp->imask=0x%x, sp->irq=0x%x, sp->ctrl->irqs=0x%x\n", drvp->irqmask, dp->imask, sp->irq, sp->ctrl->irqs);
-printf("name=%s, unit=%d, mem=0x%x, memsz=%d, iobase=0x%x, irqmask=0x%x\n", drvp->name, drvp->unit, drvp->mem, drvp->memsize, drvp->iobase, drvp->irqmask);
-#endif
-
if (drvp->irqmask && dp->imask) {
if ((sp->ctrl->irqs & drvp->irqmask)==0)
return(EINVAL);
OpenPOWER on IntegriCloud