Deleted Added
full compact
at91_mci.c (236989) at91_mci.c (238376)
1/*-
2 * Copyright (c) 2006 Bernd Walter. All rights reserved.
3 * Copyright (c) 2006 M. Warner Losh. All rights reserved.
4 * Copyright (c) 2010 Greg Ansley. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006 Bernd Walter. All rights reserved.
3 * Copyright (c) 2006 M. Warner Losh. All rights reserved.
4 * Copyright (c) 2010 Greg Ansley. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/arm/at91/at91_mci.c 236989 2012-06-13 04:52:19Z imp $");
29__FBSDID("$FreeBSD: head/sys/arm/at91/at91_mci.c 238376 2012-07-11 20:17:14Z imp $");
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/bio.h>
34#include <sys/bus.h>
35#include <sys/conf.h>
36#include <sys/endian.h>
37#include <sys/kernel.h>

--- 270 unchanged lines hidden (view full) ---

308 sc->irq_res = 0;
309 return;
310}
311
312static int
313at91_mci_is_mci1rev2xx(void)
314{
315
30
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/bio.h>
34#include <sys/bus.h>
35#include <sys/conf.h>
36#include <sys/endian.h>
37#include <sys/kernel.h>

--- 270 unchanged lines hidden (view full) ---

308 sc->irq_res = 0;
309 return;
310}
311
312static int
313at91_mci_is_mci1rev2xx(void)
314{
315
316 switch (soc_data.type) {
316 switch (soc_info.type) {
317 case AT91_T_SAM9260:
318 case AT91_T_SAM9263:
319 case AT91_T_CAP9:
320 case AT91_T_SAM9G10:
321 case AT91_T_SAM9G20:
322 case AT91_T_SAM9RL:
323 return(1);
324 default:

--- 494 unchanged lines hidden ---
317 case AT91_T_SAM9260:
318 case AT91_T_SAM9263:
319 case AT91_T_CAP9:
320 case AT91_T_SAM9G10:
321 case AT91_T_SAM9G20:
322 case AT91_T_SAM9RL:
323 return(1);
324 default:

--- 494 unchanged lines hidden ---