]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0b4ff8e495a06747432127d2b770546418ef58f
tree02d670de43ff7e2d6d5b726a4af1230a1e22fcd7
parent66a2fa5a806b3020ce264729886d6f49eb45a9f6
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]