On Fri, Aug 17, Matt Sealey wrote: > Setting them to ~0x5 will set them to 0 (legacy mode) and they will always > read > back as 0 (legacy mode.. sigh) even if in native mode. The pci_dev->class needs updating as well, see second version of the patch.