summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-10-06 02:54:19 +0000
committernate <nate@FreeBSD.org>1997-10-06 02:54:19 +0000
commitd4fe8d6ee9070163dff980fbf50477faa7320f49 (patch)
treeacd6cfc895937ddfc2cc78a2639b1dbb6c152358 /sys/pccard/pcic.c
parent9b2d1fdb85955db855dd6964a6d11f354920f09e (diff)
downloadFreeBSD-src-d4fe8d6ee9070163dff980fbf50477faa7320f49.zip
FreeBSD-src-d4fe8d6ee9070163dff980fbf50477faa7320f49.tar.gz
- Don't start at IRQ 0 in build-freelist, but instead start at IRQ 1.
(Not sure if this makes muich difference, but you never know.)
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 8f8b32e..c5f288d 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -358,7 +358,7 @@ build_freelist(u_int pcic_mask)
freemask = 0;
/* Walk through all of the IRQ's and find any that aren't allocated. */
- for (irq = 0; irq < ICU_LEN; irq++) {
+ for (irq = 1; irq < ICU_LEN; irq++) {
/*
* If the PCIC controller can't generate it, don't
* bother checking to see if it it's free.
OpenPOWER on IntegriCloud