stmmac: use of_property_read_u32 instead of read_u8
[sfrench/cifs-2.6.git] / include / linux / stmmac.h
index 108739ff9223ba0ea5b29fe789ca877928c63e63..32feac5bbd75b69714f87e1178789c59a5dbd876 100644 (file)
@@ -126,14 +126,14 @@ struct stmmac_axi {
 
 struct stmmac_rxq_cfg {
        u8 mode_to_use;
-       u8 chan;
+       u32 chan;
        u8 pkt_route;
        bool use_prio;
        u32 prio;
 };
 
 struct stmmac_txq_cfg {
-       u8 weight;
+       u32 weight;
        u8 mode_to_use;
        /* Credit Base Shaper parameters */
        u32 send_slope;
@@ -168,8 +168,8 @@ struct plat_stmmacenet_data {
        int unicast_filter_entries;
        int tx_fifo_size;
        int rx_fifo_size;
-       u8 rx_queues_to_use;
-       u8 tx_queues_to_use;
+       u32 rx_queues_to_use;
+       u32 tx_queues_to_use;
        u8 rx_sched_algorithm;
        u8 tx_sched_algorithm;
        struct stmmac_rxq_cfg rx_queues_cfg[MTL_MAX_RX_QUEUES];