diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-04-08 09:49:33 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-04-08 09:49:33 +0000 |
commit | 3809b1c0f98a8f42746cb75a86d1f40e9818fe2b (patch) | |
tree | 0ae7250ce9c516f39498b5072511e8050f22ff17 /sys/dev/usb | |
parent | 374082b2a678af124e756328078968c2a8f20f8e (diff) |
Bump size of the buffer we use to fetch device tree properties. The
ethernet aliase paths in the new omap device trees are longer than 64
characters. Fixes the MAC address on Pandaboard-ES with the new
device tree.
ok jsg@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_smsc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_smsc.c b/sys/dev/usb/if_smsc.c index 07457f4c594..ed5d8cd9cb7 100644 --- a/sys/dev/usb/if_smsc.c +++ b/sys/dev/usb/if_smsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_smsc.c,v 1.33 2019/07/07 06:40:10 kevlo Exp $ */ +/* $OpenBSD: if_smsc.c,v 1.34 2020/04/08 09:49:32 kettenis Exp $ */ /* $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */ /*- * Copyright (c) 2012 @@ -184,7 +184,7 @@ void smsc_enaddr_OF(struct smsc_softc *sc) { char *device = "/axi/usb/hub/ethernet"; - char prop[64]; + char prop[128]; int node; if (sc->sc_dev.dv_unit != 0) |