Blame SOURCES/0034-grub-core-loader-efi-appleloader.c-devpath_8-New-var.patch

f96e0b
From 8f779ade959a72267dcc045ad71012bf37cb96e0 Mon Sep 17 00:00:00 2001
f96e0b
From: Benoit Gschwind <gschwind>
f96e0b
Date: Mon, 10 Sep 2012 09:34:29 +0200
f96e0b
Subject: [PATCH 034/482] 	* grub-core/loader/efi/appleloader.c
f96e0b
 (devpath_8): New var. 	(devs): Add devpath_8.
f96e0b
f96e0b
---
f96e0b
 ChangeLog                          | 5 +++++
f96e0b
 grub-core/loader/efi/appleloader.c | 5 +++++
f96e0b
 2 files changed, 10 insertions(+)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index e8f0577..6886bcc 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,3 +1,8 @@
f96e0b
+2012-09-10  Benoit Gschwind <gschwind>
f96e0b
+
f96e0b
+	* grub-core/loader/efi/appleloader.c (devpath_8): New var.
f96e0b
+	(devs): Add devpath_8.
f96e0b
+
f96e0b
 2012-09-08  Peter Jones <pjones@redhat.com>
f96e0b
 
f96e0b
 	* grub-core/Makefile.core.def (efifwsetup): New module.
f96e0b
diff --git a/grub-core/loader/efi/appleloader.c b/grub-core/loader/efi/appleloader.c
f96e0b
index e2de89f..56d5538 100644
f96e0b
--- a/grub-core/loader/efi/appleloader.c
f96e0b
+++ b/grub-core/loader/efi/appleloader.c
f96e0b
@@ -127,6 +127,10 @@ static struct piwg_full_device_path devpath_6 = MAKE_PIWG_PATH (0xffcc4000,
f96e0b
 static struct piwg_full_device_path devpath_7 = MAKE_PIWG_PATH (0xff981000,
f96e0b
 								0xffc8ffff);
f96e0b
 
f96e0b
+/* mid-2012 MBP retina (MacBookPro10,1) */ 
f96e0b
+static struct piwg_full_device_path devpath_8 = MAKE_PIWG_PATH (0xff990000,
f96e0b
+								0xffb2ffff);
f96e0b
+
f96e0b
 struct devdata
f96e0b
 {
f96e0b
   const char *model;
f96e0b
@@ -142,6 +146,7 @@ struct devdata devs[] =
f96e0b
   {"MB NV", (grub_efi_device_path_t *) &devpath_5},
f96e0b
   {"MB NV2", (grub_efi_device_path_t *) &devpath_6},
f96e0b
   {"MBP2011", (grub_efi_device_path_t *) &devpath_7},
f96e0b
+  {"MBP2012", (grub_efi_device_path_t *) &devpath_8},
f96e0b
   {NULL, NULL},
f96e0b
 };
f96e0b
 
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b