summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_hw.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-04-29 08:11:05 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-29 17:32:33 -0700
commitcdbf0eb478dd4c76aa665c80976837dc58367f52 (patch)
treec0648b693df25a0432078232d9772be2737e0b6a /drivers/net/ixgb/ixgb_hw.h
parent6b73e10d2d89f9ce773f9b47d61b195936d059ba (diff)
downloadop-kernel-dev-cdbf0eb478dd4c76aa665c80976837dc58367f52.zip
op-kernel-dev-cdbf0eb478dd4c76aa665c80976837dc58367f52.tar.gz
ixgb: Use generic MDIO definitions
Compile-tested only. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgb/ixgb_hw.h')
-rw-r--r--drivers/net/ixgb/ixgb_hw.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/net/ixgb/ixgb_hw.h b/drivers/net/ixgb/ixgb_hw.h
index 831fe0c..af6ca3a 100644
--- a/drivers/net/ixgb/ixgb_hw.h
+++ b/drivers/net/ixgb/ixgb_hw.h
@@ -29,6 +29,8 @@
#ifndef _IXGB_HW_H_
#define _IXGB_HW_H_
+#include <linux/mdio.h>
+
#include "ixgb_osdep.h"
/* Enums */
@@ -507,18 +509,6 @@ typedef enum {
/* Definitions for the optics devices on the MDIO bus. */
#define IXGB_PHY_ADDRESS 0x0 /* Single PHY, multiple "Devices" */
-/* Standard five-bit Device IDs. See IEEE 802.3ae, clause 45 */
-#define MDIO_PMA_PMD_DID 0x01
-#define MDIO_WIS_DID 0x02
-#define MDIO_PCS_DID 0x03
-#define MDIO_XGXS_DID 0x04
-
-/* Standard PMA/PMD registers and bit definitions. */
-/* Note: This is a very limited set of definitions, */
-/* only implemented features are defined. */
-#define MDIO_PMA_PMD_CR1 0x0000
-#define MDIO_PMA_PMD_CR1_RESET 0x8000
-
#define MDIO_PMA_PMD_XPAK_VENDOR_NAME 0x803A /* XPAK/XENPAK devices only */
/* Vendor-specific MDIO registers */
OpenPOWER on IntegriCloud