struct timeval timev;
do_gettimeofday(&timev);
return ((long long) timev.tv_sec * 1000000 + timev.tv_usec);
-};
+}
#ifdef ARLAN_ENTRY_EXIT_DEBUGGING
#define ARLAN_DEBUG_ENTRY(name) \
netif_wake_queue (dev);
}
return 1;
-};
+}
int arlan_command(struct net_device *dev, int command_p)
if (priv->tx_command_given || priv->rx_command_given)
{
printk(KERN_ERR "%s: Reset under tx or rx command \n", dev->name);
- };
+ }
netif_stop_queue (dev);
if (arlan_debug & ARLAN_DEBUG_RESET)
printk(KERN_ERR "%s: Doing chip reset\n", dev->name);
{
priv->waiting_command_mask &= ~ARLAN_COMMAND_TBUSY_CLEAR;
netif_wake_queue (dev);
- };
+ }
}
else if (priv->waiting_command_mask & ARLAN_COMMAND_TX)
{
ARLAN_DEBUG_EXIT("arlan_command");
return 2;
-};
+}
static inline void arlan_command_process(struct net_device *dev)
{
jiffies - priv->tx_last_sent > 5*HZ ){
arlan_command(dev, ARLAN_COMMAND_CLEAN_AND_RESET);
priv->tx_last_cleared = jiffies;
- };
+ }
}
if (check_mem_region(virt_to_phys((void *)memaddr),0x2000 )){
// printk(KERN_WARNING "arlan: memory region %lx excluded from probing \n",virt_to_phys((void*)memaddr));
return -ENODEV;
- };
+ }
memcpy_fromio(tempBuf, arlan->textRegion, 29);
tempBuf[30] = 0;
priv->ReTransmitRequested++;
ARLAN_DEBUG_EXIT("arlan_queue_retransmit");
-};
+}
static inline void RetryOrFail(struct net_device *dev)
{