aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLee Trager <lt73@cs.drexel.edu>2007-06-08 09:14:30 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-06-08 09:14:30 -0400
commit0d2157f78d17fcee17791f54959e67cc0af0da74 (patch)
tree22782319df55322375f5fe3b8c23d1591e3fbcf0 /include/linux
parent0380dad45e4f5a606025cc4df2a2cd26af08796b (diff)
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 07aba87d369d..1e365acdd369 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1001,6 +1001,7 @@ struct ide_driver_s {
1001 struct device_driver gen_driver; 1001 struct device_driver gen_driver;
1002 int (*probe)(ide_drive_t *); 1002 int (*probe)(ide_drive_t *);
1003 void (*remove)(ide_drive_t *); 1003 void (*remove)(ide_drive_t *);
1004 void (*resume)(ide_drive_t *);
1004 void (*shutdown)(ide_drive_t *); 1005 void (*shutdown)(ide_drive_t *);
1005#ifdef CONFIG_IDE_PROC_FS 1006#ifdef CONFIG_IDE_PROC_FS
1006 ide_proc_entry_t *proc; 1007 ide_proc_entry_t *proc;