summaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2010-11-28 00:53:43 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2010-11-28 00:53:43 +0000
commit0fb62f10ac3f4b5ea9ce2393341ef235268897e6 (patch)
tree9bf31337132546a3f6334adfea98324b789ccfee /sys/mips
parent74a95d8964e809005cade7987bdc64557baa132d (diff)
Notes
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/atheros/ar71xx_cpudef.h10
-rw-r--r--sys/mips/conf/AR71XX12
2 files changed, 16 insertions, 6 deletions
diff --git a/sys/mips/atheros/ar71xx_cpudef.h b/sys/mips/atheros/ar71xx_cpudef.h
index 4a29c8f6dd9d..f26c55aaadc4 100644
--- a/sys/mips/atheros/ar71xx_cpudef.h
+++ b/sys/mips/atheros/ar71xx_cpudef.h
@@ -81,6 +81,16 @@ static inline int ar71xx_device_stopped(uint32_t mask)
return ar71xx_cpu_ops->ar71xx_chip_device_stopped(mask);
}
+static inline void ar71xx_device_set_pll_ge0(int speed)
+{
+ ar71xx_cpu_ops->ar71xx_chip_set_pll_ge0(speed);
+}
+
+static inline void ar71xx_device_set_pll_ge1(int speed)
+{
+ ar71xx_cpu_ops->ar71xx_chip_set_pll_ge1(speed);
+}
+
static inline void ar71xx_device_flush_ddr_ge0(void)
{
ar71xx_cpu_ops->ar71xx_chip_ddr_flush_ge0();
diff --git a/sys/mips/conf/AR71XX b/sys/mips/conf/AR71XX
index bec8120fed32..c324060b7842 100644
--- a/sys/mips/conf/AR71XX
+++ b/sys/mips/conf/AR71XX
@@ -62,7 +62,7 @@ device ath # Atheros pci/cardbus NIC's
options ATH_DEBUG
device ath_hal
option AH_SUPPORT_AR5416
-option AH_RXCFG_SDMAMW_4BYTES # See NOTES for details of this WAR
+# option AH_RXCFG_SDMAMW_4BYTES # See NOTES for details of this WAR
device ath_rate_sample
device mii
@@ -74,12 +74,12 @@ options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
device ohci
device ehci
-device gpio
-device gpioled
+# device gpio
+# device gpioled
-device spibus
-device ar71xx_spi
-device mx25l
+# device spibus
+# device ar71xx_spi
+# device mx25l
# device geom_redboot
device ar71xx_wdog