From patchwork Mon Feb 9 10:28:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: frederic rodo X-Patchwork-Id: 22684 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id A4FC8DDDA1 for ; Mon, 9 Feb 2009 21:28:23 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753289AbZBIK2S (ORCPT ); Mon, 9 Feb 2009 05:28:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753020AbZBIK2S (ORCPT ); Mon, 9 Feb 2009 05:28:18 -0500 Received: from mail-ew0-f21.google.com ([209.85.219.21]:39882 "EHLO mail-ew0-f21.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752943AbZBIK2R (ORCPT ); Mon, 9 Feb 2009 05:28:17 -0500 Received: by ewy14 with SMTP id 14so2443052ewy.13 for ; Mon, 09 Feb 2009 02:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=8D+65QFu6Qp9vb0219H1O4GR2YGTiJZS+40X8BMHSX4=; b=MtKpbLkilIdpJvA9ONAMyHYs7mtzgIfXuJdr6sbWleZUQbaG824shOS80/fIEJWvoe hybcUEbywCtar7OVTibWBAvRGoTxWkdKIiJNaMHzMcqItGpUl5hXZNHkCc4mSIQ5s0ib sUyvOZjtOBYA4zt8tEfuYXjBR1gnzATZrN0yI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=mZx+9Wac5w1nYWDyVnRd4AADGoZhlAq1Gt2aNA3eKfkuwOeTaJCyZgUaW7uIgHTHfs YPSv5gx2EcvJC6bNqi43U9poInkfD5r/jstg5Xu2WWFY8f0cskIgQrsaBfGmdCEiu6Ac DCVksNYUvlKQDX8aD4TN8eFubHhSs9EtJS50w= MIME-Version: 1.0 Received: by 10.210.34.19 with SMTP id h19mr2179135ebh.199.1234175295340; Mon, 09 Feb 2009 02:28:15 -0800 (PST) Date: Mon, 9 Feb 2009 11:28:15 +0100 Message-ID: Subject: [PATCH 2/2] MX27 FEC add mii_bus From: frederic rodo To: linux-arm-kernel@lists.arm.linux.org.uk Cc: Sascha Hauer , gerg@snapgear.com, netdev@vger.kernel.org Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Frederic Rodo diff --git a/include/linux/fec.h b/include/linux/fec.h new file mode 100644 index 0000000..d130bcf --- /dev/null +++ b/include/linux/fec.h @@ -0,0 +1,26 @@ +/* + * Copyright 2009 Frederic Rodo, fred.rodo@gmail.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. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + */ + +#ifndef __LINUX_FEC_H +#define __LINUX_FEC_H + +struct fec_enet_platform_data { + u32 phy_mask; /* Set x bit to mask phy at address x */ +}; + +#endif /* __LINUX_FEC_H */