[PATCH-2.4] Routing interrupts to PCI on TI PCMCIA bridges

Pavel Roskin (proski@gnu.org)
Fri, 13 Jun 2003 12:23:53 -0400 (EDT)


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-29587-1055521645-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello, Marcelo and all!

This patch has been in the -ac series for a while and I haven't seen any
reports, positive or negative.

The idea is that if the bridge cannot generate ISA IRQs, it needs to be
reconfigured so that the PCI IRQ can be used. Some TI bridges are
configured to use ISA interrupts by default, but they cannot do it because
they are connected to the PCI bus only.

I think it's time to put this patch to the main 2.4 branch. The only
difference from the Alan's branch is that I removed an unhelpful printk,
since the socket is initialized every time the card is re-inserted, and
the message gets annoying.

2.5 kernels take care of this issue in a different way.

-- 
Regards,
Pavel Roskin
--=_courier-29587-1055521645-0001-2
Content-Type: text/plain; charset=us-ascii; name="ti-autoirq.diff"
Content-Transfer-Encoding: base64
Content-ID: <Pine.LNX.4.56.0306131223530.2582@marabou.research.att.com>
Content-Description: 
Content-Disposition: attachment; filename="ti-autoirq.diff"

LS0tIGxpbnV4Lm9yaWcvZHJpdmVycy9wY21jaWEvdGkxMTN4LmgNCisrKyBs aW51eC9kcml2ZXJzL3BjbWNpYS90aTExM3guaA0KQEAgLTE2Nyw2ICsxNjcs MjUgQEANCiAJCW5ldyB8PSBJMzY1X0lOVFJfRU5BOw0KIAlpZiAobmV3ICE9 IHJlZykNCiAJCWV4Y2Ffd3JpdGViKHNvY2tldCwgSTM2NV9JTlRDVEwsIG5l dyk7DQorDQorCS8qDQorCSAqIElmIElTQSBpbnRlcnJ1cHRzIGRvbid0IHdv cmssIHRoZW4gZmFsbCBiYWNrIHRvIHJvdXRpbmcgY2FyZA0KKwkgKiBpbnRl cnJ1cHRzIHRvIHRoZSBQQ0kgaW50ZXJydXB0IG9mIHRoZSBzb2NrZXQuDQor CSAqLw0KKwlpZiAoIXNvY2tldC0+Y2FwLmlycV9tYXNrKSB7DQorCQlpbnQg aXJxbXV4LCBkZXZjdGw7DQorDQorCQlkZXZjdGwgPSBjb25maWdfcmVhZGIo c29ja2V0LCBUSTExM1hfREVWSUNFX0NPTlRST0wpOw0KKwkJZGV2Y3RsICY9 IH5USTExM1hfRENSX0lNT0RFX01BU0s7DQorDQorCQlpcnFtdXggPSBjb25m aWdfcmVhZGwoc29ja2V0LCBUSTEyMlhfSVJRTVVYKTsNCisJCWlycW11eCA9 IChpcnFtdXggJiB+MHgwZikgfCAweDAyOyAvKiByb3V0ZSBJTlRBICovDQor CQlpcnFtdXggPSAoaXJxbXV4ICYgfjB4ZjApIHwgMHgyMDsgLyogcm91dGUg SU5UQiAqLw0KKw0KKwkJY29uZmlnX3dyaXRlbChzb2NrZXQsIFRJMTIyWF9J UlFNVVgsIGlycW11eCk7DQorCQljb25maWdfd3JpdGViKHNvY2tldCwgVEkx MTNYX0RFVklDRV9DT05UUk9MLCBkZXZjdGwpOw0KKwl9DQorDQogCXJldHVy biAwOw0KIH0NCiANCg==

--=_courier-29587-1055521645-0001-2--