summaryrefslogtreecommitdiffstats
path: root/drivers/qe/uec.h
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2009-05-21 15:34:14 -0400
committerKumar Gala <galak@kernel.crashing.org>2009-06-12 17:16:59 -0500
commit7211fbfa18f3061858696150ee6e9e093d9eceae (patch)
tree6be78918f7bc3679ab9327b4859812eafae342ff /drivers/qe/uec.h
parentb3d7f20f43a0f8d11c65e2f92153b5512b11580c (diff)
downloadblackbird-obmc-uboot-7211fbfa18f3061858696150ee6e9e093d9eceae.tar.gz
blackbird-obmc-uboot-7211fbfa18f3061858696150ee6e9e093d9eceae.zip
drivers/qe: Change QE RISC ALLOCATION to support 4 RISCs
Also define the QE_RISC_ALLOCATION_RISCs to MACROs instead of using enum, and define MAX_QE_RISC for QE based silicons. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Acked-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/qe/uec.h')
-rw-r--r--drivers/qe/uec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/qe/uec.h b/drivers/qe/uec.h
index 414982cdec..4fd10962c9 100644
--- a/drivers/qe/uec.h
+++ b/drivers/qe/uec.h
@@ -654,8 +654,8 @@ typedef struct uec_info {
ucc_fast_info_t uf_info;
uec_num_of_threads_e num_threads_tx;
uec_num_of_threads_e num_threads_rx;
- qe_risc_allocation_e risc_tx;
- qe_risc_allocation_e risc_rx;
+ unsigned int risc_tx;
+ unsigned int risc_rx;
u16 rx_bd_ring_len;
u16 tx_bd_ring_len;
u8 phy_address;
OpenPOWER on IntegriCloud