Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

patch to support sio with NEWCARD

0 views
Skip to first unread message

YAMAMOTO Shigeru

unread,
Nov 25, 2001, 6:19:37 PM11/25/01
to

Hi all,

I make a patch to support sio with NEWCARD.
This patch is to avoid ghost interrupt when a PC-Card was removed.

This patch has one assamption,
- all Serial PC-Card have a 16450/16550 compatible interface.

I tested it on my NotePC and there is no problems.
Please try it if you have an interest.

Thanks,
-------
YAMAMOTO Shigeru <shi...@iij.ad.jp>

sio.diff

Warner Losh

unread,
Nov 25, 2001, 7:45:51 PM11/25/01
to
In message <20011126.081912....@iij.ad.jp> YAMAMOTO
Shigeru writes:
: I make a patch to support sio with NEWCARD.

: This patch is to avoid ghost interrupt when a PC-Card was removed.
:
: This patch has one assamption,
: - all Serial PC-Card have a 16450/16550 compatible interface.

This is a reasonable assumption. If not, it should be easy to tweak
to return a small negative number so that other device have a chance
at this hardware.

: I tested it on my NotePC and there is no problems.


: Please try it if you have an interest.

I've tried it here too. From what I can tell in my breif tests, the
interrupt patches aren't strictly required, unless you eject while the
card is busy. Since bde is the main maintainer for sio, I'll clean
them up a little and run them by him.

The other part of the patch I went ahead and committed. I've wanted
this for a while now.

This would be an excellent example of how to do, for example, the ata
pccard driver if someone was so inclined.

Warner

To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message

0 new messages