diff options
author | Edward Cree <ecree@solarflare.com> | 2020-06-30 14:02:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-30 22:09:09 +0200 |
commit | 83d00531cbc837ab354e9ab429d49539797c7f1c (patch) | |
tree | 724b350d22873353daa26ef75a631c1f43477444 /drivers/net/ethernet/sfc/mcdi_port.h | |
parent | Merge branch 'Convert-Broadcom-SF2-to-mac_link_up-resolved-state' (diff) | |
download | linux-83d00531cbc837ab354e9ab429d49539797c7f1c.tar.xz linux-83d00531cbc837ab354e9ab429d49539797c7f1c.zip |
sfc: move NIC-specific mcdi_port declarations out of common header
These functions are implemented in mcdi_port.c, which will not be linked
into the EF100 driver; thus their prototypes should not be visible in
common header files.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi_port.h')
-rw-r--r-- | drivers/net/ethernet/sfc/mcdi_port.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi_port.h b/drivers/net/ethernet/sfc/mcdi_port.h new file mode 100644 index 000000000000..07863ddbe740 --- /dev/null +++ b/drivers/net/ethernet/sfc/mcdi_port.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/**************************************************************************** + * Driver for Solarflare network controllers and boards + * Copyright 2008-2013 Solarflare Communications Inc. + * Copyright 2019-2020 Xilinx Inc. + */ + +#ifndef EFX_MCDI_PORT_H +#define EFX_MCDI_PORT_H + +#include "net_driver.h" + +u32 efx_mcdi_phy_get_caps(struct efx_nic *efx); +bool efx_mcdi_mac_check_fault(struct efx_nic *efx); +int efx_mcdi_port_probe(struct efx_nic *efx); +void efx_mcdi_port_remove(struct efx_nic *efx); + +#endif /* EFX_MCDI_PORT_H */ |