From ce6232a085e7df8545e0fd18fa2f4391d709b817 Mon Sep 17 00:00:00 2001 From: nate Date: Wed, 21 Feb 1996 23:31:03 +0000 Subject: Removed un-used code. --- sys/pccard/pccard.c | 12 ------------ sys/pccard/pcic.c | 12 ------------ 2 files changed, 24 deletions(-) (limited to 'sys/pccard') diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index fd99cdf..f993be7 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -358,18 +358,6 @@ pccard_alloc_intr(int imask, inthand2_t *hand, int unit, int *maskp) int irq; unsigned int mask; -#if 0 - /* - * this overrides IRQ masks specified by pccardd, - * so I removed this code. (hosokawa@mt.cs.keio.ac.jp) - */ - imask = 1<< 3; - imask |= 1<< 5; - imask |= 1<< 9; - imask |= 1<<11; - imask |= 1<<15; -#endif - for (irq = 1; irq < 16; irq++) { mask = 1ul << irq; if (!(mask & imask)) diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 30b97d8..c4c75c3 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -778,33 +778,21 @@ pcic_reset(void *chan) case 0: /* Something funny happended on the way to the pub... */ return; case 1: /* Assert reset */ -#if 0 - printf("R"); -#endif clrb (sp, PCIC_INT_GEN, PCIC_CARDRESET); slotp->insert_seq = 2; timeout(pcic_reset, (void*) slotp, hz/4); return; case 2: /* Deassert it again */ -#if 0 - printf("r"); -#endif setb (sp, PCIC_INT_GEN, PCIC_CARDRESET|PCIC_IOCARD); slotp->insert_seq = 3; timeout(pcic_reset, (void*) slotp, hz/4); return; case 3: /* Wait if card needs more time */ if (!getb(sp, PCIC_STATUS) & PCIC_READY) { -#if 0 - printf("_"); -#endif timeout(pcic_reset, (void*) slotp, hz/10); return; } } -#if 0 - printf(".\n"); -#endif slotp->insert_seq = 0; if (sp->controller == PCIC_PD672X || sp->controller == PCIC_PD6710) { putb(sp, PCIC_TIME_SETUP0, 0x1); -- cgit v1.1