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

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=144294310002198=2 Also adds a tweak to the ioctl handler which finally fixes ifconfig iwm0 lladdr random This

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:

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=144294310002198=2 > > Also adds a tweak to the ioctl handler which finally