]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ne2k: Fix Typo in RW-Bugfix
authorArmin Wolf <W_Armin@gmx.de>
Thu, 29 Oct 2020 14:33:57 +0000 (15:33 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Oct 2020 23:17:02 +0000 (16:17 -0700)
Correct a typo in ne.c and ne2k-pci.c which
prevented activation of the RW-Bugfix.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20201029143357.7008-1-W_Armin@gmx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/8390/ne.c
drivers/net/ethernet/8390/ne2k-pci.c

index 1c97e39b478e9f8957ff76f75bc47d819b248c03..e9756d0ea5b8dc2491df52a4457770a4e7540a1e 100644 (file)
@@ -710,7 +710,7 @@ static void ne_block_output(struct net_device *dev, int count,
 retry:
 #endif
 
-#ifdef NE8390_RW_BUGFIX
+#ifdef NE_RW_BUGFIX
        /* Handle the read-before-write bug the same way as the
           Crynwr packet driver -- the NatSemi method doesn't work.
           Actually this doesn't always work either, but if you have
index bc6edb3f1af348fb0114020d7286df188b98e09f..d6715008e04d7bfa50dccc94100d76bf4cb8a2b0 100644 (file)
@@ -610,7 +610,7 @@ static void ne2k_pci_block_output(struct net_device *dev, int count,
        /* We should already be in page 0, but to be safe... */
        outb(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD);
 
-#ifdef NE8390_RW_BUGFIX
+#ifdef NE_RW_BUGFIX
        /* Handle the read-before-write bug the same way as the
         * Crynwr packet driver -- the NatSemi method doesn't work.
         * Actually this doesn't always work either, but if you have