Fix tulip SytemError typo
authorValerie Henson <val_henson@linux.intel.com>
Mon, 12 Mar 2007 09:31:33 +0000 (02:31 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 15:00:59 +0000 (11:00 -0400)
Fix an annoying typo - SytemError -> SystemError

Signed-off-by: Valerie Henson <val_henson@linux.intel.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tulip/interrupt.c
drivers/net/tulip/tulip.h
drivers/net/tulip/winbond-840.c

index e86df07769a1efce7d7790987732fc5578163757..9b08afbd1f65e245648c4e7f3fc84531e9b7069e 100644 (file)
@@ -673,7 +673,7 @@ irqreturn_t tulip_interrupt(int irq, void *dev_instance)
                                if (tp->link_change)
                                        (tp->link_change)(dev, csr5);
                        }
-                       if (csr5 & SytemError) {
+                       if (csr5 & SystemError) {
                                int error = (csr5 >> 23) & 7;
                                /* oops, we hit a PCI error.  The code produced corresponds
                                 * to the reason:
@@ -743,7 +743,7 @@ irqreturn_t tulip_interrupt(int irq, void *dev_instance)
                          TxFIFOUnderflow |
                          TxJabber |
                          TPLnkFail |
-                         SytemError )) != 0);
+                         SystemError )) != 0);
 #else
        } while ((csr5 & (NormalIntr|AbnormalIntr)) != 0);
 
index ceac47e775ceff4f4e95f70e9f4de344c700342f..c840d2e67b23d25d302f744abaa1b7eedd8406b8 100644 (file)
@@ -132,7 +132,7 @@ enum pci_cfg_driver_reg {
 /* The bits in the CSR5 status registers, mostly interrupt sources. */
 enum status_bits {
        TimerInt = 0x800,
-       SytemError = 0x2000,
+       SystemError = 0x2000,
        TPLnkFail = 0x1000,
        TPLnkPass = 0x10,
        NormalIntr = 0x10000,
index 5b71ac78bca2e4f9f85183990318696e52cc8a42..fa440706fb4aa28f2d7b285439aa2f10a0853f36 100644 (file)
@@ -1147,7 +1147,7 @@ static irqreturn_t intr_handler(int irq, void *dev_instance)
                }
 
                /* Abnormal error summary/uncommon events handlers. */
-               if (intr_status & (AbnormalIntr | TxFIFOUnderflow | SytemError |
+               if (intr_status & (AbnormalIntr | TxFIFOUnderflow | SystemError |
                                                   TimerInt | TxDied))
                        netdev_error(dev, intr_status);