Subversion Repositories freemyipod

Rev

Rev 560 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 560 Rev 636
Line 92... Line 92...
92
        lli->nextlli = nextlli;
92
        lli->nextlli = nextlli;
93
        lli->control = 0x78000000 | size | (nextlli == NULL ? 0x80000000 : 0);
93
        lli->control = 0x78000000 | size | (nextlli == NULL ? 0x80000000 : 0);
94
        nextlli = lli;
94
        nextlli = lli;
95
        lli = &lli[-1];
95
        lli = &lli[-1];
96
    }
96
    }
97
    clean_dcache();
97
    invalidate_dcache();
98
    DMAC0CCONFIG(port + 5) = 0x9001 | (SPIDMA(port) << 1);
98
    DMAC0CCONFIG(port + 5) = 0x9001 | (SPIDMA(port) << 1);
99
    wakeup_wait(&spiwakeup[port], TIMEOUT_BLOCK);
99
    wakeup_wait(&spiwakeup[port], TIMEOUT_BLOCK);
100
    clockgate_dma(0, port + 5, false);
100
    clockgate_dma(0, port + 5, false);
101
    invalidate_dcache();
-
 
102
    SPISETUP(port) &= ~0x41;
101
    SPISETUP(port) &= ~0x41;
103
}
102
}
104
 
103
 
105
void INT_DMAC0C5()
104
void INT_DMAC0C5()
106
{
105
{