summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-08-27 04:36:27 +0000
committerimp <imp@FreeBSD.org>2008-08-27 04:36:27 +0000
commitbeefa1fa18287c18f7165528aa8761865ab94dfe (patch)
treea5ede6605c4c810db6fb4560ac3fef8f4fd33e32
parent307f54dd3d6cd48a0f8b8c42fe8709f0a00b7f43 (diff)
downloadFreeBSD-src-beefa1fa18287c18f7165528aa8761865ab94dfe.zip
FreeBSD-src-beefa1fa18287c18f7165528aa8761865ab94dfe.tar.gz
Some PC Cards don't have the proper IRQ mask in them. The standard
says that in such cases we can pick any interrupt. One of these cards is the LG11 Wireless LAN card. I don't have one of these, but I do know that this doesn't hurt any cards I've tried it with. PR: 92070 Submitted by: Helge Oldach MFC after: 3 days
-rw-r--r--sys/dev/pccard/pccard_cis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pccard/pccard_cis.c b/sys/dev/pccard/pccard_cis.c
index aaa7392..4a83d95 100644
--- a/sys/dev/pccard/pccard_cis.c
+++ b/sys/dev/pccard/pccard_cis.c
@@ -1144,6 +1144,8 @@ pccard_parse_cis_tuple(const struct pccard_tuple *tuple, void *arg)
cfe->irqmask =
(1 << (reg & PCCARD_TPCE_IR_IRQ));
}
+ } else {
+ cfe->irqmask = 0xffff;
}
if (memspace) {
if (tuple->length <= idx) {
OpenPOWER on IntegriCloud