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: David Smith <dsmith at redhat dot com>
- To: Andrew Lunn <andrew dot lunn at ascom dot ch>
- 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: 06 Jan 2003 15:37:32 -0600
- Subject: Re: USB ethernet host driver support for 2.2 and 2.4 kernels
- References: <1040324130.1101.35.camel@phb> <20030106082252.GD1386@biferten.ma.tech.ascom.ch>
Yes, you're right. Correcting it fixed a compile warning under a 2.4
kernel (that I evidently shouldn't have ignored before).
On Mon, 2003-01-06 at 02:22, Andrew Lunn wrote:
> 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
--
David Smith
dsmith@redhat.com
Red Hat, Inc.
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)