[PATCH] tulip: enable multiport NIC BIOS fixups for x86_64
authorChristoph Dworzak <dworz@amazing.ch>
Fri, 6 Jan 2006 19:49:22 +0000 (14:49 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 9 Jan 2006 15:48:09 +0000 (10:48 -0500)
A BIOS bug affecting some multiport tulip NICs requires an irq fixup
in tulip_core.c.  This has only been enabled for i686, but it is
needed for x86_64 as well.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/tulip/tulip_core.c

index 125ed00..c67c912 100644 (file)
@@ -1564,7 +1564,7 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
                            dev->dev_addr, 6);
                }
 #endif
-#if defined(__i386__)          /* Patch up x86 BIOS bug. */
+#if defined(__i386__) || defined(__x86_64__)   /* Patch up x86 BIOS bug. */
                if (last_irq)
                        irq = last_irq;
 #endif