]> git.openfabrics.org - ~emulex/infiniband.git/commit
ide: HPA detect from resume
authorLee Trager <lt73@cs.drexel.edu>
Fri, 8 Jun 2007 13:14:30 +0000 (15:14 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 8 Jun 2007 13:14:30 +0000 (15:14 +0200)
commit0d2157f78d17fcee17791f54959e67cc0af0da74
tree22782319df55322375f5fe3b8c23d1591e3fbcf0
parent0380dad45e4f5a606025cc4df2a2cd26af08796b
ide: HPA detect from resume

Currently when system which have HPA require HPA to be detected and
disabled upon resume from RAM or disk. The current IDE drivers do not do
this nor does libata (obviously it since it doesn't support HPA yet).

I have implemented this into the current IDE drivers and it has been
tested by many others since 7/15/2006 in bug number 6840:

http://bugzilla.kernel.org/show_bug.cgi?id=6840

and it has been confirmed to work fine with no problems.

bart: added drv != NULL check to generic_ide_suspend()

From: Lee Trager <lt73@cs.drexel.edu>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-disk.c
drivers/ide/ide.c
include/linux/ide.h