This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: USB ethernet host driver support for 2.2 and 2.4 kernels
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: David Smith <dsmith at redhat dot com>
- Cc: eCos Patches <ecos-patches at sources dot redhat dot com>, Bart Veer <bartv at ecoscentric dot com>, Clark Williams <williams at redhat dot com>
- Date: Mon, 6 Jan 2003 09:22:52 +0100
- Subject: Re: USB ethernet host driver support for 2.2 and 2.4 kernels
- References: <1040324130.1101.35.camel@phb>
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