]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf540daf534a125f29115e045a81a97cf550eda9
tree9a751c78824dcce377e712b06a8d654ef943b284
parenteacddb5e4e1a524e0b9cfa0a0a0644924b8e9eb4
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]