aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ne2k-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ne2k-pci.c')
-rw-r--r--drivers/net/ne2k-pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c
index 654b477b570a..1ee7eac0f6ed 100644
--- a/drivers/net/ne2k-pci.c
+++ b/drivers/net/ne2k-pci.c
@@ -177,7 +177,7 @@ static void ne2k_pci_block_output(struct net_device *dev, const int count,
177 const unsigned char *buf, const int start_page); 177 const unsigned char *buf, const int start_page);
178static struct ethtool_ops ne2k_pci_ethtool_ops; 178static struct ethtool_ops ne2k_pci_ethtool_ops;
179 179
180 180
181 181
182/* There is no room in the standard 8390 structure for extra info we need, 182/* There is no room in the standard 8390 structure for extra info we need,
183 so we build a meta/outer-wrapper structure.. */ 183 so we build a meta/outer-wrapper structure.. */
@@ -386,7 +386,7 @@ err_out_free_res:
386 386
387} 387}
388 388
389/* 389/*
390 * Magic incantation sequence for full duplex on the supported cards. 390 * Magic incantation sequence for full duplex on the supported cards.
391 */ 391 */
392static inline int set_realtek_fdx(struct net_device *dev) 392static inline int set_realtek_fdx(struct net_device *dev)
@@ -411,7 +411,7 @@ static inline int set_holtek_fdx(struct net_device *dev)
411 411
412static int ne2k_pci_set_fdx(struct net_device *dev) 412static int ne2k_pci_set_fdx(struct net_device *dev)
413{ 413{
414 if (ei_status.ne2k_flags & REALTEK_FDX) 414 if (ei_status.ne2k_flags & REALTEK_FDX)
415 return set_realtek_fdx(dev); 415 return set_realtek_fdx(dev);
416 else if (ei_status.ne2k_flags & HOLTEK_FDX) 416 else if (ei_status.ne2k_flags & HOLTEK_FDX)
417 return set_holtek_fdx(dev); 417 return set_holtek_fdx(dev);