]> git.neil.brown.name Git - history.git/commitdiff
e1000 net drvr update 12/13:
authorChristopher Goldfarb <christopher@intel.com>
Wed, 3 Apr 2002 11:28:35 +0000 (06:28 -0500)
committerJeff Garzik <jgarzik@mandrakesoft.com>
Wed, 3 Apr 2002 11:28:35 +0000 (06:28 -0500)
Update a few stale comments

drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_param.c

index 59447218c20fbecd6acc89e1c2fa3ccf97fc9db7..a2d9a0d8e023f2d4a258eee1e1f5f0e1e2ebff3e 100644 (file)
@@ -472,10 +472,6 @@ err_alloc_etherdev:
  * that it should release a PCI device.  The could be caused by a
  * Hot-Plug event, or because the driver is going to be removed from
  * memory.
- *
- * This routine is also called to clean up from a failure in
- * e1000_probe.  The Adapter struct and netdev will always exist,
- * all other pointers must be checked for NULL before freeing.
  **/
 
 static void __devexit
@@ -675,9 +671,6 @@ e1000_close(struct net_device *netdev)
  * @adapter: board private structure
  *
  * Return 0 on success, negative on failure
- *
- * e1000_setup_tx_resources allocates all software transmit resources
- * and enabled the Tx unit of the MAC.
  **/
 
 static int
@@ -783,13 +776,10 @@ e1000_configure_tx(struct e1000_adapter *adapter)
 }
 
 /**
- * e1000_setup_rx_resources - allocate Rx resources (Descriptors, receive SKBs)
+ * e1000_setup_rx_resources - allocate Rx resources (Descriptors)
  * @adapter: board private structure
  *
  * Returns 0 on success, negative on failure
- *
- * e1000_setup_rx_resources allocates all software receive resources
- * and network buffers, and enables the Rx unit of the MAC.
  **/
 
 static int
@@ -1728,7 +1718,6 @@ e1000_intr(int irq, void *data, struct pt_regs *regs)
        while(i && (icr = E1000_READ_REG(&adapter->hw, ICR))) {
 
                if(icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC)) {
-                       /* run the watchdog ASAP */
                        adapter->hw.get_link_status = 1;
                        mod_timer(&adapter->watchdog_timer, jiffies);
                }
index eb427d67e9dff9e2de13cc0d0609865ce5ec0160..400ea716411fbd42ea706fed1c00e38efc02e0d9 100644 (file)
@@ -152,7 +152,7 @@ E1000_PARAM(Duplex, "Duplex setting");
 
 /* Auto-negotiation Advertisement Override
  *
- * Valid Range: 0x00-0x0F, 0x20-0x2F
+ * Valid Range: 0x01-0x0F, 0x20-0x2F
  *
  * The AutoNeg value is a bit mask describing which speed and duplex
  * combinations should be advertised during auto-negotiation.