Small whitespace fixes.

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>

--- sky2-2.6.17.orig/drivers/net/sky2.c 2006-03-07 14:05:53.000000000 -0800
+++ sky2-2.6.17/drivers/net/sky2.c      2006-03-07 14:21:17.000000000 -0800
@@ -852,7 +852,7 @@
        if (!netif_running(dev))
                return -ENODEV; /* Phy still in reset */
 
-       switch(cmd) {
+       switch (cmd) {
        case SIOCGMIIPHY:
                data->phy_id = PHY_ADDR_MARV;
 
@@ -1304,7 +1304,7 @@
                struct tx_ring_info *re = sky2->tx_ring + put;
                struct sk_buff *skb = re->skb;
 
-               nxt = re->idx;
+               nxt = re->idx;
                BUG_ON(nxt >= TX_RING_SIZE);
                prefetch(sky2->tx_ring + nxt);
 
@@ -1320,7 +1320,7 @@
                        struct tx_ring_info *fre;
                        fre = sky2->tx_ring + (put + i + 1) % TX_RING_SIZE;
                        pci_unmap_page(pdev, pci_unmap_addr(fre, mapaddr),
-                                      skb_shinfo(skb)->frags[i].size,
+                                      skb_shinfo(skb)->frags[i].size,
                                       PCI_DMA_TODEVICE);
                }
 
@@ -2187,7 +2187,7 @@
        sky2_write8(hw, B0_CTST, CS_MRST_CLR);
 
        /* clear any PEX errors */
-       if (pci_find_capability(hw->pdev, PCI_CAP_ID_EXP)) 
+       if (pci_find_capability(hw->pdev, PCI_CAP_ID_EXP))
                sky2_pci_write32(hw, PEX_UNC_ERR_STAT, 0xffffffffUL);
 
 
@@ -2955,7 +2955,7 @@
        sky2->speed = -1;
        sky2->advertising = sky2_supported_modes(hw);
 
-       /* Receive checksum disabled for Yukon XL
+       /* Receive checksum disabled for Yukon XL
         * because of observed problems with incorrect
         * values when multiple packets are received in one interrupt
         */

--

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to