summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwohci_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/fwohci_pci.c')
-rw-r--r--sys/dev/firewire/fwohci_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c
index e870f85..5f1efbd 100644
--- a/sys/dev/firewire/fwohci_pci.c
+++ b/sys/dev/firewire/fwohci_pci.c
@@ -65,7 +65,7 @@ fwohci_pci_probe( device_t dev )
#if 1
u_int32_t id;
- id = (pci_get_vendor(dev) << 16) | pci_get_device(dev);
+ id = pci_get_devid(dev);
if (id == (FW_VENDORID_NEC | FW_DEVICE_UPD861)) {
device_set_desc(dev, "NEC uPD72861");
return 0;
OpenPOWER on IntegriCloud