aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ns83820.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c
index 3652c6c926a6..b42c05f84be1 100644
--- a/drivers/net/ns83820.c
+++ b/drivers/net/ns83820.c
@@ -611,8 +611,7 @@ static inline int rx_refill(struct net_device *ndev, gfp_t gfp)
611 return i ? 0 : -ENOMEM; 611 return i ? 0 : -ENOMEM;
612} 612}
613 613
614static void rx_refill_atomic(struct net_device *ndev); 614static void rx_refill_atomic(struct net_device *ndev)
615static void fastcall rx_refill_atomic(struct net_device *ndev)
616{ 615{
617 rx_refill(ndev, GFP_ATOMIC); 616 rx_refill(ndev, GFP_ATOMIC);
618} 617}
@@ -633,7 +632,7 @@ static inline void clear_rx_desc(struct ns83820 *dev, unsigned i)
633 build_rx_desc(dev, dev->rx_info.descs + (DESC_SIZE * i), 0, 0, CMDSTS_OWN, 0); 632 build_rx_desc(dev, dev->rx_info.descs + (DESC_SIZE * i), 0, 0, CMDSTS_OWN, 0);
634} 633}
635 634
636static void fastcall phy_intr(struct net_device *ndev) 635static void phy_intr(struct net_device *ndev)
637{ 636{
638 struct ns83820 *dev = PRIV(ndev); 637 struct ns83820 *dev = PRIV(ndev);
639 static const char *speeds[] = { "10", "100", "1000", "1000(?)", "1000F" }; 638 static const char *speeds[] = { "10", "100", "1000", "1000(?)", "1000F" };
@@ -831,7 +830,7 @@ static void ns83820_cleanup_rx(struct ns83820 *dev)
831 } 830 }
832} 831}
833 832
834static void fastcall ns83820_rx_kick(struct net_device *ndev) 833static void ns83820_rx_kick(struct net_device *ndev)
835{ 834{
836 struct ns83820 *dev = PRIV(ndev); 835 struct ns83820 *dev = PRIV(ndev);
837 /*if (nr_rx_empty(dev) >= NR_RX_DESC/4)*/ { 836 /*if (nr_rx_empty(dev) >= NR_RX_DESC/4)*/ {
@@ -852,7 +851,7 @@ static void fastcall ns83820_rx_kick(struct net_device *ndev)
852/* rx_irq 851/* rx_irq
853 * 852 *
854 */ 853 */
855static void fastcall rx_irq(struct net_device *ndev) 854static void rx_irq(struct net_device *ndev)
856{ 855{
857 struct ns83820 *dev = PRIV(ndev); 856 struct ns83820 *dev = PRIV(ndev);
858 struct rx_info *info = &dev->rx_info; 857 struct rx_info *info = &dev->rx_info;