]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
sfc: Remove boards.h, moving last remaining declaration to falcon.h
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 23 Oct 2009 08:29:51 +0000 (08:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Oct 2009 11:26:56 +0000 (04:26 -0700)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/boards.h [deleted file]
drivers/net/sfc/falcon.c
drivers/net/sfc/falcon.h
drivers/net/sfc/falcon_boards.c
drivers/net/sfc/falcon_xmac.c
drivers/net/sfc/mdio_10g.c
drivers/net/sfc/mdio_10g.h
drivers/net/sfc/selftest.c
drivers/net/sfc/tenxpress.c

diff --git a/drivers/net/sfc/boards.h b/drivers/net/sfc/boards.h
deleted file mode 100644 (file)
index aaa72b0..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/****************************************************************************
- * 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
index abc6b632df9f5235063280309edae49d674e74f0..eed8d1f98dd0c81eb3a5e457cc88ae9ad5e5b45e 100644 (file)
@@ -26,7 +26,6 @@
 #include "falcon_io.h"
 #include "mdio_10g.h"
 #include "phy.h"
-#include "boards.h"
 #include "workarounds.h"
 
 /* Falcon hardware control.
index 77f2e0db7ca109e8d8d17760ea322b0978fd7c4f..8d232bf612e709be23cdc04ddc05abea1901356b 100644 (file)
@@ -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 */
 extern int falcon_probe_tx(struct efx_tx_queue *tx_queue);
 extern void falcon_init_tx(struct efx_tx_queue *tx_queue);
index cae165665110e60414dbf85adbe26fe399060bc0..ab940756ac73283726eb7517b3fafc226f5f6e44 100644 (file)
@@ -11,7 +11,6 @@
 
 #include "net_driver.h"
 #include "phy.h"
-#include "boards.h"
 #include "efx.h"
 #include "falcon.h"
 #include "falcon_hwdefs.h"
index bec52ca37eeee6562eab4184eca4f35b66d137e6..b486a2b317b5b8508efe5ea13fddec1ca6fec4da 100644 (file)
@@ -17,7 +17,6 @@
 #include "mac.h"
 #include "mdio_10g.h"
 #include "phy.h"
-#include "boards.h"
 #include "workarounds.h"
 
 /**************************************************************************
index 6c33459f9ea9ddbd4c0938284f341ff1657b1812..b355872de6c20723b43a76a28af077a1163f3143 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/delay.h>
 #include "net_driver.h"
 #include "mdio_10g.h"
-#include "boards.h"
 #include "workarounds.h"
 
 unsigned efx_mdio_id_oui(u32 id)
index 6b14421a74446ee18708cea3c02520af4e657944..75b37f101231dae982cd4c0810f885b3540ce24a 100644 (file)
@@ -17,7 +17,6 @@
  */
 
 #include "efx.h"
-#include "boards.h"
 
 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; }
index 817c7efc11e09b74bffb1f25e84b6e1035225f12..4a7be1cc50670e46495d76f30b3485a5e07f7236 100644 (file)
@@ -24,7 +24,6 @@
 #include "efx.h"
 #include "falcon.h"
 #include "selftest.h"
-#include "boards.h"
 #include "workarounds.h"
 #include "spi.h"
 #include "falcon_io.h"
index 352cc560ed4cc63fcf64ac35f7d60acd4ef96dd1..f5797a3e1fe1365f0d034d6aedbb0a717cee4c3b 100644 (file)
@@ -15,7 +15,6 @@
 #include "falcon.h"
 #include "phy.h"
 #include "falcon_hwdefs.h"
-#include "boards.h"
 #include "workarounds.h"
 #include "selftest.h"