Re: fix iwm bsd.rd / lladdr random (was: Re: iwm0 not working during upgrade with bsd.rd)

2015-09-27 Thread Mark Kettenis
> Date: Sat, 26 Sep 2015 19:21:28 +0200 > From: Stefan Sperling > > On Sat, Sep 26, 2015 at 11:32:06AM -0400, Ted Unangst wrote: > > can we please use memcpy in new code? > > Sure. New diff below. > > Also uses less pointless casts in net/if.c as requested by guenther@ ok kettenis@ > Index: d

Re: fix iwm bsd.rd / lladdr random (was: Re: iwm0 not working during upgrade with bsd.rd)

2015-09-26 Thread Stefan Sperling
On Sat, Sep 26, 2015 at 11:32:06AM -0400, Ted Unangst wrote: > can we please use memcpy in new code? Sure. New diff below. Also uses less pointless casts in net/if.c as requested by guenther@ Index: dev/pci/if_iwm.c === RCS file: /c

Re: fix iwm bsd.rd / lladdr random (was: Re: iwm0 not working during upgrade with bsd.rd)

2015-09-26 Thread Ted Unangst
Stefan Sperling wrote: > On Sat, Sep 26, 2015 at 03:37:22PM +0200, Stefan Sperling wrote: > > This diff fixes the issue for me. > > Same diff, + my uncommitted mac context diff from > http://marc.info/?l=openbsd-tech&m=144294310002198&w=2 > > Also adds a tweak to the ioctl handler which finally f

fix iwm bsd.rd / lladdr random (was: Re: iwm0 not working during upgrade with bsd.rd)

2015-09-26 Thread Stefan Sperling
On Sat, Sep 26, 2015 at 03:37:22PM +0200, Stefan Sperling wrote: > This diff fixes the issue for me. Same diff, + my uncommitted mac context diff from http://marc.info/?l=openbsd-tech&m=144294310002198&w=2 Also adds a tweak to the ioctl handler which finally fixes ifconfig iwm0 lladdr random Th

Re: iwm0 not working during upgrade with bsd.rd

2015-09-26 Thread Stefan Sperling
On Thu, Aug 27, 2015 at 09:23:33AM +0200, Stefan Sperling wrote: > On Thu, Aug 27, 2015 at 08:37:53AM +0200, Remi Locherer wrote: > > >Synopsis: iwm0 not working during upgrade with bsd.rd > > >Category: kernel > > >Environment: > > System : OpenBSD 5

Re: iwm0 not working during upgrade with bsd.rd

2015-08-27 Thread Stefan Sperling
On Thu, Aug 27, 2015 at 08:37:53AM +0200, Remi Locherer wrote: > >Synopsis: iwm0 not working during upgrade with bsd.rd > >Category:kernel > >Environment: > System : OpenBSD 5.8 > Details : OpenBSD 5.8-current (GENERIC.MP) #1269: Tue Aug