USB ethernet host driver support for 2.2 and 2.4 kernels
David Smith
dsmith@redhat.com
Mon Jan 6 21:41:00 GMT 2003
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)
More information about the Ecos-patches
mailing list