Skip to contentSkip to conversation

drm: Add VIA chipset IDs for drm detection

PATCH In review Al Boldi 2 participants 4 messages Jun 20, 2006 – Jun 22, 2006

lore
Share & tools
lore

Al Boldi

author
#0 lore raw

PATCH 1/1 drm: Add VIA chipset IDs for drm detection

Allow drm detection of new VIA chipsets.

--

char/drm/drm_pciids.h renamed from char/drm/drm_pciids.h.old +3 -0
@@ -227,6 +227,9 @@
 	{0x1106, 0x3122, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x7205, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x3108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3157, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3344, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x7204, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0, 0, 0}
 
 #define i810_PCI_IDS \
#1 lore raw

Al Boldi napsal(a):

Quoted 7 lines

Allow drm detection of new VIA chipsets.

--

char/drm/drm_pciids.h line 233

Quoted 7 lines
char/drm/drm_pciids.h renamed from char/drm/drm_pciids.h.old +3 -0
@@ -227,6 +227,9 @@
 	{0x1106, 0x3122, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x7205, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x3108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3157, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3344, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x7204, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0, 0, 0}

Don't you want to post a patch converting all that lines to use PCI_DEVICE() (and without backslashes)?

regards,

Signature · 3 lines
Jiri Slaby         www.fi.muni.cz/~xslaby
\_.-^-._   [email protected]   _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E
#2 lore raw

Jiri Slaby napsal(a):

Quoted 18 lines

Al Boldi napsal(a):

Quoted 7 lines

Allow drm detection of new VIA chipsets.

--

char/drm/drm_pciids.h line 233

Quoted 7 lines
char/drm/drm_pciids.h renamed from char/drm/drm_pciids.h.old +3 -0
@@ -227,6 +227,9 @@
 	{0x1106, 0x3122, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x7205, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x3108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3157, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3344, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x7204, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0, 0, 0}

Don't you want to post a patch converting all that lines to use PCI_DEVICE() (and without backslashes)?

Hrm, let backslashes be.

regards,

Signature · 3 lines
Jiri Slaby         www.fi.muni.cz/~xslaby
\_.-^-._   [email protected]   _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E
author
#3 lore raw
In reply to Jiri Slaby
Quoted 18 lines · Jiri Slaby

Al Boldi napsal(a):

Quoted 7 lines

Allow drm detection of new VIA chipsets.

--
--- drivers/char/drm/drm_pciids.h.old 2006-06-19 01:34:48.000000000
+0300 +++ drivers/char/drm/drm_pciids.h 2006-06-19 13:36:49.000000000
+0300 @@ -227,6 +227,9 @@

char/drm/drm_pciids.h line 233

Quoted 7 lines
char/drm/drm_pciids.h renamed from char/drm/drm_pciids.h.old +3 -0
 	{0x1106, 0x3122, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x7205, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x3108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3157, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3344, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x7204, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0, 0, 0}

Don't you want to post a patch converting all that lines to use PCI_DEVICE() (and without backslashes)?

Actually, drm_pciids.h is autogenerated from drm_pciids.txt. I sent this patch, because it looks like this file hasn't been sync'd lately.

Thanks!

--
Al