Re: [linux-pm] [PATCH 1] PCI PM: PCIe PME root port service driver (was: Re: [PATCH 2/2] PCIe native PME support)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> > Updated patch.
> 
> I looked at it and thought I would do it differently in many places, so
> below is my version.

> Index: linux-2.6/drivers/pci/pcie/Kconfig
> ===================================================================
> --- linux-2.6.orig/drivers/pci/pcie/Kconfig
> +++ linux-2.6/drivers/pci/pcie/Kconfig
> @@ -46,3 +46,7 @@ config PCIEASPM_DEBUG
>  	help
>  	  This enables PCI Express ASPM debug support. It will add per-device
>  	  interface to control ASPM.
> +
> +config PCIE_PME
> +	def_bool y
> +	depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL

This is evil. Now config_EXPERIMENTAL controls if this option is
enabled or not.

If the feature is so experimental that it needs this kind of markup,
it should probably be user-selectable, too...

								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux