Re: [patch] pciehp: dont call pci_enable_dev

From: Arjan van de Ven
Date: Wed Apr 26 2006 - 11:52:24 EST


On Tue, 2006-04-25 at 15:00 -0700, Kristen Accardi wrote:
> On Tue, 2006-04-25 at 08:16 +0200, Arjan van de Ven wrote:
> > On Mon, 2006-04-24 at 15:50 -0700, Kristen Accardi wrote:
> > > Don't call pci_enable_device from pciehp because the pcie port service driver
> > > already does this.
> >
> > hmmmm shouldn't pci_enable_device on a previously enabled device just
> > succeed? Sounds more than logical to me to make it that way at least...
>
> I can't think of any reason why not. Something like this what you had
> in mind perhaps?
>
> ---

the question then becomes if enable/disable should become "counting", eg
enable twice disable once leaves enabled at count one....


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