login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Re: [PATCH 1/2] ssb: Add "ssb_pci_set_power_state" function
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Michael Buesch <mb@...>
To: Miguel <mboton.lkml@...>
Cc: <linux-kernel@...>, <linux-wireless@...>, <linville@...>
Subject:
Re: [PATCH 1/2] ssb: Add "ssb_pci_set_power_state" function
Date: Wednesday, October 24, 2007 - 4:55 pm
On Wednesday 24 October 2007 21:31:21 Miguel Botón wrote:
quoted text
> Add "ssb_pci_set_power_state" function. This allows set the power state of a > PCI device (for example b44 ethernet device). > > 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.000000000 > +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); > } > + > +/* Set PCI device power state */ > +static inline > +void ssb_pci_set_power_state(struct ssb_device *dev, pci_power_t state) > +{ > + if(dev->bus->bustype == SSB_BUSTYPE_PCI)
^ Coding style issue.
quoted text
> + pci_set_power_state(dev->bus->host_pci, state); > +} > #endif /* CONFIG_SSB_PCIHOST */ >
The rest is acked. -- Greetings Michael. -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 1/2] ssb: Add "ssb_pci_set_power_state" function
, Miguel
, (Wed Oct 24, 3:31 pm)
Re: [PATCH 1/2] ssb: Add "ssb_pci_set_power_state" function
, John W. Linville
, (Tue Nov 6, 10:32 pm)
Re: [PATCH 1/2] ssb: Add "ssb_pci_set_power_state" function
, Michael Buesch
, (Wed Oct 24, 4:55 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
Greg Kroah-Hartman
[PATCH 025/196] paride: Convert from class_device to device for block/paride
Renato S. Yamane
Error -71 on device descriptor read/all
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
Gerrit Renker
[PATCH 31/37] dccp: Remove manual influence on NDP Count feature
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
854 guests
online.
Online users
cindy1234
zeekec
Syndicate