diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2007-11-30 02:54:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:05:51 -0500 |
commit | dea4a87cabc4ba0c09123c6e8392aa68fe437b31 (patch) | |
tree | 592d16531885493a437a27bcfd3249dba791711a /drivers/net/ipg.c | |
parent | 6d3b2cb92bee1cec43c716f4cd6554be1e6b36ea (diff) |
ipg: remove some internal comments
This removes some now useless comments that were added when the driver was
developed out-of-tree.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Francois Romieu <romieu@fr.zoreil.com>
Cc: Sorbica Shieh <sorbica@icplus.com.tw>
Cc: Jesse Huang <jesse@icplus.com.tw>
Diffstat (limited to 'drivers/net/ipg.c')
-rw-r--r-- | drivers/net/ipg.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index 9e228e7d3be..6b64bc58053 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c | |||
@@ -373,7 +373,6 @@ static void mdio_write(struct net_device *dev, int phy_id, int phy_reg, int val) | |||
373 | } | 373 | } |
374 | } | 374 | } |
375 | 375 | ||
376 | /* Set LED_Mode JES20040127EEPROM */ | ||
377 | static void ipg_set_led_mode(struct net_device *dev) | 376 | static void ipg_set_led_mode(struct net_device *dev) |
378 | { | 377 | { |
379 | struct ipg_nic_private *sp = netdev_priv(dev); | 378 | struct ipg_nic_private *sp = netdev_priv(dev); |
@@ -395,7 +394,6 @@ static void ipg_set_led_mode(struct net_device *dev) | |||
395 | ipg_w32(mode, ASIC_CTRL); | 394 | ipg_w32(mode, ASIC_CTRL); |
396 | } | 395 | } |
397 | 396 | ||
398 | /* Set PHYSet JES20040127EEPROM */ | ||
399 | static void ipg_set_phy_set(struct net_device *dev) | 397 | static void ipg_set_phy_set(struct net_device *dev) |
400 | { | 398 | { |
401 | struct ipg_nic_private *sp = netdev_priv(dev); | 399 | struct ipg_nic_private *sp = netdev_priv(dev); |
@@ -414,7 +412,7 @@ static int ipg_reset(struct net_device *dev, u32 resetflags) | |||
414 | * register as specified by the 'resetflags' input | 412 | * register as specified by the 'resetflags' input |
415 | * parameter. | 413 | * parameter. |
416 | */ | 414 | */ |
417 | void __iomem *ioaddr = ipg_ioaddr(dev); //JES20040127EEPROM: | 415 | void __iomem *ioaddr = ipg_ioaddr(dev); |
418 | unsigned int timeout_count = 0; | 416 | unsigned int timeout_count = 0; |
419 | 417 | ||
420 | IPG_DEBUG_MSG("_reset\n"); | 418 | IPG_DEBUG_MSG("_reset\n"); |
@@ -429,10 +427,10 @@ static int ipg_reset(struct net_device *dev, u32 resetflags) | |||
429 | if (++timeout_count > IPG_AC_RESET_TIMEOUT) | 427 | if (++timeout_count > IPG_AC_RESET_TIMEOUT) |
430 | return -ETIME; | 428 | return -ETIME; |
431 | } | 429 | } |
432 | /* Set LED Mode in Asic Control JES20040127EEPROM */ | 430 | /* Set LED Mode in Asic Control */ |
433 | ipg_set_led_mode(dev); | 431 | ipg_set_led_mode(dev); |
434 | 432 | ||
435 | /* Set PHYSet Register Value JES20040127EEPROM */ | 433 | /* Set PHYSet Register Value */ |
436 | ipg_set_phy_set(dev); | 434 | ipg_set_phy_set(dev); |
437 | return 0; | 435 | return 0; |
438 | } | 436 | } |
@@ -2006,7 +2004,6 @@ static void ipg_set_phy_default_param(unsigned char rev, | |||
2006 | } | 2004 | } |
2007 | } | 2005 | } |
2008 | 2006 | ||
2009 | /* JES20040127EEPROM */ | ||
2010 | static int read_eeprom(struct net_device *dev, int eep_addr) | 2007 | static int read_eeprom(struct net_device *dev, int eep_addr) |
2011 | { | 2008 | { |
2012 | void __iomem *ioaddr = ipg_ioaddr(dev); | 2009 | void __iomem *ioaddr = ipg_ioaddr(dev); |
@@ -2073,7 +2070,7 @@ static int ipg_hw_init(struct net_device *dev) | |||
2073 | unsigned int i; | 2070 | unsigned int i; |
2074 | int rc; | 2071 | int rc; |
2075 | 2072 | ||
2076 | /* Read/Write and Reset EEPROM Value Jesse20040128EEPROM_VALUE */ | 2073 | /* Read/Write and Reset EEPROM Value */ |
2077 | /* Read LED Mode Configuration from EEPROM */ | 2074 | /* Read LED Mode Configuration from EEPROM */ |
2078 | sp->LED_Mode = read_eeprom(dev, 6); | 2075 | sp->LED_Mode = read_eeprom(dev, 6); |
2079 | 2076 | ||