commit | 586f1d6688c68a6c7fa4e6a00fa3968b16daef75 | [log] [tgz] |
---|---|---|
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | Mon Oct 05 17:41:37 2009 +0900 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Nov 04 09:01:44 2009 -0800 |
tree | 08777d2d739a940dac83df927389323f56569ee2 | |
parent | 3c3a1b1759616e6603027108f8abcbec54271e62 [diff] |
PCI: pciehp: create files only for existing capabilities Current pciehp driver creates 'attention' and 'latch' files even if the controller doesn't support them. In this case, the contents of those files are meaningless and unpredictable. Those files should be created only if the controller has the corresponding capabilities. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>