Commit 6f0a5462 authored by Pavel Pisa's avatar Pavel Pisa

Merge branch 'test-updated-for-new-vid-pid' into 'master'

driver: update user-space test for new reserved PID:VID 1760:0xff00.

See merge request !209
parents c0f3e451 1c639ac6
Pipeline #6044 passed with stages
in 13 minutes and 8 seconds
......@@ -250,6 +250,8 @@ int main(int argc, char *argv[])
case 'r': test_read_speed = true; break;
case 'p':
addrs[0] = pci_find_bar(0x1172, 0xcafd, 0, 1);
if (!addrs[0])
addrs[0] = pci_find_bar(0x1760, 0xff00, 0, 1);
if (!addrs[0])
err(1, "-p PCI device not found");
addrs[1] = addrs[0] + 0x4000;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment