Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jul 2019 12:31:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ppc@FreeBSD.org
Subject:   [Bug 237471] [PowerPC64] pseries llan driver wrong MAC address
Message-ID:  <bug-237471-21-XD3Jy0jGjo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237471-21@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237471-21@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237471

--- Comment #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: luporl
Date: Thu Jul  4 12:31:25 UTC 2019
New revision: 349723
URL: https://svnweb.freebsd.org/changeset/base/349723

Log:
  [PPC64] pseries llan: fix MAC address

  There was an issue in pseries llan driver, that resulted in the first 2 b=
ytes
  of the MAC address getting stripped, and the last 2 being always 0.

  In most cases the network interface still worked, despite the MAC being
  different of what was specified to QEMU, but when some other host or DHCP
  server expected a specific MAC, this would fail.

  This change fixes this by shifting right by 2 the local-mac-address read =
from
  device tree, if its length is 6 instead of 8, as observed in QEMU DT, that
  always presents a 6 bytes value for this property.

  PR:           237471
  Reported by:  Alfredo Dal'Ava Junior
  Reviewed by:  jhibbits
  Differential Revision:        https://reviews.freebsd.org/D20843

Changes:
  head/sys/powerpc/pseries/phyp_llan.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237471-21-XD3Jy0jGjo>