X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fatm%2Ffirestream.c;h=c662d686154a1ac64ad5b1c1e7deca1029fce0bc;hb=b297d520b9af536d5580ac505dd316be4cf5560c;hp=737cea49f8721b57e766650365b4221d8efc2af8;hpb=485cf925d8b7a6b3c62fe5f1e167f2d0d4edf32a;p=karo-tx-linux.git diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c index 737cea49f872..c662d686154a 100644 --- a/drivers/atm/firestream.c +++ b/drivers/atm/firestream.c @@ -171,8 +171,8 @@ static char *res_strings[] = { "packet purged", "packet ageing timeout", "channel ageing timeout", - "calculated lenght error", - "programmed lenght limit error", + "calculated length error", + "programmed length limit error", "aal5 crc32 error", "oam transp or transpc crc10 error", "reserved 25", @@ -1295,7 +1295,7 @@ static const struct atmdev_ops ops = { static void __devinit undocumented_pci_fix (struct pci_dev *pdev) { - int tint; + u32 tint; /* The Windows driver says: */ /* Switch off FireStream Retry Limit Threshold @@ -1596,7 +1596,7 @@ static irqreturn_t fs_irq (int irq, void *dev_id) /* print the bits in the ISR register. */ if (fs_debug & FS_DEBUG_IRQ) { - /* The FS_DEBUG things are unneccesary here. But this way it is + /* The FS_DEBUG things are unnecessary here. But this way it is clear for grep that these are debug prints. */ fs_dprintk (FS_DEBUG_IRQ, "IRQ status:"); for (i=0;i<27;i++)