Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/broadcom Set mac-address property to mue(4).



details:   https://anonhg.NetBSD.org/src/rev/2938190ff9c1
branches:  trunk
changeset: 365646:2938190ff9c1
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Aug 25 20:55:15 2018 +0000

description:
Set mac-address property to mue(4).

diffstat:

 sys/arch/arm/broadcom/bcm283x_platform.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 86596219a542 -r 2938190ff9c1 sys/arch/arm/broadcom/bcm283x_platform.c
--- a/sys/arch/arm/broadcom/bcm283x_platform.c  Sat Aug 25 20:52:40 2018 +0000
+++ b/sys/arch/arm/broadcom/bcm283x_platform.c  Sat Aug 25 20:55:15 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm283x_platform.c,v 1.13 2018/08/21 08:45:17 rin Exp $        */
+/*     $NetBSD: bcm283x_platform.c,v 1.14 2018/08/25 20:55:15 rin Exp $        */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm283x_platform.c,v 1.13 2018/08/21 08:45:17 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm283x_platform.c,v 1.14 2018/08/25 20:55:15 rin Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_bcm283x.h"
@@ -1317,7 +1317,7 @@
                booted_device = dev;
        }
 #endif
-       if (device_is_a(dev, "usmsc") &&
+       if ((device_is_a(dev, "usmsc") || device_is_a(dev, "mue")) &&
            vcprop_tag_success_p(&vb.vbt_macaddr.tag)) {
                const uint8_t enaddr[ETHER_ADDR_LEN] = {
                     (vb.vbt_macaddr.addr >> 0) & 0xff,



Home | Main Index | Thread Index | Old Index