Re: Re: wrong code in arswitch.

From: Mori Hiroki <yamori813_at_yahoo.co.jp>
Date: Thu, 17 Aug 2023 01:56:34 UTC
Hi

Thanks for fix to head.

I found this bug effect on boot log.

arswitch0: <Atheros AR8327 Ethernet Switch (ver 1 rev 2)> on mdio0

ver is wrong.

Please make MFC to stable/12.

Thanks

Hiroki Mori

> ----- Original Message -----
> 
> From: "Michael Zhilin" <mizhka@gmail.com>
> To: "や もり" <yamori813@yahoo.co.jp>
> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
> Date: 2023/08/08 火 17:10
> Subject: Re: wrong code in arswitch.
> 
> 
> Hi,
> 
> Nice catch, thank you!
> Committed to main, mfc after 1 week.
> 
> Thank you!
> 
> On Tue, Aug 8, 2023 at 9:44 AM Mori Hiroki <yamori813@yahoo.co.jp> wrote:
> Hi.
>  
>  Now I do port etherswitch function to NetBSD.
>  
>  I found wrong code.
>  
>  https://cgit.freebsd.org/src/tree/sys/dev/etherswitch/arswitch/arswitch.c#n129
>  
>  shift is '>>'
>  
>  This value is not use in the code. This no effect.
>  
>  Regards
>  
>  This is we say Okamehachimoku.
>  
>  Hiroki Mori
>  
>  
> 
>