Revert "refactor"

This reverts commit 953d00317e94be6920105dbcd0d25e77d79eff26.
Revert "add quirk check for device"

This reverts commit 19678b2e7baa8d9f9242fee4543e2a8e51a76fc9.
Revert "change return type"

This reverts commit 544e0ee7b17205af59453412de274cf7aadac564.
Revert "check with msi if want to use msix"

This reverts commit 9ee5ec5c5a3d740539a730caa1beafb294489695.
Revert "fix: over disabling device tree branch"

This reverts commit 95e7eb24790b941ff86e315b53279149f310549f.
Revert "add workaround for Atom C2000 series SoC"

This reverts commit 39693292ef798e464b311afdb1f05ded0e6780ba.
Revert "fix: panic at construct_msi{,x}_pic()"

This reverts commit 591047ee0fb7027570a9bbbbbd3dad0f931046d8.
Revert "add old pci bridge support"

This reverts commit 4c6be3f573d4da57a47209645c983bcb4d51408e.
support old pci bridge and hypertransport related MSI (port from OpenBSD)
fix: cannot enable msi/msi-x
refactor and add todo comment