USB ethernet host driver support for 2.2 and 2.4 kernels

Andrew Lunn andrew.lunn@ascom.ch
Mon Jan 6 08:23:00 GMT 2003


On Thu, Dec 19, 2002 at 12:55:29PM -0600, David Smith wrote:
> As promised a couple of months back, here's a patch where Clark Williams
> and I took Bart's 2.4 kernel driver and merged it back with Bart's
> original 2.2 kernel driver.
> 
>  
> +#if LINUX_KERNEL_CODE > KERNEL_VERSION(2,3,99)
> +static void*
> +ecos_usbeth_probe(struct usb_device* usbdev,
> +                  unsigned int interface_id,

Shouldn't this be LINUX_VERSION_CODE?

          Andrew



More information about the Ecos-patches mailing list