Commit 5087b54d authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller

sfc: Remove boards.h, moving last remaining declaration to falcon.h

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c9597d4f
/****************************************************************************
* Driver for Solarflare Solarstorm network controllers and boards
* Copyright 2007-2008 Solarflare Communications Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation, incorporated herein by reference.
*/
#ifndef EFX_BOARDS_H
#define EFX_BOARDS_H
extern void falcon_probe_board(struct efx_nic *efx, u16 revision_info);
#endif
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "falcon_io.h" #include "falcon_io.h"
#include "mdio_10g.h" #include "mdio_10g.h"
#include "phy.h" #include "phy.h"
#include "boards.h"
#include "workarounds.h" #include "workarounds.h"
/* Falcon hardware control. /* Falcon hardware control.
......
...@@ -39,6 +39,8 @@ extern struct efx_nic_type falcon_b_nic_type; ...@@ -39,6 +39,8 @@ extern struct efx_nic_type falcon_b_nic_type;
************************************************************************** **************************************************************************
*/ */
extern void falcon_probe_board(struct efx_nic *efx, u16 revision_info);
/* TX data path */ /* TX data path */
extern int falcon_probe_tx(struct efx_tx_queue *tx_queue); extern int falcon_probe_tx(struct efx_tx_queue *tx_queue);
extern void falcon_init_tx(struct efx_tx_queue *tx_queue); extern void falcon_init_tx(struct efx_tx_queue *tx_queue);
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include "net_driver.h" #include "net_driver.h"
#include "phy.h" #include "phy.h"
#include "boards.h"
#include "efx.h" #include "efx.h"
#include "falcon.h" #include "falcon.h"
#include "falcon_hwdefs.h" #include "falcon_hwdefs.h"
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "mac.h" #include "mac.h"
#include "mdio_10g.h" #include "mdio_10g.h"
#include "phy.h" #include "phy.h"
#include "boards.h"
#include "workarounds.h" #include "workarounds.h"
/************************************************************************** /**************************************************************************
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <linux/delay.h> #include <linux/delay.h>
#include "net_driver.h" #include "net_driver.h"
#include "mdio_10g.h" #include "mdio_10g.h"
#include "boards.h"
#include "workarounds.h" #include "workarounds.h"
unsigned efx_mdio_id_oui(u32 id) unsigned efx_mdio_id_oui(u32 id)
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
*/ */
#include "efx.h" #include "efx.h"
#include "boards.h"
static inline unsigned efx_mdio_id_rev(u32 id) { return id & 0xf; } static inline unsigned efx_mdio_id_rev(u32 id) { return id & 0xf; }
static inline unsigned efx_mdio_id_model(u32 id) { return (id >> 4) & 0x3f; } static inline unsigned efx_mdio_id_model(u32 id) { return (id >> 4) & 0x3f; }
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "efx.h" #include "efx.h"
#include "falcon.h" #include "falcon.h"
#include "selftest.h" #include "selftest.h"
#include "boards.h"
#include "workarounds.h" #include "workarounds.h"
#include "spi.h" #include "spi.h"
#include "falcon_io.h" #include "falcon_io.h"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include "falcon.h" #include "falcon.h"
#include "phy.h" #include "phy.h"
#include "falcon_hwdefs.h" #include "falcon_hwdefs.h"
#include "boards.h"
#include "workarounds.h" #include "workarounds.h"
#include "selftest.h" #include "selftest.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment