diff options
author | gavinm <none@none> | 2006-10-05 17:39:16 -0700 |
---|---|---|
committer | gavinm <none@none> | 2006-10-05 17:39:16 -0700 |
commit | 8a40a695ee676a322b094e9afe5375567bfb51e3 (patch) | |
tree | b59160470b2412ad6a4afc8cf53da85376e7a18a /usr/src/uts/intel/sys/mc.h | |
parent | 6fec36253a9fa8abfdf231fb3ea9fc656a2ff872 (diff) | |
download | illumos-joyent-8a40a695ee676a322b094e9afe5375567bfb51e3.tar.gz |
PSARC 2006/564 FMA for Athlon 64 and Opteron Rev F/G Processors
PSARC 2006/566 eversholt language enhancements: confprop_defined
6362846 eversholt doesn't allow dashes in pathname components
6391591 AMD NB config should not set NbMcaToMstCpuEn
6391605 AMD DRAM scrubber should be disabled when errata #99 applies
6398506 memory controller driver should not bother to attach at all on rev F
6424822 FMA needs to support AMD family 0xf revs F and G
6443847 FMA x64 multibit ChipKill rules need to follow MQSC guidelines
6443849 Accrue inf_sys and s_ecc ECC errors against memory
6443858 mc-amd can free unitsrtr before usage in subsequent error path
6443891 mc-amd does not recognise mismatched dimm support
6455363 x86 error injector should allow addr option for most errors
6455370 Opteron erratum 101 only applies on revs D and earlier
6455373 Identify chip-select lines used on a dimm
6455377 improve x64 quadrank dimm support
6455382 add generic interfaces for amd chip revision and package/socket type
6468723 mem scheme fmri containment test for hc scheme is busted
6473807 eversholt could use some mdb support
6473811 eversholt needs a confprop_defined function
6473819 eversholt should show version of rules active in DE
6475302 ::nvlist broken by some runtime link ordering changes
Diffstat (limited to 'usr/src/uts/intel/sys/mc.h')
-rw-r--r-- | usr/src/uts/intel/sys/mc.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/usr/src/uts/intel/sys/mc.h b/usr/src/uts/intel/sys/mc.h index 416f323c86..4e1ab003ee 100644 --- a/usr/src/uts/intel/sys/mc.h +++ b/usr/src/uts/intel/sys/mc.h @@ -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. @@ -39,22 +38,32 @@ extern "C" { #endif #define MC_UNUM_NAMLEN 192 -#define MC_UNUM_NDIMM 8 +#define MC_UNUM_NDIMM 2 typedef struct mc_unum { int unum_board; int unum_chip; int unum_mc; int unum_cs; + int unum_rank; uint64_t unum_offset; int unum_dimms[MC_UNUM_NDIMM]; } mc_unum_t; +/* + * Invalid marker used in some numeric properties + */ +#define MC_INVALNUM ((uint32_t)-1) + #define MC_AMD_DEV_OFFSET 24 /* node ID + offset == PCI dev num */ +/* + * /dev/mc/mc* ioctl cmds + */ #define MC_IOC (0x4d43 << 16) #define MC_IOC_SNAPSHOT_INFO (MC_IOC | 1) #define MC_IOC_SNAPSHOT (MC_IOC | 2) +#define MC_IOC_ONLINESPARE_EN (MC_IOC | 4) /* * Prior to requesting a copy of the snapshot, consumers are advised to request |