]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mv643xx_eth.h
headers_check fix: linux/minix_fs.h
[linux-2.6-omap-h63xx.git] / include / linux / mv643xx_eth.h
index 646177660495d24e8c0f9a5de83336aad3cd2a8f..cbbbe9bfecad0652334963de2cd8363c43e6b28a 100644 (file)
 
 struct mv643xx_eth_shared_platform_data {
        struct mbus_dram_target_info    *dram;
+       struct platform_device  *shared_smi;
        unsigned int            t_clk;
 };
 
+#define MV643XX_ETH_PHY_ADDR_DEFAULT   0
+#define MV643XX_ETH_PHY_ADDR(x)                (0x80 | (x))
+#define MV643XX_ETH_PHY_NONE           0xff
+
 struct mv643xx_eth_platform_data {
        /*
         * Pointer back to our parent instance, and our port number.
@@ -30,8 +35,6 @@ struct mv643xx_eth_platform_data {
        /*
         * Whether a PHY is present, and if yes, at which address.
         */
-       struct platform_device  *shared_smi;
-       int                     force_phy_addr;
        int                     phy_addr;
 
        /*
@@ -48,6 +51,12 @@ struct mv643xx_eth_platform_data {
        int                     speed;
        int                     duplex;
 
+       /*
+        * How many RX/TX queues to use.
+        */
+       int                     rx_queue_count;
+       int                     tx_queue_count;
+
        /*
         * Override default RX/TX queue sizes if nonzero.
         */