Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/atheros/ar71xx_gpio.c
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Lines | |||||
* | * | ||||
* On AR934x and QCA953x, it's the opposite - the bit set means | * On AR934x and QCA953x, it's the opposite - the bit set means | ||||
* "input enable". | * "input enable". | ||||
*/ | */ | ||||
static int | static int | ||||
ar71xx_gpio_oe_is_high(void) | ar71xx_gpio_oe_is_high(void) | ||||
{ | { | ||||
switch (ar71xx_soc) { | switch (ar71xx_soc) { | ||||
case AR71XX_SOC_AR9341: | |||||
case AR71XX_SOC_AR9342: | |||||
case AR71XX_SOC_AR9344: | case AR71XX_SOC_AR9344: | ||||
case AR71XX_SOC_QCA9533: | case AR71XX_SOC_QCA9533: | ||||
case AR71XX_SOC_QCA9533_V2: | case AR71XX_SOC_QCA9533_V2: | ||||
return 0; | return 0; | ||||
default: | default: | ||||
return 1; | return 1; | ||||
} | } | ||||
} | } | ||||
▲ Show 20 Lines • Show All 480 Lines • Show Last 20 Lines |