[Zrouter-src-freebsd] ZRouter.org: push to FreeBSD HEAD tree
zrouter-src-freebsd at zrouter.org
zrouter-src-freebsd at zrouter.org
Thu Dec 15 11:41:24 UTC 2011
details: http://zrouter.org/hg/FreeBSD/head//rev/330d491bc372
changeset: 250:330d491bc372
user: ray at terran.dlink.ua
date: Thu Dec 15 13:42:00 2011 +0200
description:
fix ar71xx_gpio
diffstat:
head/sys/mips/atheros/ar71xx_gpio.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diffs (35 lines):
diff -r 34d6c2616f7c -r 330d491bc372 head/sys/mips/atheros/ar71xx_gpio.c
--- a/head/sys/mips/atheros/ar71xx_gpio.c Thu Dec 15 13:14:19 2011 +0200
+++ b/head/sys/mips/atheros/ar71xx_gpio.c Thu Dec 15 13:42:00 2011 +0200
@@ -332,15 +332,6 @@
ar71xx_gpio_probe(device_t dev)
{
- switch (ar71xx_soc) {
- case AR71XX_SOC_AR7240:
- case AR71XX_SOC_AR7241:
- case AR71XX_SOC_AR7242:
- return (ENXIO);
- break;
- default:
- break;
- }
device_set_desc(dev, "Atheros AR71XX GPIO driver");
return (0);
}
@@ -407,7 +398,6 @@
ar71xx_gpio_function_enable(sc, GPIO_FUNC_SPI_CS2_EN);
}
- }
/* Configure all pins as input */
/* disable interrupts for all pins */
GPIO_WRITE(sc, AR71XX_GPIO_INT_MASK, 0);
@@ -430,7 +420,6 @@
i++;
}
sc->gpio_npins = i;
- //device_add_child(dev, "gpioc", device_get_unit(dev));
device_add_child(dev, "gpiobus", device_get_unit(dev));
return (bus_generic_attach(dev));
}
More information about the Zrouter-src-freebsd
mailing list