summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pccard.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-01-11 17:59:38 +0000
committernate <nate@FreeBSD.org>1997-01-11 17:59:38 +0000
commit8a825f6d66e058aef45a59f2e60978de7197881d (patch)
tree2cb8e39dca74608c5dc4088ea0fd3560f27631a5 /sys/pccard/pccard.c
parent7c07a35c58b3622d563f28c9e10aa10948b81edc (diff)
downloadFreeBSD-src-8a825f6d66e058aef45a59f2e60978de7197881d.zip
FreeBSD-src-8a825f6d66e058aef45a59f2e60978de7197881d.tar.gz
Removed magic # 16 and replaced with ICU_LEN.
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r--sys/pccard/pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 6242db5..623413e 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -444,7 +444,7 @@ pccard_alloc_intr(int imask, inthand2_t *hand, int unit, int *maskp)
int irq;
unsigned int mask;
- for (irq = 1; irq < 16; irq++) {
+ for (irq = 1; irq < ICU_LEN; irq++) {
mask = 1ul << irq;
if (!(mask & imask))
continue;
OpenPOWER on IntegriCloud