patch-2.4.19 linux-2.4.19/drivers/net/arlan.c
Next file: linux-2.4.19/drivers/net/at1700.c
Previous file: linux-2.4.19/drivers/net/ariadne2.c
Back to the patch index
Back to the overall index
- Lines: 72
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/net/arlan.c
- Orig date:
Fri Nov 9 13:45:35 2001
diff -urN linux-2.4.18/drivers/net/arlan.c linux-2.4.19/drivers/net/arlan.c
@@ -128,7 +128,7 @@
EXPORT_SYMBOL(arlan_command);
-extern inline long long arlan_time(void)
+static inline long long arlan_time(void)
{
struct timeval timev;
do_gettimeofday(&timev);
@@ -186,7 +186,7 @@
-extern inline int arlan_drop_tx(struct net_device *dev)
+static inline int arlan_drop_tx(struct net_device *dev)
{
struct arlan_private *priv = ((struct arlan_private *) dev->priv);
@@ -554,7 +554,7 @@
};
-extern inline void arlan_command_process(struct net_device *dev)
+static inline void arlan_command_process(struct net_device *dev)
{
struct arlan_private *priv = ((struct arlan_private *) dev->priv);
@@ -575,7 +575,7 @@
}
-extern inline void arlan_retransmit_now(struct net_device *dev)
+static inline void arlan_retransmit_now(struct net_device *dev)
{
struct arlan_private *priv = ((struct arlan_private *) dev->priv);
@@ -677,7 +677,7 @@
arlan_retransmit_now(dev);
}
if (!registrationBad(dev) &&
- priv->tx_done_delayed < jiffies &&
+ time_after(jiffies, priv->tx_done_delayed) &&
priv->tx_done_delayed != 0)
{
TXLAST(dev).offset = 0;
@@ -1405,7 +1405,7 @@
}
-extern inline int DoNotReTransmitCrap(struct net_device *dev)
+static inline int DoNotReTransmitCrap(struct net_device *dev)
{
struct arlan_private *priv = ((struct arlan_private *) dev->priv);
@@ -1415,7 +1415,7 @@
}
-extern inline int DoNotWaitReTransmitCrap(struct net_device *dev)
+static inline int DoNotWaitReTransmitCrap(struct net_device *dev)
{
struct arlan_private *priv = ((struct arlan_private *) dev->priv);
@@ -1424,7 +1424,7 @@
return 0;
}
-extern inline void arlan_queue_retransmit(struct net_device *dev)
+static inline void arlan_queue_retransmit(struct net_device *dev)
{
struct arlan_private *priv = ((struct arlan_private *) dev->priv);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)