• Doug Thompson's avatar
    [PATCH] PCI: Bus Parity Status sysfs interface · bdee9d98
    Doug Thompson authored
    From: Doug Thompson <norsk5@yahoo.com>
    
    This patch adds the 'broken_parity_status' sysfs attribute file to a PCI device.
    Reading this attribute a userland program can determine if PCI device provides false
    positives (value of 1) in its generation of PCI Parity status, or not (value of 0).
    As PCI devices are found to be 'bad' in this regard, userland programs can also set
    the appropriate value (root access only) of a faulty device. This per device
    information will be used in the EDAC PCI Parity scanner code in a future patch once
    this interface becomes available.
    Signed-off-by: default avatarDoug Thompson <norsk5@yahoo.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    bdee9d98
pci-sysfs.c 15.1 KB