Просмотр исходного кода

ata_piix: Add HP Compaq nc6000 to the broken poweroff list

HP Compaq nc6000 suffers from the double disk spindown issue.
Add it to the broken poweroff DMI list.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Ville Syrjala 16 лет назад
Родитель
Сommit
65e3164311
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      drivers/ata/ata_piix.c

+ 9 - 0
drivers/ata/ata_piix.c

@@ -1455,6 +1455,15 @@ static bool piix_broken_system_poweroff(struct pci_dev *pdev)
 			/* PCI slot number of the controller */
 			/* PCI slot number of the controller */
 			.driver_data = (void *)0x1FUL,
 			.driver_data = (void *)0x1FUL,
 		},
 		},
+		{
+			.ident = "HP Compaq nc6000",
+			.matches = {
+				DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+				DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq nc6000"),
+			},
+			/* PCI slot number of the controller */
+			.driver_data = (void *)0x1FUL,
+		},
 
 
 		{ }	/* terminate list */
 		{ }	/* terminate list */
 	};
 	};