[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bsd-nomads:15510] Re: PALDIO 611S
shigeru@iij.ad.jp さん書きました
: When a PC Card is removed, line_status is always 0xFF.
ああ。私は分かります。ありがとうございます。
カードが過ぎ去っていたあと、ISRは入れられています。driverは、ISRの前の
detachではありません。現れます。
Masayuki FUKUIさんは、私に以下のパッチを送りました。パッチは正しいと思
いしませんでした。現在、私はパッチを正しいと思います。
FUKUIさんのために働きます。問題を持つならば、パッチをためしてください。
ワーナー
Eurika! I understand. Thank You.
The ISR is being entered after the card is gone. The driver is not
detached before the ISR. It should be. So it appears.
Masayuki FUKUI-san <m-fukui@jp.fujitsu.com> sent me the following
patch. When I first saw it, I didn't think it was right. Now, I
think it is correct.
The patch works for FUKUI-san. If you have this problem, please let
me know if it works for you.
# BTW, does anybody know how to force an NMI on a Sony 505-TR?
# Hardware modifications are OK.
Warner
Index: pcic.c
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/sys/pccard/pcic.c,v
retrieving revision 1.109
diff -u -r1.109 pcic.c
--- pcic.c 2001/04/21 07:08:03 1.109
+++ pcic.c 2001/05/07 06:26:30
@@ -853,9 +853,9 @@
pccard_event(sp->slt,
card_inserted);
} else {
- cinfo.disable(sp->slt);
pccard_event(sp->slt,
card_removed);
+ cinfo.disable(sp->slt);
}
}
}