summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2002-09-18 18:06:56 -0700
committerJens Axboe <axboe@suse.de>2002-09-18 18:06:56 -0700
commitad8cb89a8514b45b83177907011264345b9b3a8b (patch)
tree3e75a9cecb557d2fcdc2d0e9344cbd55d427bc08 /include/linux
parentf5f93c0a2b13b0e62df6c4a4e53a50213f5768a4 (diff)
[PATCH] fix ide highmem bounce enable
ide_toggle_bounce() was called prior to init'ing the block queue, which then reset the bounce_pfn back to BLK_BOUNCE_HIGH. Make ide_toggle_bounce() an ide-lib helper, and call it when setting up the queue as well.
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 6ce0a520cc70..45b772a5d922 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1753,6 +1753,7 @@ extern u8 ide_dma_speed(ide_drive_t *drive, u8 mode);
extern u8 ide_rate_filter(u8 mode, u8 speed);
extern int ide_dma_enable(ide_drive_t *drive);
extern char *ide_xfer_verbose(u8 xfer_rate);
+extern void ide_toggle_bounce(ide_drive_t *drive, int on);
extern spinlock_t ide_lock;