ar2315.c (1ac91b1f686e9d819b16525baf2e8db3c282edba) | ar2315.c (a7473717483ef3bb78563611bf1b3b82c5515b2e) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2003 Atheros Communications, Inc., All Rights Reserved. 7 * Copyright (C) 2006 FON Technology, SL. 8 * Copyright (C) 2006 Imre Kaloz <kaloz@openwrt.org> --- 146 unchanged lines hidden (view full) --- 155 setup_irq(irq, &ar2315_ahb_err_interrupt); 156 157 irq_set_chained_handler(AR2315_IRQ_MISC, ar2315_misc_irq_handler); 158 irq_set_handler_data(AR2315_IRQ_MISC, domain); 159 160 ar2315_misc_irq_domain = domain; 161} 162 | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2003 Atheros Communications, Inc., All Rights Reserved. 7 * Copyright (C) 2006 FON Technology, SL. 8 * Copyright (C) 2006 Imre Kaloz <kaloz@openwrt.org> --- 146 unchanged lines hidden (view full) --- 155 setup_irq(irq, &ar2315_ahb_err_interrupt); 156 157 irq_set_chained_handler(AR2315_IRQ_MISC, ar2315_misc_irq_handler); 158 irq_set_handler_data(AR2315_IRQ_MISC, domain); 159 160 ar2315_misc_irq_domain = domain; 161} 162 |
163void __init ar2315_init_devices(void) 164{ 165 /* Find board configuration */ 166 ath25_find_config(AR2315_SPI_READ_BASE, AR2315_SPI_READ_SIZE); 167} 168 |
|
163static void ar2315_restart(char *command) 164{ 165 void (*mips_reset_vec)(void) = (void *)0xbfc00000; 166 167 local_irq_disable(); 168 169 /* try reset the system via reset control */ 170 ar2315_rst_reg_write(AR2315_COLD_RESET, AR2317_RESET_SYSTEM); --- 107 unchanged lines hidden --- | 169static void ar2315_restart(char *command) 170{ 171 void (*mips_reset_vec)(void) = (void *)0xbfc00000; 172 173 local_irq_disable(); 174 175 /* try reset the system via reset control */ 176 ar2315_rst_reg_write(AR2315_COLD_RESET, AR2317_RESET_SYSTEM); --- 107 unchanged lines hidden --- |