On Tue, Aug 02, 2005 at 11:49:28AM +0200, Stelian Pop wrote: > Le lundi 01 ao??t 2005 ?? 16:37 +0200, Stelian Pop a ??crit : > > > > Also, it looks like sonypi really is pretty nasty to probe for, so it's > > > not enough to just say "oh, it's a sony VAIO, let's reserve that region". > > > Otherwise I'd just suggest adding a "dmi_check_system()" table to > > > arch/i386/pci/i386.c, at the top of "pcibios_assign_resources()", and > > > then you could just allocate things based on DMI information. > > > Since every Vaio laptop out there seems indeed to use only the first IO > > port range in the list, we can de-nastyify the probe. And if we don't > > even bother to check for Type1 vs. Type2 devices and we reserve both, > > then it may be acceptable to do the above. > > > > See the attached patch below which does just that. This has NOT been > > tested (only compile-tested), and moreover it has a high breakage > > probability in case some Vaios cannot live with the fixed ioport choice. > > > > Note that this patch will conflict with the recent Eric's one (added in > > CC:), he may want to rediff his Type3 changes in case this patch gets > > in. > > I had no feedback at all on the patch so I have no idea if this will go > in or not, but since Eric's patch was accepted into -mm I rediffed the > patch in order to ease the testing (in case someone is willing to test > it).
Does not work on -rc4-mm1. The IO-ports pre-reserved message appears, though. The 2 io-regions are still located under the "CardBus #03" device. Re-Applying "revert-gregkh-pci-pci-assign-unassigned-resources.patch" makes it work again. -- Manuel Lauss - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/