1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

atheros: fix up the wlan mac address if the board data is missing

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15330 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2009-04-21 18:48:59 +00:00
parent b1f6fc4320
commit 82084b03ea
2 changed files with 5 additions and 3 deletions

View File

@@ -256,7 +256,7 @@
+ default y
--- a/arch/mips/ar231x/ar2315.c
+++ b/arch/mips/ar231x/ar2315.c
@@ -63,6 +63,27 @@ static inline void ar2315_gpio_irq(void)
@@ -61,6 +61,27 @@ static inline void ar2315_gpio_irq(void)
do_IRQ(AR531X_GPIO_IRQ_BASE + bit);
}
@@ -284,7 +284,7 @@
/*
* Called when an interrupt is received, this function
@@ -81,6 +102,10 @@ ar2315_irq_dispatch(void)
@@ -79,6 +100,10 @@ ar2315_irq_dispatch(void)
do_IRQ(AR2315_IRQ_WLAN0_INTRS);
else if (pending & CAUSEF_IP4)
do_IRQ(AR2315_IRQ_ENET0_INTRS);