summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-02-05 08:50:00 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-02-05 08:50:00 +0000
commit4b48c89128dcbfd22e8d90c09937f8916d741123 (patch)
tree477e48833b1af39d7b92a0e7e27d39f2c5e42e92 /sys/dev
parentf149b5b56f42b9aa62612d22ea89b80f83cceb91 (diff)
Fix a pci vendor/device conversion missed in rev 1.6.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_bios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_bios.c b/sys/dev/pci/drm/radeon/radeon_bios.c
index 7d7b8ee123f..432d548ea86 100644
--- a/sys/dev/pci/drm/radeon/radeon_bios.c
+++ b/sys/dev/pci/drm/radeon/radeon_bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radeon_bios.c,v 1.7 2016/02/04 07:16:18 kettenis Exp $ */
+/* $OpenBSD: radeon_bios.c,v 1.8 2016/02/05 08:49:59 kettenis Exp $ */
/*
* Copyright 2008 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
@@ -666,7 +666,7 @@ static bool radeon_acpi_vfct_bios(struct radeon_device *rdev)
vhdr->PCIDevice != PCI_SLOT(rdev->pdev->devfn) ||
vhdr->PCIFunction != PCI_FUNC(rdev->pdev->devfn) ||
vhdr->VendorID != rdev->pdev->vendor ||
- vhdr->DeviceID != ddev->pci_device) {
+ vhdr->DeviceID != rdev->pdev->device) {
DRM_INFO("ACPI VFCT table is not for this card\n");
goto out_unmap;
};