diff options
| author | jbeloro <none@none> | 2005-12-12 22:49:29 -0800 |
|---|---|---|
| committer | jbeloro <none@none> | 2005-12-12 22:49:29 -0800 |
| commit | 06e46062ef4f5f4b687cbafb4518fb123fe23920 (patch) | |
| tree | f9806f66edf123d0c2a63e58b8ccb8a6d8b7d8cb /usr/src/cmd/fruadm | |
| parent | 8eb6c4f9472d7b6f007c889f8e14385510452918 (diff) | |
| download | illumos-joyent-06e46062ef4f5f4b687cbafb4518fb123fe23920.tar.gz | |
PSARC 2005/662 SIS Compliance for Locator Indicators
PSARC 2005/697 Tamale Data Protocol Extensions for Large Data Transfers
PSARC 2005/698 Seattle/Boston Chassis Serial Number
PSARC 2005/728 Boston/Seattle PICL
6313684 PICL support for Seattle
6328752 PICL support for Boston
6332630 Chassis serial number support for Seattle/Boston
6333508 Solaris needs to support ALOM's disk-on-chip device
6344008 The fruadm command on Boston & Seattle fails to write to any of the system's fruid proms
6347431 picl envmon doesn't fully support blinking/flashing LED states
6347537 locator(1m) is not SIS-compliant
6360332 Seattle platmod is missing the 'plat_add_mem_unum_label' function
6360506 locator -n fails to activate the system locator on Boston
Diffstat (limited to 'usr/src/cmd/fruadm')
| -rw-r--r-- | usr/src/cmd/fruadm/fruadm.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/cmd/fruadm/fruadm.c b/usr/src/cmd/fruadm/fruadm.c index 210d247853..288bccf188 100644 --- a/usr/src/cmd/fruadm/fruadm.c +++ b/usr/src/cmd/fruadm/fruadm.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -19,6 +18,7 @@ * * CDDL HEADER END */ + /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. @@ -500,11 +500,13 @@ create_segment(fru_nodehdl_t nodehdl) fru_segdef_t def; int cnt; + (void) memset(&seg_desc, 0, sizeof (seg_desc)); seg_desc.field.field_perm = 0x6; seg_desc.field.operations_perm = 0x6; seg_desc.field.engineering_perm = 0x6; seg_desc.field.repair_perm = 0x6; + (void) memset(&def, 0, sizeof (def)); def.address = 0; def.desc.raw_data = seg_desc.raw_data; def.hw_desc.all_bits = 0; |
