lkml.org 
[lkml]   [2004]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.10-rc2 doesn't boot (if no floppy device)


On Mon, 22 Nov 2004, Linus Torvalds wrote:
>
> This is exactly what you are already doing with SCI, thanks to
> "acpi_pic_sci_set_trigger()", no?
>
> So I'm really suggesting that instead of disabling the PCI irq routing, it
> should do exactly the same thing that SCI already does. Namely make sure
> that ELCR is set correctly for it.

In fact, we would even use the same function for it (the only thing that
makes it SCI-specific right now is the "printk()" that says "SCI IRQ", the
rest really is totally generic.

So how about renaming "acpi_pic_sci_set_trigger()" to not have the "sci"
part in there, and remove it's dependence on CONFIG_ACPI_BUS, and just
using it in "apic_pci_link_add()" to make sure that any PCI links we find
to be enabled have the right ELCR. That's _logical_, since if we were to
actually enable them, we'd set ELCR right. So literally the only
difference between disabling them at boot (and then re-enabling them when
a driver finds them) _is_ that ELCR setting..

And that would make me much happier, because it's a "minimally intrusive"
thing to do.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.072 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site