Fix tulip SytemError typo

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>
This commit is contained in:
Valerie Henson
2007-03-12 02:31:33 -07:00
committed by Jeff Garzik
parent eb117b1786
commit 1ddb98618d
3 changed files with 4 additions and 4 deletions

View File

@@ -673,7 +673,7 @@ irqreturn_t tulip_interrupt(int irq, void *dev_instance)
if (tp->link_change) if (tp->link_change)
(tp->link_change)(dev, csr5); (tp->link_change)(dev, csr5);
} }
if (csr5 & SytemError) { if (csr5 & SystemError) {
int error = (csr5 >> 23) & 7; int error = (csr5 >> 23) & 7;
/* oops, we hit a PCI error. The code produced corresponds /* oops, we hit a PCI error. The code produced corresponds
* to the reason: * to the reason:
@@ -743,7 +743,7 @@ irqreturn_t tulip_interrupt(int irq, void *dev_instance)
TxFIFOUnderflow | TxFIFOUnderflow |
TxJabber | TxJabber |
TPLnkFail | TPLnkFail |
SytemError )) != 0); SystemError )) != 0);
#else #else
} while ((csr5 & (NormalIntr|AbnormalIntr)) != 0); } while ((csr5 & (NormalIntr|AbnormalIntr)) != 0);

View File

@@ -132,7 +132,7 @@ enum pci_cfg_driver_reg {
/* The bits in the CSR5 status registers, mostly interrupt sources. */ /* The bits in the CSR5 status registers, mostly interrupt sources. */
enum status_bits { enum status_bits {
TimerInt = 0x800, TimerInt = 0x800,
SytemError = 0x2000, SystemError = 0x2000,
TPLnkFail = 0x1000, TPLnkFail = 0x1000,
TPLnkPass = 0x10, TPLnkPass = 0x10,
NormalIntr = 0x10000, NormalIntr = 0x10000,

View File

@@ -1147,7 +1147,7 @@ static irqreturn_t intr_handler(int irq, void *dev_instance)
} }
/* Abnormal error summary/uncommon events handlers. */ /* Abnormal error summary/uncommon events handlers. */
if (intr_status & (AbnormalIntr | TxFIFOUnderflow | SytemError | if (intr_status & (AbnormalIntr | TxFIFOUnderflow | SystemError |
TimerInt | TxDied)) TimerInt | TxDied))
netdev_error(dev, intr_status); netdev_error(dev, intr_status);