Le 12/04/2011 17:31, Samuel Thibault a écrit : > Brice Goglin, le Tue 12 Apr 2011 14:10:33 +0200, a écrit : > >> * pci:0000:00:00.0 or pci:00:00.0 for a given PCI device >> > I believe we can make the function number optional too. >
The device number is useless too (all devices on the same bus are connected to the same hostbridge). But this kind of flexibility easily creates parsing conflicts between 0000:00[:00[.0]] above and 0000:0000[:0] below. That's also why I initially though about keeping the above syntax as is, and putting attributes between [...] below. >> * pci:aaaa:bbbb:c for the c-th PCI device with vendor ID aaaa and device >> ID bbbb >> > :c being optional if there is only one of those. > Brice