diff options
author | nate <nate@FreeBSD.org> | 1996-02-21 23:31:03 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-02-21 23:31:03 +0000 |
commit | ce6232a085e7df8545e0fd18fa2f4391d709b817 (patch) | |
tree | 9ef41d8cccef3977f5f30b779a425befd71723f9 /sys/pccard | |
parent | 9bcadeb83ad8bf21ab0842c99ad365f64fc43822 (diff) | |
download | FreeBSD-src-ce6232a085e7df8545e0fd18fa2f4391d709b817.zip FreeBSD-src-ce6232a085e7df8545e0fd18fa2f4391d709b817.tar.gz |
Removed un-used code.
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pccard.c | 12 | ||||
-rw-r--r-- | sys/pccard/pcic.c | 12 |
2 files changed, 0 insertions, 24 deletions
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); |