summaryrefslogtreecommitdiff
path: root/packages/ixp425-eth/ixp400-eth-1.5/device-name.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-11-21 07:23:02 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-21 07:23:02 +0000
commit59dda76b85bec1d4666d1d688c35cdf230586c4a (patch)
treed2f6a7dec93e06d0c53febc8a22e1932632e951d /packages/ixp425-eth/ixp400-eth-1.5/device-name.patch
parent7a245f350a82e342742b549543471f0c5855c48f (diff)
ixp400-eth: release for ixp4xx release 2.1: 1.5
Diffstat (limited to 'packages/ixp425-eth/ixp400-eth-1.5/device-name.patch')
-rw-r--r--packages/ixp425-eth/ixp400-eth-1.5/device-name.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/ixp425-eth/ixp400-eth-1.5/device-name.patch b/packages/ixp425-eth/ixp400-eth-1.5/device-name.patch
new file mode 100644
index 0000000000..b0e0d329e6
--- /dev/null
+++ b/packages/ixp425-eth/ixp400-eth-1.5/device-name.patch
@@ -0,0 +1,14 @@
+--- ./ixp400_eth.c 2005-11-20 16:58:48.973330982 -0800
++++ ./ixp400_eth.c 2005-11-20 17:01:26.719257307 -0800
+@@ -161,7 +161,11 @@ MODULE_PARM(dev_max_count, "i");
+ MODULE_PARM_DESC(dev_max_count, "Number of devices to initialize");
+
+ /* devices will be called ixp0 and ixp1 */
++#ifdef IX_DEVICE_NAME_ETH
++#define DEVICE_NAME "eth"
++#else
+ #define DEVICE_NAME "ixp"
++#endif
+
+ /* boolean values for PHY link speed, duplex, and autonegotiation */
+ #define PHY_SPEED_10 0