diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:30 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:30 -0400 |
commit | 272a370900e5d2ae84662338397bb7b2375ff5cf (patch) | |
tree | cb3fa16d92e7a48108956948425f7ed4f69ae5e4 /include | |
parent | 8acf28c090f0e5e049f56b27bdd7cf1fb40c6b98 (diff) |
ide: add IDE_HFLAG_RQSIZE_256 host flag
Add IDE_HFLAG_RQSIZE_256 host flag to tell ide_pci_setup_ports() to set
hwif->rqsize to 256 sectors. Convert pdc202xx_old host driver to use it.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index ff9d293f9ae9..c5b52dd16a89 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1265,6 +1265,8 @@ enum { | |||
1265 | IDE_HFLAG_LEGACY_IRQS = (1 << 21), | 1265 | IDE_HFLAG_LEGACY_IRQS = (1 << 21), |
1266 | /* force use of legacy IRQs */ | 1266 | /* force use of legacy IRQs */ |
1267 | IDE_HFLAG_FORCE_LEGACY_IRQS = (1 << 22), | 1267 | IDE_HFLAG_FORCE_LEGACY_IRQS = (1 << 22), |
1268 | /* limit LBA48 requests to 256 sectors */ | ||
1269 | IDE_HFLAG_RQSIZE_256 = (1 << 23), | ||
1268 | }; | 1270 | }; |
1269 | 1271 | ||
1270 | #ifdef CONFIG_BLK_DEV_OFFBOARD | 1272 | #ifdef CONFIG_BLK_DEV_OFFBOARD |