• Geoff Levand's avatar
    net/ps3_gelic_net: Add gelic_descr structures · 3ce4f9c3
    Geoff Levand authored
    In an effort to make the PS3 gelic driver easier to maintain, create two
    new structures, struct gelic_hw_regs and struct gelic_chain_link, and
    replace the corresponding members of struct gelic_descr with the new
    structures.
    
    The new struct gelic_hw_regs holds the register variables used by the
    gelic hardware device.  The new struct gelic_chain_link holds variables
    used to manage the driver's linked list of gelic descr structures.
    Signed-off-by: default avatarGeoff Levand <geoff@infradead.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3ce4f9c3
ps3_gelic_net.c 47.8 KB