Patchwork [2/2] MX27 FEC add mii_bus

login
register
mail settings
Submitter frederic rodo
Date Feb. 9, 2009, 10:28 a.m.
Message ID <d99e615c0902090228q19f84e78qa8b2d2ccf6a6fa34@mail.gmail.com>
Download mbox | patch
Permalink /patch/22684/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

frederic rodo - Feb. 9, 2009, 10:28 a.m.

Patch

Signed-off-by: Frederic Rodo <fred.rodo@gmail.com>
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 */