ne2k: Fix Typo in RW-Bugfix
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>
This commit is contained in:
parent
e4e143e26c
commit
c24672cf59
|
@ -710,7 +710,7 @@ static void ne_block_output(struct net_device *dev, int count,
|
||||||
retry:
|
retry:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NE8390_RW_BUGFIX
|
#ifdef NE_RW_BUGFIX
|
||||||
/* Handle the read-before-write bug the same way as the
|
/* Handle the read-before-write bug the same way as the
|
||||||
Crynwr packet driver -- the NatSemi method doesn't work.
|
Crynwr packet driver -- the NatSemi method doesn't work.
|
||||||
Actually this doesn't always work either, but if you have
|
Actually this doesn't always work either, but if you have
|
||||||
|
|
|
@ -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... */
|
/* We should already be in page 0, but to be safe... */
|
||||||
outb(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD);
|
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
|
/* Handle the read-before-write bug the same way as the
|
||||||
* Crynwr packet driver -- the NatSemi method doesn't work.
|
* Crynwr packet driver -- the NatSemi method doesn't work.
|
||||||
* Actually this doesn't always work either, but if you have
|
* Actually this doesn't always work either, but if you have
|
||||||
|
|
Loading…
Reference in New Issue