Update of /cvsroot/linux-mips/linux/drivers/video
In directory usw-pr-cvs1:/tmp/cvs-serv10548
Modified Files:
mq200fb.c mq2hw.h
Log Message:
Use intelligent PCI ID's instead..
Index: mq200fb.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/video/mq200fb.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mq200fb.c 2001/07/23 21:04:18 1.1
+++ mq200fb.c 2001/10/28 02:43:33 1.2
@@ -608,8 +608,9 @@
memset(p, 0, sizeof(*p));
#ifdef MQ_PCI
- pPciDev = (struct pci_dev *) pci_find_device(MQ200_VENDOR_ID, \
- MQ200_DEVICE_ID, NULL);
+ pPciDev = (struct pci_dev *) pci_find_device(PCI_VENDOR_ID_MEDIAQ,
+ PCI_DEVICE_ID_MEDIAQ_MQ200,
+ NULL);
#ifdef TEST
PDEBUG("mq200fb: pci_find_devide = 0X%08X\n", pPciDev);
Index: mq2hw.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/video/mq2hw.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mq2hw.h 2001/07/23 21:04:18 1.1
+++ mq2hw.h 2001/10/28 02:43:33 1.2
@@ -10,8 +10,6 @@
#ifndef _VIDEO_MQ200_MQ2HW_H
#define _VIDEO_MQ200_MQ2HW_H
-#define MQ200_VENDOR_ID 0x4D51
-#define MQ200_DEVICE_ID 0x0200
#define MQ200_ID 0x02004D51
#define PM_ID_CAP 0x06210001 /* Power management ID/capability */
|