浏览代码

x86 reboot quirks: add Dell Precision WorkStation T5400

as reported in:

  "reboot=bios is mandatory on Dell T5400 server."
  http://bugzilla.kernel.org/show_bug.cgi?id=11108

add a DMI reboot quirk.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: <stable@kernel.org>
Ingo Molnar 17 年之前
父节点
当前提交
fab3b58d3b
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      arch/x86/kernel/reboot.c

+ 8 - 0
arch/x86/kernel/reboot.c

@@ -177,6 +177,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 2400"),
 			DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 2400"),
 		},
 		},
 	},
 	},
+	{	/* Handle problems with rebooting on Dell T5400's */
+		.callback = set_bios_reboot,
+		.ident = "Dell Precision T5400",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Precision WorkStation T5400"),
+		},
+	},
 	{	/* Handle problems with rebooting on HP laptops */
 	{	/* Handle problems with rebooting on HP laptops */
 		.callback = set_bios_reboot,
 		.callback = set_bios_reboot,
 		.ident = "HP Compaq Laptop",
 		.ident = "HP Compaq Laptop",