Linus Torvalds wrote:
> #define net_device device
> #define net_device_stats enet_statistics
> #define dev_kfree_skb_irq(a) dev_kfree_skb(a)
> #define netif_wake_queue(dev) clear_bit(0, &dev->tbusy)
> #define netif_stop_queue(dev) set_bit(0, &dev->tbusy)
> #define netif_queue_stopped(dev) ((dev)->tbusy != 0)
> #define netif_running(dev) ((dev)->start != 0)
FYI: There is "compatmac.h" in 2.2.x exactly for this purpose! Feel
free to add stuff (like Linus just proposed) that you need for a
network driver!
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* * Common sense is the collection of * ****** prejudices acquired by age eighteen. -- Albert Einstein ********- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:12 EST