Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147001460
D17580.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
881 B
Referenced Files
None
Subscribers
None
D17580.id.diff
View Options
Index: head/sys/mips/atheros/ar71xx_gpio.c
===================================================================
--- head/sys/mips/atheros/ar71xx_gpio.c
+++ head/sys/mips/atheros/ar71xx_gpio.c
@@ -226,9 +226,11 @@
*maxpin = AR91XX_GPIO_PINS - 1;
break;
case AR71XX_SOC_AR7240:
- case AR71XX_SOC_AR7241:
case AR71XX_SOC_AR7242:
*maxpin = AR724X_GPIO_PINS - 1;
+ break;
+ case AR71XX_SOC_AR7241:
+ *maxpin = AR7241_GPIO_PINS - 1;
break;
case AR71XX_SOC_AR9330:
case AR71XX_SOC_AR9331:
Index: head/sys/mips/atheros/ar71xx_gpiovar.h
===================================================================
--- head/sys/mips/atheros/ar71xx_gpiovar.h
+++ head/sys/mips/atheros/ar71xx_gpiovar.h
@@ -55,6 +55,7 @@
#define AR71XX_GPIO_PINS 12
#define AR724X_GPIO_PINS 18
+#define AR7241_GPIO_PINS 20
#define AR91XX_GPIO_PINS 22
struct ar71xx_gpio_softc {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 11:58 AM (2 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29404988
Default Alt Text
D17580.id.diff (881 B)
Attached To
Mode
D17580: ar7241 gpio max pin fix
Attached
Detach File
Event Timeline
Log In to Comment