patch-2.3.38 linux/drivers/video/matroxfb.c
Next file: linux/fs/adfs/dir.c
Previous file: linux/drivers/video/fbmem.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Jan 6 16:17:19 2000
- Orig file:
v2.3.37/linux/drivers/video/matroxfb.c
- Orig date:
Thu Jan 6 12:57:48 2000
diff -u --recursive --new-file v2.3.37/linux/drivers/video/matroxfb.c linux/drivers/video/matroxfb.c
@@ -6020,8 +6020,8 @@
u_int16_t sid;
pci_read_config_byte(pdev, PCI_REVISION_ID, &rev);
- svid = dev->subsystem_vendor;
- sid = dev->subsystem_device;
+ svid = pdev->subsystem_vendor;
+ sid = pdev->subsystem_device;
for (b = dev_list; b->vendor; b++) {
if ((b->vendor != pdev->vendor) || (b->device != pdev->device) || (b->rev < rev)) continue;
if (b->svid)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)