History log of /external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ltp_tpci.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aba5c50b7be4e522bb46acc92f71adb347540033 05-Nov-2013 Alexey Kodanev <alexey.kodanev@oracle.com> device-drivers: pci: remove bus_slot file on exit

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ltp_tpci.c
01f01828681dbf8b5820b9494ead278e4678e5de 30-Oct-2013 Alexey Kodanev <alexey.kodanev@oracle.com> device-drivers: pci: fix PCI_EXP_CAP_CONFIG test-case

There is another way to check that PCI Express config space of pci devices
can be read successfully.
Firstly, find out if a device has a PCI Express Capability: we should get
a correct config address offset from the dev's structure (dev->pcie_cap).
Using the offset, read a PCI Express header. Check if we can get the right
PCI Express CAP ID from the header (it must match the PCI_CAP_ID_EXP macro).

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ltp_tpci.c
b3c1c0fc2373b27227f268c88945ead56eedb067 29-Oct-2013 Alexey Kodanev <alexey.kodanev@oracle.com> device-drivers: pci: check memory region for flag IORESOURCE_PREFETCH

This is done to make sure there will be no side effects if we change it somehow
in the test (e.g. we're not changing I/O ports implemented as memory regions).
Remove annoying printk messages.

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ltp_tpci.c
02c479c2061ad481c7df78a7432bd8cc90027444 16-Oct-2013 Alexey Kodanev <alexey.kodanev@oracle.com> device-drivers: pci: fixes

Obsolete code updated to the actual kernel PCI API.
Changed test-cases handling from ioctl to sysfs.
User-space program rewritten.

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ltp_tpci.c
9dcb59183e535430d156d7c2a50ca78969d7485c 24-Sep-2013 Alexey Kodanev <alexey.kodanev@oracle.com> device-drivers: pci: rename files and remove useless files

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ltp_tpci.c