The device table entry for HD3470 was incorrectly using a logical or
authorjsg <jsg@openbsd.org>
Fri, 30 Jul 2010 13:31:47 +0000 (13:31 +0000)
committerjsg <jsg@openbsd.org>
Fri, 30 Jul 2010 13:31:47 +0000 (13:31 +0000)
instead of a binary or.  Found via lint.
ok oga@

sys/dev/pci/drm/radeon_drv.c

index 3fe0b96..069c392 100644 (file)
@@ -486,7 +486,7 @@ const static struct drm_pcidev radeondrm_pciidlist[] = {
        {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD3450,
            CHIP_RV620|RADEON_NEW_MEMMAP},
        {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD3470,
-           CHIP_RV620||RADEON_NEW_MEMMAP},
+           CHIP_RV620|RADEON_NEW_MEMMAP},
        {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD2600_PRO,
            CHIP_RV630|RADEON_NEW_MEMMAP},
        {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD2600_XT,