diff for duplicates of <20071107023253.GA30169@tuxdriver.com> diff --git a/a/1.txt b/N1/1.txt index fcb44f3..ceca527 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -12,18 +12,15 @@ Thanks, John -On Wed, Oct 24, 2007 at 09:31:21PM +0200, Miguel Bot=F3n wrote: -> Add "ssb_pci_set_power_state" function. This allows set the power sta= -te of a=20 +On Wed, Oct 24, 2007 at 09:31:21PM +0200, Miguel Botón wrote: +> Add "ssb_pci_set_power_state" function. This allows set the power state of a > PCI device (for example b44 ethernet device). ->=20 -> diff -ruN linux-2.6.23/include/linux/ssb/ssb.h=20 +> +> diff -ruN linux-2.6.23/include/linux/ssb/ssb.h > linux-2.6.23.orig/include/linux/ssb/ssb.h -> --- linux-2.6.23.orig/include/linux/ssb/ssb.h 2007-10-24 19:02:33.000= -000000=20 +> --- linux-2.6.23.orig/include/linux/ssb/ssb.h 2007-10-24 19:02:33.000000000 > +0200 -> +++ linux-2.6.23/include/linux/ssb/ssb.h 2007-10-24 19:49:37.00000000= -0 +0200 +> +++ linux-2.6.23/include/linux/ssb/ssb.h 2007-10-24 19:49:37.000000000 +0200 > @@ -402,6 +402,14 @@ > { > pci_unregister_driver(driver); @@ -31,24 +28,18 @@ te of a=20 > + > +/* Set PCI device power state */ > +static inline -> +void ssb_pci_set_power_state(struct ssb_device *dev, pci_power_t sta= -te) +> +void ssb_pci_set_power_state(struct ssb_device *dev, pci_power_t state) > +{ -> + if(dev->bus->bustype =3D=3D SSB_BUSTYPE_PCI) +> + if(dev->bus->bustype == SSB_BUSTYPE_PCI) > + pci_set_power_state(dev->bus->host_pci, state); > +} > #endif /* CONFIG_SSB_PCIHOST */ -> =20 -> =20 ->=20 -> --=20 -> Miguel Bot=F3n +> +> +> +> -- +> Miguel Botón ---=20 +-- John W. Linville linville@tuxdriver.com -- -To unsubscribe from this list: send the line "unsubscribe linux-wireles= -s" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 67e2b05..b175b8d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -22,18 +22,15 @@ "\n" "John\n" "\n" - "On Wed, Oct 24, 2007 at 09:31:21PM +0200, Miguel Bot=F3n wrote:\n" - "> Add \"ssb_pci_set_power_state\" function. This allows set the power sta=\n" - "te of a=20\n" + "On Wed, Oct 24, 2007 at 09:31:21PM +0200, Miguel Bot\303\263n wrote:\n" + "> Add \"ssb_pci_set_power_state\" function. This allows set the power state of a \n" "> PCI device (for example b44 ethernet device).\n" - ">=20\n" - "> diff -ruN linux-2.6.23/include/linux/ssb/ssb.h=20\n" + "> \n" + "> diff -ruN linux-2.6.23/include/linux/ssb/ssb.h \n" "> linux-2.6.23.orig/include/linux/ssb/ssb.h\n" - "> --- linux-2.6.23.orig/include/linux/ssb/ssb.h\t2007-10-24 19:02:33.000=\n" - "000000=20\n" + "> --- linux-2.6.23.orig/include/linux/ssb/ssb.h\t2007-10-24 19:02:33.000000000 \n" "> +0200\n" - "> +++ linux-2.6.23/include/linux/ssb/ssb.h\t2007-10-24 19:49:37.00000000=\n" - "0 +0200\n" + "> +++ linux-2.6.23/include/linux/ssb/ssb.h\t2007-10-24 19:49:37.000000000 +0200\n" "> @@ -402,6 +402,14 @@\n" "> {\n" "> \tpci_unregister_driver(driver);\n" @@ -41,26 +38,20 @@ "> +\n" "> +/* Set PCI device power state */\n" "> +static inline\n" - "> +void ssb_pci_set_power_state(struct ssb_device *dev, pci_power_t sta=\n" - "te)\n" + "> +void ssb_pci_set_power_state(struct ssb_device *dev, pci_power_t state)\n" "> +{\n" - "> +\tif(dev->bus->bustype =3D=3D SSB_BUSTYPE_PCI)\n" + "> +\tif(dev->bus->bustype == SSB_BUSTYPE_PCI)\n" "> +\t\tpci_set_power_state(dev->bus->host_pci, state);\n" "> +}\n" "> #endif /* CONFIG_SSB_PCIHOST */\n" - "> =20\n" - "> =20\n" - ">=20\n" - "> --=20\n" - "> \tMiguel Bot=F3n\n" + "> \n" + "> \n" + "> \n" + "> -- \n" + "> \tMiguel Bot\303\263n\n" "\n" - "--=20\n" + "-- \n" "John W. Linville\n" - "linville@tuxdriver.com\n" - "-\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-wireles=\n" - "s\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + linville@tuxdriver.com -3b4c1790b8bdc6b8d8252c5622a99635b24a96d8becc9cd7316e67744726af44 +1713e2b6962f2eb59434c2efbd9fa08c6bb5cc8f30d2c254ee5e63486fa2ead7
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.