• D
    [PATCH] Fix and enable EDAC sysfs operation · 49c0dab7
    Doug Thompson 提交于
    When EDAC was first introduced into the kernel it had a sysfs interface,
    but due to some problems it was disabled in 2.6.16 and remained disabled in
    2.6.17.
    
    With feedback, several of the control and attribute files of that interface
    had some good constructive feedback.  PCI Blacklist/Whitelist was a major
    set which has design issues and it has been removed in this patch.  Instead
    of storing PCI broken parity status in EDAC, it has been moved to the
    pci_dev structure itself by a previous PCI patch.  A future patch will
    enable that feature in EDAC by utilizing the pci_dev info.
    
    The sysfs is now enabled in this patch, with a minimal set of control and
    attribute files for examining EDAC state and for enabling/disabling the
    memory and PCI operations.
    
    The Documentation for EDAC has also been updated to reflect the new state
    of EDAC operation.
    Signed-off-by: NDoug Thompson <norsk5@xmisson.com>
    Cc: Greg KH <greg@kroah.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    49c0dab7
edac_mc.c 46.3 KB