BOOT_TRIPLE = 't',
BOOT_KBD = 'k',
BOOT_ACPI = 'a',
- BOOT_BIOS = 'b',
BOOT_CF9 = 'p',
};
* reboot=b[ios] | t[riple] | k[bd] | n[o] [, [w]arm | [c]old]
* warm Don't set the cold reboot flag
* cold Set the cold reboot flag
- * bios Reboot by jumping through the BIOS (only for X86_32)
* triple Force a triple fault (init)
* kbd Use the keyboard controller. cold reset (default)
* acpi Use the RESET_REG in the FADT
case 'c': /* "cold" reboot (with memory testing etc) */
reboot_mode = 0x0;
break;
- case 'b':
case 'a':
case 'k':
case 't':
{
static const char *__initdata msg[] =
{
- [BOOT_BIOS] = "BIOS",
[BOOT_KBD] = "keyboard controller",
[BOOT_CF9] = "PCI",
};
static struct dmi_system_id __initdata reboot_dmi_table[] = {
{ /* Handle problems with rebooting on Dell E520's */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell E520",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell 1300's */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell PowerEdge 1300",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
},
{ /* Handle problems with rebooting on Dell 300's */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell PowerEdge 300",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
},
{ /* Handle problems with rebooting on Dell Optiplex 745's SFF */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell OptiPlex 745",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell Optiplex 745's DFF */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell OptiPlex 745",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell Optiplex 745 with 0KW626 */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell OptiPlex 745",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell Optiplex 330 with 0KP561 */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell OptiPlex 330",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell Optiplex 360 with 0T656F */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell OptiPlex 360",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell OptiPlex 760 with 0G919G */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell OptiPlex 760",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell 2400's */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell PowerEdge 2400",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
},
{ /* Handle problems with rebooting on Dell T5400's */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell Precision T5400",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell T7400's */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell Precision T7400",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on HP laptops */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "HP Compaq Laptop",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
},
{ /* Handle problems with rebooting on Dell XPS710 */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell XPS710",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Dell DXP061 */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Dell DXP061",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
},
{ /* Handle problems with rebooting on Sony VGN-Z540N */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "Sony VGN-Z540N",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
},
{ /* Handle problems with rebooting on ASUS P4S800 */
.callback = override_reboot,
- .driver_data = (void *)(long)BOOT_BIOS,
+ .driver_data = (void *)(long)BOOT_KBD,
.ident = "ASUS P4S800",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
asm volatile ( "lidt %0 ; int3" : "=m" (no_idt) );
reboot_type = BOOT_KBD;
break;
- case BOOT_BIOS:
- /* unsupported on x86_64 */
- reboot_type = BOOT_KBD;
- break;
case BOOT_ACPI:
acpi_reboot();
reboot_type = BOOT_KBD;