summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcm43xx/bcm43xx_power.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2006-04-13 02:30:26 +0200
committerJohn W. Linville <linville@tuxdriver.com>2006-04-19 17:25:40 -0400
commit8829d55e6b4957770de3f716bafab65ca3680110 (patch)
tree4b8609f4c3c6acef23825ee65ce01d1087171dae /drivers/net/wireless/bcm43xx/bcm43xx_power.h
parent2230daa0fd50bf82303fd8da96b088310851d803 (diff)
downloadtalos-obmc-linux-8829d55e6b4957770de3f716bafab65ca3680110.tar.gz
talos-obmc-linux-8829d55e6b4957770de3f716bafab65ca3680110.zip
[PATCH] bcm43xx: fix pctl slowclock limit calculation
This fixes coverity bug: http://marc.theaimsgroup.com/?l=linux-netdev&m=114417628413880&w=2 Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_power.h')
-rw-r--r--drivers/net/wireless/bcm43xx/bcm43xx_power.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_power.h b/drivers/net/wireless/bcm43xx/bcm43xx_power.h
index 5f63640810bd..c966ab3a5a8c 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_power.h
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_power.h
@@ -33,6 +33,15 @@
#include <linux/types.h>
+/* Clock sources */
+enum {
+ /* PCI clock */
+ BCM43xx_PCTL_CLKSRC_PCI,
+ /* Crystal slow clock oscillator */
+ BCM43xx_PCTL_CLKSRC_XTALOS,
+ /* Low power oscillator */
+ BCM43xx_PCTL_CLKSRC_LOPWROS,
+};
struct bcm43xx_private;
OpenPOWER on IntegriCloud