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)
commitb0aedb04eae79372fbe101d98513773d6b89935d
treeb99caae4caa2b5973ef63c0b66f90c9695222b08
parenta1f9a89c90b4ac143c5b6054c2a157572b272cd2
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