|
@@ -796,8 +796,7 @@ static int ide_init_queue(ide_drive_t *drive)
|
|
* This will be fixed once we teach pci_map_sg() about our boundary
|
|
* This will be fixed once we teach pci_map_sg() about our boundary
|
|
* requirements, hopefully soon. *FIXME*
|
|
* requirements, hopefully soon. *FIXME*
|
|
*/
|
|
*/
|
|
- if (!PCI_DMA_BUS_IS_PHYS)
|
|
|
|
- max_sg_entries >>= 1;
|
|
|
|
|
|
+ max_sg_entries >>= 1;
|
|
#endif /* CONFIG_PCI */
|
|
#endif /* CONFIG_PCI */
|
|
|
|
|
|
blk_queue_max_segments(q, max_sg_entries);
|
|
blk_queue_max_segments(q, max_sg_entries);
|