]> git.baikalelectronics.ru Git - kernel.git/commit
ide: Stop disks on reboot for laptop which cuts power
authorBruno Prémont <bonbons@linux-vserver.org>
Wed, 22 Apr 2009 18:33:41 +0000 (20:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 22 Apr 2009 18:33:41 +0000 (20:33 +0200)
commit5f50535cfbe1de75442a740410045598f7a9f4cd
treeb99caae4caa2b5973ef63c0b66f90c9695222b08
parent5e14ae44054da2d0c67cc464f0ac71c7ebbd6a86
ide: Stop disks on reboot for laptop which cuts power

My laptop (Acer Travelmate 660) always cuts the power when rebooting
which causes the disk to emergency-park it's head.

Add a dmi check to stop disk as for shutdown on this laptop.

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-gd.c