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
...@@ -251,7 +251,9 @@ int main(int argc, char *argv[]) ...@@ -251,7 +251,9 @@ int main(int argc, char *argv[])
case 'p': case 'p':
addrs[0] = pci_find_bar(0x1172, 0xcafd, 0, 1); addrs[0] = pci_find_bar(0x1172, 0xcafd, 0, 1);
if (!addrs[0]) if (!addrs[0])
err(1, "-p PCI device not found"); addrs[0] = pci_find_bar(0x1760, 0xff00, 0, 1);
if (!addrs[0])
err(1, "-p PCI device not found");
addrs[1] = addrs[0] + 0x4000; addrs[1] = addrs[0] + 0x4000;
break; break;
case 'h': case 'h':
......
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