OSDN Git Service

net: pcs: xpcs: move register bit descriptions to a header file
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 11 Jun 2021 20:05:22 +0000 (23:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 20:43:55 +0000 (13:43 -0700)
commitd4433d5b7b34fa316c473769d51c79b2755953e4
tree9a751c78824dcce377e712b06a8d654ef943b284
parent7413f9a6af00bb4dc0ef01944aceb8e2ee17a8d5
net: pcs: xpcs: move register bit descriptions to a header file

Vendors which integrate the Designware XPCS might modify a few things
here and there, and to support those, it's best to create separate C
files in order to not clutter up the main pcs-xpcs.c.

Because the vendor files might want to access the common xpcs registers
too, let's move them in a header file which is local to this driver and
can be included by vendor files as appropriate.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/pcs/pcs-xpcs.c
drivers/net/pcs/pcs-xpcs.h [new file with mode: 0644]