Skip to contentSkip to conversation

Adding additional PCI ID for XVR-500 fb driver

PATCH In review Jurij Smakov 1 participant 2 messages Dec 1, 2008 – Dec 14, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Adding additional PCI ID for XVR-500 fb driver

Hi,

My SunBlade 1000 has the following graphics chip:

0000:00:01.0 VGA compatible controller: Intergraph Corporation Sun Expert3D-Lite Graphics Accelerator

with PCI ID 1091:07a0 (vendor ID is Intergraph Corporation). I've noticed that XVR-500 framebuffer driver (drivers/video/sunxvr500.c) supports the framebuffer device 3d3d:07a0, which only has the same device ID but a different vendor (3D Labs). Given that 3D Labs bought up Intergraph Corporation at some point, it's probably the same chip, so I tried adding 1091:07a0 to the list of supported PCI IDs for sunxvr500.c and it worked without problems, the console now is much nicer than the default PROM monochrome one. Please consider applying the included patch, which adds this card to the list of supported devices for XVR-500 driver.

drivers/video/sunxvr500.c +1 -0
diff -aur a/drivers/video/sunxvr500.c b/drivers/video/sunxvr500.c
@@ -396,6 +396,7 @@
 
 static struct pci_device_id e3d_pci_table[] = {
 	{	PCI_DEVICE(PCI_VENDOR_ID_3DLABS, 0x7a0),	},
+	{	PCI_DEVICE(PCI_VENDOR_ID_IGRAPH, 0x7a0),	},
 	{	PCI_DEVICE(PCI_VENDOR_ID_3DLABS, 0x7a2),	},
 	{	.vendor = PCI_VENDOR_ID_3DLABS,
 		.device = PCI_ANY_ID,
include/linux/pci_ids.h +2 -0
diff -aur a/include/linux/pci_ids.h b/include/linux/pci_ids.h
@@ -930,6 +930,8 @@
 #define PCI_DEVICE_ID_SUN_TOMATILLO	0xa801
 #define PCI_DEVICE_ID_SUN_CASSINI	0xabba
 
+#define PCI_VENDOR_ID_IGRAPH		0x1091
+
 #define PCI_VENDOR_ID_CMD		0x1095
 #define PCI_DEVICE_ID_CMD_643		0x0643
 #define PCI_DEVICE_ID_CMD_646		0x0646
Signature · 2 lines
Jurij Smakov                                           [email protected]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
#1 lore raw
Quoted 17 lines · Jurij Smakov

Hi,

My SunBlade 1000 has the following graphics chip:

0000:00:01.0 VGA compatible controller: Intergraph Corporation Sun Expert3D-Lite Graphics Accelerator

with PCI ID 1091:07a0 (vendor ID is Intergraph Corporation). I've noticed that XVR-500 framebuffer driver (drivers/video/sunxvr500.c) supports the framebuffer device 3d3d:07a0, which only has the same device ID but a different vendor (3D Labs). Given that 3D Labs bought up Intergraph Corporation at some point, it's probably the same chip, so I tried adding 1091:07a0 to the list of supported PCI IDs for sunxvr500.c and it worked without problems, the console now is much nicer than the default PROM monochrome one. Please consider applying the included patch, which adds this card to the list of supported devices for XVR-500 driver.

Quoted 2 lines

Ping.

Dave, can you please either apply it or tell me whether there is something wrong with this patch?

Thanks.

Signature · 2 lines
Jurij Smakov                                           [email protected]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC