[MTD] CFI: Use 16-bit access to autoselect/read device id data
[powerpc.git] / include / linux / fsl_devices.h
index 70f54af..934aa9b 100644 (file)
@@ -4,7 +4,7 @@
  * Definitions for any platform device related flags or structures for
  * Freescale processor devices
  *
- * Maintainer: Kumar Gala (kumar.gala@freescale.com)
+ * Maintainer: Kumar Gala <galak@kernel.crashing.org>
  *
  * Copyright 2004 Freescale Semiconductor, Inc
  *
 struct gianfar_platform_data {
        /* device specific information */
        u32 device_flags;
-       u32 phy_reg_addr;
 
        /* board specific information */
        u32 board_flags;
-       u32 phy_flags;
-       u32 phyid;
-       u32 interruptPHY;
+       const char *bus_id;
        u8 mac_addr[6];
 };
 
+struct gianfar_mdio_data {
+       /* device specific information */
+       u32 paddr;
+
+       /* board specific information */
+       int irq[32];
+};
+
 /* Flags related to gianfar device features */
 #define FSL_GIANFAR_DEV_HAS_GIGABIT            0x00000001
 #define FSL_GIANFAR_DEV_HAS_COALESCE           0x00000002