net/ps3_gelic_net: Add gelic_descr structures
authorGeoff Levand <geoff@infradead.org>
Sat, 23 Dec 2023 07:28:20 +0000 (16:28 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2024 14:16:08 +0000 (14:16 +0000)
commit3ce4f9c3fbb3de675693d178f86284969c146898
tree248d09ed08009adb52cff7b5838c921a3c55a3cf
parentfb9bb704896b4defad76661289136316d534d6f3
net/ps3_gelic_net: Add gelic_descr structures

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: Geoff Levand <geoff@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/ps3_gelic_net.c
drivers/net/ethernet/toshiba/ps3_gelic_net.h