[Bug 237471] [PowerPC64] pseries llan driver wrong MAC address
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 4 12:31:44 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237471
--- Comment #2 from commit-hook at 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 bytes
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ppc
mailing list