ar724x_chip.c (211503) | ar724x_chip.c (219591) |
---|---|
1/*- 2 * Copyright (c) 2010 Adrian Chadd 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2010 Adrian Chadd 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/mips/atheros/ar724x_chip.c 211503 2010-08-19 11:53:55Z adrian $"); | 28__FBSDID("$FreeBSD: head/sys/mips/atheros/ar724x_chip.c 219591 2011-03-13 08:36:57Z adrian $"); |
29 30#include <sys/param.h> 31#include <machine/cpuregs.h> 32 33#include <mips/sentry5/s5reg.h> 34 35#include "opt_ddb.h" 36 --- 94 unchanged lines hidden (view full) --- 131static void 132ar724x_chip_set_pll_ge1(int speed) 133{ 134} 135 136static void 137ar724x_chip_ddr_flush_ge0(void) 138{ | 29 30#include <sys/param.h> 31#include <machine/cpuregs.h> 32 33#include <mips/sentry5/s5reg.h> 34 35#include "opt_ddb.h" 36 --- 94 unchanged lines hidden (view full) --- 131static void 132ar724x_chip_set_pll_ge1(int speed) 133{ 134} 135 136static void 137ar724x_chip_ddr_flush_ge0(void) 138{ |
139 ar71xx_ddr_flush(AR724X_DDR_REG_FLUSH_GE0); |
|
139} 140 141static void 142ar724x_chip_ddr_flush_ge1(void) 143{ | 140} 141 142static void 143ar724x_chip_ddr_flush_ge1(void) 144{ |
145 ar71xx_ddr_flush(AR724X_DDR_REG_FLUSH_GE1); |
|
144} 145 146static uint32_t 147ar724x_chip_get_eth_pll(unsigned int mac, int speed) 148{ 149 return 0; 150} 151 --- 14 unchanged lines hidden --- | 146} 147 148static uint32_t 149ar724x_chip_get_eth_pll(unsigned int mac, int speed) 150{ 151 return 0; 152} 153 --- 14 unchanged lines hidden --- |