netdev
[Top] [All Lists]

Re: [patch 1/9] arcnet fixes

To: Esben Nielsen <simlo@xxxxxxxxxx>
Subject: Re: [patch 1/9] arcnet fixes
From: Andrew Morton <akpm@xxxxxxxx>
Date: Fri, 29 Oct 2004 13:39:23 -0700
Cc: davem@xxxxxxxxxx, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <Pine.OSF.4.05.10410291603000.5037-100000@da410.ifa.au.dk>
References: <20041028164111.5ffaca70.davem@redhat.com> <Pine.OSF.4.05.10410291603000.5037-100000@da410.ifa.au.dk>
Sender: netdev-bounce@xxxxxxxxxxx
Esben Nielsen <simlo@xxxxxxxxxx> wrote:
>
> > One problem with the patch though.
>  > 
>  > > diff -puN include/linux/if_ether.h~arcnet-fixes include/linux/if_ether.h
>  > > --- 25/include/linux/if_ether.h~arcnet-fixes     2004-10-28 
> 00:17:07.230704752 -0700
>  > > +++ 25-akpm/include/linux/if_ether.h     2004-10-28 00:17:07.247702168 
> -0700
>  > > @@ -91,6 +91,7 @@
>  > >  #define ETH_P_IRDA      0x0017          /* Linux-IrDA                   
> */
>  > >  #define ETH_P_ECONET    0x0018          /* Acorn Econet                 
> */
>  > >  #define ETH_P_HDLC      0x0019          /* HDLC frames                  
> */
>  > > +#define ETH_P_ARCNET    0x0020          /* ArcNet                       
> */
>  > 
>  > You should use 0x001a or similar, so you don't have
>  > to do this next part of your patch, bumping NPROTO
>  > in net.h
>  > 
> 
>  Doh! I can't count in hex it seems. This would probably also mean I won't
>  have to recompile the whole kernel but just the modules and I don't have 
>  to reboot to make it work on a new machine - but just until somebody else
>  picks the same protocol number ofcourse.
> 
>  Do I have to fix the problem and resubmit?

Yes please.  A patch relative to the previous one would be nice.

<Prev in Thread] Current Thread [Next in Thread>