|
|
@ -160,12 +160,8 @@ static void __init mynet_n600_setup(void) |
|
|
|
* Taken from GPL bootloader source: |
|
|
|
* Taken from GPL bootloader source: |
|
|
|
* board/ar7240/db12x/alpha_gpio.c |
|
|
|
* board/ar7240/db12x/alpha_gpio.c |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
gpio_request_one(MYNET_N600_GPIO_EXTERNAL_LNA0, |
|
|
|
ath79_wmac_set_ext_lna_gpio(0, MYNET_N600_GPIO_EXTERNAL_LNA0); |
|
|
|
GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, |
|
|
|
ath79_wmac_set_ext_lna_gpio(1, MYNET_N600_GPIO_EXTERNAL_LNA1); |
|
|
|
"External LNA0"); |
|
|
|
|
|
|
|
gpio_request_one(MYNET_N600_GPIO_EXTERNAL_LNA1, |
|
|
|
|
|
|
|
GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, |
|
|
|
|
|
|
|
"External LNA1"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mynet_n600_get_mac("wlan24mac=", tmpmac); |
|
|
|
mynet_n600_get_mac("wlan24mac=", tmpmac); |
|
|
|
ath79_register_wmac(art + MYNET_N600_WMAC_CALDATA_OFFSET, tmpmac); |
|
|
|
ath79_register_wmac(art + MYNET_N600_WMAC_CALDATA_OFFSET, tmpmac); |
|
|
|