This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: USB ethernet host driver support for 2.2 and 2.4 kernels


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]