Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d4003ba0a11f9fb484bd45fd83b75f7108871ef2
Commit:     d4003ba0a11f9fb484bd45fd83b75f7108871ef2
Parent:     95a42267cd933a95275c1d6835010d662259f74e
Author:     Kristoffer Nyborg Gregertsen <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 6 14:37:30 2007 +0200
Committer:  Haavard Skinnemoen <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 20:45:52 2007 +0200

    [AVR32] Don't wire up macb0 unless SW6 is in default position
    
    If the user wants to sacrifice macb0 for more GPIOs, let him.
    
    Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]>
---
 arch/avr32/boards/atstk1000/atstk1002.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/avr32/boards/atstk1000/atstk1002.c 
b/arch/avr32/boards/atstk1000/atstk1002.c
index ed28304..d88ac11 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -154,8 +154,9 @@ static int __init atstk1002_init(void)
 #endif
        at32_add_device_usart(2);
 
+#ifndef CONFIG_BOARD_ATSTK1002_SW6_CUSTOM
        set_hw_addr(at32_add_device_eth(0, &eth_data[0]));
-
+#endif
 #ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM
        at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
 #endif
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to