[BACK]Return to mpc8xx_sys.c CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / ppc / syslib

File: [Development] / linux-2.6-xfs / arch / ppc / syslib / Attic / mpc8xx_sys.c (download)

Revision 1.1, Fri Oct 28 16:02:11 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN

Merge up to 2.6.14
Merge of 2.6.x-xfs-melb:linux:24258a by kenmcd.

/*
 * arch/ppc/platforms/mpc8xx_sys.c
 *
 * MPC8xx System descriptions
 *
 * Maintainer: Kumar Gala <kumar.gala@freescale.com>
 *
 * Copyright 2005 MontaVista Software, Inc. by Vitaly Bordug <vbordug@ru.mvista.com>
 *
 * This program is free software; you can redistribute  it and/or modify it
 * under  the terms of  the GNU General  Public License as published by the
 * Free Software Foundation;  either version 2 of the  License, or (at your
 * option) any later version.
 */

#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <asm/ppc_sys.h>

struct ppc_sys_spec *cur_ppc_sys_spec; 
struct ppc_sys_spec ppc_sys_specs[] = {
	{
		.ppc_sys_name	= "MPC86X",
		.mask 		= 0xFFFFFFFF,
		.value 		= 0x00000000,
		.num_devices	= 2,
		.device_list	= (enum ppc_sys_devices[])
		{
			MPC8xx_CPM_FEC1,
			MPC8xx_CPM_SCC1,
			MPC8xx_CPM_SCC2,
			MPC8xx_CPM_SCC3,
			MPC8xx_CPM_SCC4,
			MPC8xx_CPM_SMC1,
			MPC8xx_CPM_SMC2,
		},
	},
	{
		.ppc_sys_name	= "MPC885",
		.mask 		= 0xFFFFFFFF,
		.value 		= 0x00000000,
		.num_devices	= 3,
		.device_list	= (enum ppc_sys_devices[])
		{
			MPC8xx_CPM_FEC1,
			MPC8xx_CPM_FEC2,
			MPC8xx_CPM_SCC1,
			MPC8xx_CPM_SCC2,
			MPC8xx_CPM_SCC3,
			MPC8xx_CPM_SCC4,
			MPC8xx_CPM_SMC1,
			MPC8xx_CPM_SMC2,
		},
	},
	{	/* default match */
		.ppc_sys_name	= "",
		.mask 		= 0x00000000,
		.value 		= 0x00000000,
	},
};