* [PATCH] arch/mips/loongson/common/mem.c: fix find_vga_mem_init()
@ 2010-04-29 9:58 Arnaud Patard
2010-04-29 16:28 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Patard @ 2010-04-29 9:58 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
This patchis patch allows to use all display device for instance
DISPLAY_OTHER like SM501.
From: Richard LIU <richard.liu@st.com>
Signed-off-by: Arnaud Patard <apatard@mandriva.com>
---
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: GB49_tlb_uncached_for_all_display_pci_devices.patch --]
[-- Type: text/x-patch, Size: 639 bytes --]
---
arch/mips/loongson/common/mem.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/arch/mips/loongson/common/mem.c
===================================================================
--- linux-2.6.orig/arch/mips/loongson/common/mem.c
+++ linux-2.6/arch/mips/loongson/common/mem.c
@@ -96,7 +96,7 @@ static int __init find_vga_mem_init(void
return 0;
for_each_pci_dev(dev) {
- if ((dev->class >> 8) == PCI_CLASS_DISPLAY_VGA) {
+ if ((dev->class >> 16) == PCI_BASE_CLASS_DISPLAY) {
for (idx = 0; idx < PCI_NUM_RESOURCES; idx++) {
r = &dev->resource[idx];
if (!r->start && r->end)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] arch/mips/loongson/common/mem.c: fix find_vga_mem_init()
2010-04-29 9:58 [PATCH] arch/mips/loongson/common/mem.c: fix find_vga_mem_init() Arnaud Patard
@ 2010-04-29 16:28 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2010-04-29 16:28 UTC (permalink / raw)
To: Arnaud Patard; +Cc: linux-mips
On Thu, Apr 29, 2010 at 11:58:47AM +0200, Arnaud Patard wrote:
> Date: Thu, 29 Apr 2010 11:58:47 +0200
> From: Arnaud Patard <apatard@mandriva.com>
> To: linux-mips@linux-mips.org
> Subject: [PATCH] arch/mips/loongson/common/mem.c: fix find_vga_mem_init()
> Content-Type: multipart/mixed; boundary="=-=-="
>
>
> This patchis patch allows to use all display device for instance
> DISPLAY_OTHER like SM501.
>
> From: Richard LIU <richard.liu@st.com>
> Signed-off-by: Arnaud Patard <apatard@mandriva.com>
Applied - but:
o A From line to override the author derived from the email headers MUST
be the first line of an email or git-am will ignore it. No, editing
the commit messages doesn't help. I have to edit the raw mailbody and
blody MIME attachments aren't makeing that any easier.
o Signed-off-by: line for the author missing.
Thanks,
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-29 16:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-29 9:58 [PATCH] arch/mips/loongson/common/mem.c: fix find_vga_mem_init() Arnaud Patard
2010-04-29 16:28 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.