| // Copyright 2022 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| using fuchsia.acpi; |
| using fuchsia.pci; |
| |
| if fuchsia.BIND_FIDL_PROTOCOL == fuchsia.pci.BIND_FIDL_PROTOCOL.DEVICE { |
| fuchsia.BIND_PCI_VID == 0x1234; |
| fuchsia.BIND_PCI_DID == 0x11e8; |
| } else { |
| fuchsia.acpi.hid == "GOOG0002"; |
| } |
| |
| // TODO(surajmalhotra): Use constants from bind library. |
| //fuchsia.BIND_PCI_VID == fuchsia.pci.BIND_PCI_VID.QEMU_TEST; |
| //fuchsia.BIND_PCI_DID == fuchsia.pci.BIND_PCI_VID.QEMU_EDU; |