commit | 0ec734c2b8b005667ffdaef8610d1024630683b0 | [log] [tgz] |
---|---|---|
author | Wolfgang Ocker <weo@reccoware.de> | Sun Feb 10 20:31:33 2008 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Mar 12 14:14:40 2008 +0000 |
tree | 8e39253f9d521bb45bf59546a8c15eb41246cb11 | |
parent | baadac8b10c5ac15ce3d26b68fa266c8889b163f [diff] |
[MIPS] Alchemy: Fix ids in Alchemy db dma device table 0 is a valid device id (DSCR_CMD0_UART0_TX), so we can't use it to mark an empty entry in the device table. Use ~0 instead and search for id ~0 when looking for a free entry. Signed-off-by: Wolfgang Ocker <weo@reccoware.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>