[PATCH] s2io build fix
authorAndrew Morton <akpm@osdl.org>
Sun, 16 Oct 2005 07:11:29 +0000 (00:11 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 18 Oct 2005 22:33:42 +0000 (18:33 -0400)
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/s2io.c

index 30fbaf04773f5856fd0330292daa1753c302d5f9..d303d162974f9caedf905bd603c583a8b6c538b9 100644 (file)
@@ -2997,7 +2997,7 @@ int s2io_set_swapper(nic_t * sp)
                 SWAPPER_CTRL_RXF_W_FE |
                 SWAPPER_CTRL_XMSI_FE |
                 SWAPPER_CTRL_STATS_FE | SWAPPER_CTRL_STATS_SE);
-       if (nic->intr_type == INTA)
+       if (sp->intr_type == INTA)
                val64 |= SWAPPER_CTRL_XMSI_SE;
        writeq(val64, &bar0->swapper_ctrl);
 #else