]> Git Repo - qemu.git/commit
dp8393x: Use long-word-aligned RRA pointers in 32-bit mode
authorFinn Thain <[email protected]>
Wed, 29 Jan 2020 09:27:49 +0000 (20:27 +1100)
committerJason Wang <[email protected]>
Tue, 3 Mar 2020 10:04:47 +0000 (18:04 +0800)
commitea2270279bc2e1635cb6e909e22e17e630198773
treef0c5d377e158f39ce9211a2fc0465b772020a335
parentbae112b80c9c42cea21ee7623c283668c3451c2e
dp8393x: Use long-word-aligned RRA pointers in 32-bit mode

Section 3.4.1 of the datasheet says,

    The alignment of the RRA is confined to either word or long word
    boundaries, depending upon the data width mode. In 16-bit mode,
    the RRA must be aligned to a word boundary (A0 is always zero)
    and in 32-bit mode, the RRA is aligned to a long word boundary
    (A0 and A1 are always zero).

This constraint has been implemented for 16-bit mode; implement it
for 32-bit mode too.

Signed-off-by: Finn Thain <[email protected]>
Tested-by: Laurent Vivier <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
hw/net/dp8393x.c
This page took 0.023568 seconds and 4 git commands to generate.