sfc: split up nic.h
authorEdward Cree <ecree@solarflare.com>
Mon, 29 Jun 2020 13:34:39 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 00:37:48 +0000 (17:37 -0700)
commit9043f48fd3e302dd3cee49f911ce0fd1494b479f
tree02d670de43ff7e2d6d5b726a4af1230a1e22fcd7
parentd3142c193dca9a2f6878f4128ce1aaf221bb3f99
sfc: split up nic.h

The new nic_common.h contains the inlines for NIC-type function dispatch,
 declarations for NIC-generic functions in nic.c, and other similar NIC-
 generic functionality.  Retained in nic.h are NIC-specific declarations
 such as the siena and ef10 nic_data structs and various farch functions.

The EF100 driver will thus include nic_common.h but not nic.h.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/nic_common.h [new file with mode: 0644]
drivers/net/ethernet/sfc/ptp.c
drivers/net/ethernet/sfc/ptp.h [new file with mode: 0644]