Skip to content

Commit

Permalink
use official url and change spaces to tab
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan committed Dec 28, 2016
1 parent 30663b1 commit 370d8f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/igb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ MAIN_TARGET = igb.ko

$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
rm -rf ./igb-$(IGB_DRIVER_VERSION)
wget -O igb-$(IGB_DRIVER_VERSION).tar.gz "http://downloads.sourceforge.net/project/e1000/igb%20stable/5.3.5.4/igb-5.3.5.4.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fe1000%2Ffiles%2Figb%2520stable%2F5.3.5.4%2F&ts=1482880840&use_mirror=pilotfiber"
wget -O igb-$(IGB_DRIVER_VERSION).tar.gz "https://downloadmirror.intel.com/13663/eng/igb-$(IGB_DRIVER_VERSION).tar.gz"
tar xzf igb-$(IGB_DRIVER_VERSION).tar.gz

# Patch
pushd ./igb-$(IGB_DRIVER_VERSION)
patch -p1 < ../0001-add-support-for-BCM54616-phy-for-intel-igb-driver.patch
patch -p1 < ../patch/0001-add-support-for-BCM54616-phy-for-intel-igb-driver.patch

# Build the package
pushd src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ index b4b973e..248c670 100644
case M88E1112_E_PHY_ID:
case M88E1340M_E_PHY_ID:
case M88E1111_I_PHY_ID:
+ case BCM54616_E_PHY_ID:
+ case BCM54616_E_PHY_ID:
phy->type = e1000_phy_m88;
phy->ops.check_polarity = e1000_check_polarity_m88;
phy->ops.get_info = e1000_get_phy_info_m88;
Expand All @@ -28,7 +28,7 @@ index 6de3988..d5da148 100644
#define I210_I_PHY_ID 0x01410C00
#define IGP04E1000_E_PHY_ID 0x02A80391
#define M88_VENDOR 0x0141
+#define BCM54616_E_PHY_ID 0x03625D10
+#define BCM54616_E_PHY_ID 0x03625D10

/* M88E1000 Specific Registers */
#define M88E1000_PHY_SPEC_CTRL 0x10 /* PHY Specific Control Reg */
Expand Down

0 comments on commit 370d8f3

Please sign in to comment.