Re: Fix for maestro in 2.3.99-preX

From: Jes Sorensen (Jes.Sorensen@cern.ch)
Date: Tue Apr 18 2000 - 03:53:02 EST


>>>>> "Rogier" == Rogier Wolff <R.E.Wolff@BitWizard.nl> writes:

Rogier> 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)

Rogier> FYI: There is "compatmac.h" in 2.2.x exactly for this purpose!
Rogier> Feel free to add stuff (like Linus just proposed) that you
Rogier> need for a network driver!

The problem with this is that the older kernels are never updated so
if you want to stick a driver into 2.2.12 for instance, you need to
keep the latest compat code in the driver itself.

Jes

-
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