Hi Martin, Happy New Year. Thanks for looking at my patch. The reason I had the, admittedly horrible, ifdeffery is that I assumed that I should not be using u64 types without making sure they were available, looking back now I think I was mistaken. I will make a configuration space dump/output combination when I can. The current machine I am working on is very non-standard and seems to be having some problems assigning PCI bridge memory so I will have to bring another machine up. Harry > On 31 Dec 2016, at 16:01, Martin Mares <mj@xxxxxx> wrote: > > Hi! > >> I attach a patch with behaviour similar to what you describe. It is based on >> the current master branch of pciutils (hash >> 4a190235224ff6dfe44adbb07ac929afea612acd). > > I like the idea, but not much the ifdeffery in your implementation. > I wrote something similar in a little bit more systematic way, please > see commit 41d883cb97f94e844e96b4631a99c3da557cf162. > >> I have not altered anything in the tests folder yet as I am not sure about how to run them. > > The tests are not automated yet. Just add a configuration space > dump together with the expected output. > > Have a nice fortnight > -- > Martin `MJ' Mares <mj@xxxxxx> http://mj.ucw.cz/ > Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth > Power corrupts; Powerpoint corrupts absolutely. -- Vint Cerf -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html