~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/edac/edac_core.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
/* chipset Error Detection and Correction capabilities and mode */
165
165
enum edac_type {
166
166
        EDAC_UNKNOWN = 0,       /* Unknown if ECC is available */
167
 
        EDAC_NONE,              /* Doesnt support ECC */
 
167
        EDAC_NONE,              /* Doesn't support ECC */
168
168
        EDAC_RESERVED,          /* Reserved ECC type */
169
169
        EDAC_PARITY,            /* Detects parity errors */
170
170
        EDAC_EC,                /* Error Checking - no correction */
233
233
 *                      of these in parallel provides 64 bits which is common
234
234
 *                      for a memory stick.
235
235
 *
236
 
 * Memory Stick:        A printed circuit board that agregates multiple
 
236
 * Memory Stick:        A printed circuit board that aggregates multiple
237
237
 *                      memory devices in parallel.  This is the atomic
238
238
 *                      memory component that is purchaseable by Joe consumer
239
239
 *                      and loaded into a memory socket.
385
385
 
386
386
        /* Get the current sdram memory scrub rate from the internal
387
387
           representation and converts it to the closest matching
388
 
           bandwith in bytes/sec.
 
388
           bandwidth in bytes/sec.
389
389
         */
390
390
        int (*get_sdram_scrub_rate) (struct mem_ctl_info * mci);
391
391
 
421
421
        u32 ce_count;           /* Total Correctable Errors for this MC */
422
422
        unsigned long start_time;       /* mci load start time (in jiffies) */
423
423
 
424
 
        /* this stuff is for safe removal of mc devices from global list while
425
 
         * NMI handlers may be traversing list
426
 
         */
427
 
        struct rcu_head rcu;
428
424
        struct completion complete;
429
425
 
430
426
        /* edac sysfs device control */
620
616
 
621
617
        unsigned long start_time;       /* edac_device load start time (jiffies) */
622
618
 
623
 
        /* these are for safe removal of mc devices from global list while
624
 
         * NMI handlers may be traversing list
625
 
         */
626
 
        struct rcu_head rcu;
627
619
        struct completion removal_complete;
628
620
 
629
621
        /* sysfs top name under 'edac' directory
722
714
 
723
715
        unsigned long start_time;       /* edac_pci load start time (jiffies) */
724
716
 
725
 
        /* these are for safe removal of devices from global list while
726
 
         * NMI handlers may be traversing list
727
 
         */
728
 
        struct rcu_head rcu;
729
717
        struct completion complete;
730
718
 
731
719
        /* sysfs top name under 'edac' directory
823
811
 * There are a limited number of error logging registers that can
824
812
 * be exausted.  When all registers are exhausted and an additional
825
813
 * error occurs then an error overflow register records that an
826
 
 * error occured and the type of error, but doesn't have any
 
814
 * error occurred and the type of error, but doesn't have any
827
815
 * further information.  The ce/ue versions make for cleaner
828
816
 * reporting logic and function interface - reduces conditional
829
817
 * statement clutter and extra function arguments.