All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: Fix dmi detection of MacBookPro and iMac
@ 2006-08-19 12:28 Thomas Meyer
  2006-08-19 15:42 ` Edgar Hucek
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Meyer @ 2006-08-19 12:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: greg, akpm

This commit: 
http://kernel.org/git/?p=linux/kernel/git/gregkh/linux-2.6.git;a=commit;h=b64ef8afa58f397e1eaba2bd9ecaa6812064d464 
contained a wrong DMI_MATCH.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---

The error can also be found in this broken out patch: 
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc4/2.6.18-rc4-mm1/broken-out/add-force-of-use-mmconfig.patch
Please change DMI_BIOS_VERSION into DMI_PRODUCT_NAME

With kind regards
Thomas

diff --git a/drivers/video/imacfb.c b/drivers/video/imacfb.c
index b485bec..a6a0ffd 100644
--- a/drivers/video/imacfb.c
+++ b/drivers/video/imacfb.c
@@ -71,10 +71,10 @@ static int set_system(struct dmi_system_
  static struct dmi_system_id __initdata dmi_system_table[] = {
  	{ set_system, "iMac4,1", {
  	  DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
-	  DMI_MATCH(DMI_BIOS_VERSION,"iMac4,1") }, (void*)M_I17},
+	  DMI_MATCH(DMI_PRODUCT_NAME,"iMac4,1") }, (void*)M_I17},
  	{ set_system, "MacBookPro1,1", {
  	  DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
-	  DMI_MATCH(DMI_BIOS_VERSION,"MacBookPro1,1") }, (void*)M_I17},
+	  DMI_MATCH(DMI_PRODUCT_NAME,"MacBookPro1,1") }, (void*)M_I17},
  	{ set_system, "MacBook1,1", {
  	  DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
  	  DMI_MATCH(DMI_PRODUCT_NAME,"MacBook1,1")}, (void *)M_MACBOOK},


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86: Fix dmi detection of MacBookPro and iMac
  2006-08-19 12:28 [PATCH] x86: Fix dmi detection of MacBookPro and iMac Thomas Meyer
@ 2006-08-19 15:42 ` Edgar Hucek
  0 siblings, 0 replies; 2+ messages in thread
From: Edgar Hucek @ 2006-08-19 15:42 UTC (permalink / raw)
  To: Thomas Meyer; +Cc: linux-kernel, greg, akpm

Ups. You are right.

Signed-off-by: Edgar Hucek <hostmaster@ed-soft.at>

Thomas Meyer schrieb:
> This commit:
> http://kernel.org/git/?p=linux/kernel/git/gregkh/linux-2.6.git;a=commit;h=b64ef8afa58f397e1eaba2bd9ecaa6812064d464
> contained a wrong DMI_MATCH.
> 
> Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
> ---
> 
> The error can also be found in this broken out patch:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc4/2.6.18-rc4-mm1/broken-out/add-force-of-use-mmconfig.patch
> 
> Please change DMI_BIOS_VERSION into DMI_PRODUCT_NAME
> 
> With kind regards
> Thomas
> 
> diff --git a/drivers/video/imacfb.c b/drivers/video/imacfb.c
> index b485bec..a6a0ffd 100644
> --- a/drivers/video/imacfb.c
> +++ b/drivers/video/imacfb.c
> @@ -71,10 +71,10 @@ static int set_system(struct dmi_system_
>  static struct dmi_system_id __initdata dmi_system_table[] = {
>      { set_system, "iMac4,1", {
>        DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
> -      DMI_MATCH(DMI_BIOS_VERSION,"iMac4,1") }, (void*)M_I17},
> +      DMI_MATCH(DMI_PRODUCT_NAME,"iMac4,1") }, (void*)M_I17},
>      { set_system, "MacBookPro1,1", {
>        DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
> -      DMI_MATCH(DMI_BIOS_VERSION,"MacBookPro1,1") }, (void*)M_I17},
> +      DMI_MATCH(DMI_PRODUCT_NAME,"MacBookPro1,1") }, (void*)M_I17},
>      { set_system, "MacBook1,1", {
>        DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."),
>        DMI_MATCH(DMI_PRODUCT_NAME,"MacBook1,1")}, (void *)M_MACBOOK},
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-19 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-19 12:28 [PATCH] x86: Fix dmi detection of MacBookPro and iMac Thomas Meyer
2006-08-19 15:42 ` Edgar Hucek

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.