Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen use ETHER_ADDR_LEN on one more place
details: https://anonhg.NetBSD.org/src/rev/a8d5ab8705b8
branches: trunk
changeset: 1009040:a8d5ab8705b8
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Apr 10 19:08:10 2020 +0000
description:
use ETHER_ADDR_LEN on one more place
diffstat:
sys/arch/xen/xen/if_xennet_xenbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 59ea9903b16b -r a8d5ab8705b8 sys/arch/xen/xen/if_xennet_xenbus.c
--- a/sys/arch/xen/xen/if_xennet_xenbus.c Fri Apr 10 18:32:11 2020 +0000
+++ b/sys/arch/xen/xen/if_xennet_xenbus.c Fri Apr 10 19:08:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_xennet_xenbus.c,v 1.110 2020/04/10 18:03:06 jdolecek Exp $ */
+/* $NetBSD: if_xennet_xenbus.c,v 1.111 2020/04/10 19:08:10 jdolecek Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.110 2020/04/10 18:03:06 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.111 2020/04/10 19:08:10 jdolecek Exp $");
#include "opt_xen.h"
#include "opt_nfs_boot.h"
@@ -167,7 +167,7 @@
struct xennet_xenbus_softc {
device_t sc_dev;
struct ethercom sc_ethercom;
- uint8_t sc_enaddr[6];
+ uint8_t sc_enaddr[ETHER_ADDR_LEN];
struct xenbus_device *sc_xbusd;
bus_dma_tag_t sc_dmat;
Home |
Main Index |
Thread Index |
Old Index