summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/pci
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-11-02 17:20:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-11-02 17:20:48 +0000
commit2452ea0499d5e854f0c6ccb8a0a06853177972f0 (patch)
treeb98d66be61a6d9e75594666bb1f1d658bc08ef94 /sys/arch/sgi/pci
parenta83250997fb91be059f1d51db62806ea30413d77 (diff)
When the iec(4) Ethernet address is unkown, pass ff:ff:ff:ff:ff:ff instead of
00:00:00:00:00:00, in order to trigger the code which will assign a `feel bad' random address.
Diffstat (limited to 'sys/arch/sgi/pci')
-rw-r--r--sys/arch/sgi/pci/ioc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/pci/ioc.c b/sys/arch/sgi/pci/ioc.c
index b40509712b3..6ee7bdc71e3 100644
--- a/sys/arch/sgi/pci/ioc.c
+++ b/sys/arch/sgi/pci/ioc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioc.c,v 1.23 2009/11/01 19:17:56 miod Exp $ */
+/* $OpenBSD: ioc.c,v 1.24 2009/11/02 17:20:47 miod Exp $ */
/*
* Copyright (c) 2008 Joel Sing.
@@ -439,7 +439,7 @@ ioc_attach_child(struct device *ioc, const char *name, bus_addr_t base, int dev)
* XXX queried by sending the appropriate L1 command
* XXX to the L1 UART. This L1 code is not written yet.
*/
- bzero(iaa.iaa_enaddr, 6);
+ memset(iaa.iaa_enaddr, 0xff, 6);
}
return config_found_sm(ioc, &iaa, ioc_print, ioc_search_mundane);