summaryrefslogtreecommitdiff
path: root/hal/phy/src
diff options
context:
space:
mode:
authorschodet2008-03-03 10:36:05 +0000
committerschodet2008-03-03 10:36:05 +0000
commitaeb20d2eb252a410a1c18009c3d5ceb4daa84129 (patch)
tree647cb3de69a014aadc1cb757ecca5e54367a8732 /hal/phy/src
parentcb19e8f6c25744a2d63e5e917309e384309f75c9 (diff)
* hal/phy:
- fixed bad typos. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1525 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'hal/phy/src')
-rw-r--r--hal/phy/src/phy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hal/phy/src/phy.c b/hal/phy/src/phy.c
index e80be6d07c..bff429b54f 100644
--- a/hal/phy/src/phy.c
+++ b/hal/phy/src/phy.c
@@ -23,9 +23,9 @@
struct phy_tmdma_desc_t
{
/** Pointer to next descriptor. */
- struct blk_t *next;
+ struct phy_tmdma_desc_t *next;
/** Pointer to data. */
- u8 *data;
+ u32 *data;
BITFIELDS_WORD (
/** Transfer configuration: size. */
u32 size_words:8;,
@@ -211,9 +211,9 @@ phy_set_tonemap (phy_t *ctx, uint tonemap_index, blk_t *tonemap)
dbg_assert_ptr (tonemap->next);
dbg_assert_ptr (tonemap->next->data);
/* Send new tonemap. */
- const tm_words = (PHY_CARRIER_NB * 4 + 31) / 32;
+ const uint tm_words = (PHY_CARRIER_NB * 4 + 31) / 32;
dbg_assert (tm_words > BLK_SIZE / 4 && tm_words < 2 * BLK_SIZE / 4);
- phy_tmdma_desc_t *desc = (phy_tmdma_desc_t) tonemap;
+ phy_tmdma_desc_t *desc = (phy_tmdma_desc_t *) tonemap;
desc->size_words = BLK_SIZE / 4;
desc->mem_index = PHY_TMDMA_MEM_TONEMAP_0 + tonemap_index;
desc->last = 0;