diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2007-10-04 09:31:46 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2007-10-04 09:31:46 +0200 |
commit | b510517d59efcb45cc7079743be967bee122b251 (patch) | |
tree | d2d7edc4f4f75f036d1cae994bd210a887caf2ae /linux-core | |
parent | 5ca12104f8a3eebecae6d238c1c456c8e6540ae3 (diff) |
nouveau: Switch over to using PMC_BOOT_0 for card detection.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/nouveau_drv.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/linux-core/nouveau_drv.c b/linux-core/nouveau_drv.c index 6c73b0d3..01de67de 100644 --- a/linux-core/nouveau_drv.c +++ b/linux-core/nouveau_drv.c @@ -29,7 +29,16 @@ #include "drm_pciids.h" static struct pci_device_id pciidlist[] = { - nouveau_PCI_IDS + { + PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID), + .class = PCI_BASE_CLASS_DISPLAY << 16, + .class_mask = 0xff << 16, + }, + { + PCI_DEVICE(PCI_VENDOR_ID_NVIDIA_SGS, PCI_ANY_ID), + .class = PCI_BASE_CLASS_DISPLAY << 16, + .class_mask = 0xff << 16, + } }; extern struct drm_ioctl_desc nouveau_ioctls[]; |