ps3disk.c (6548698f929814375fa5d62ae1db96959b0418c1) ps3disk.c (086fa5ff0854c676ec333760f4c0154b3b242616)
1/*
2 * PS3 Disk Storage Driver
3 *
4 * Copyright (C) 2007 Sony Computer Entertainment Inc.
5 * Copyright 2007 Sony Corp.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published

--- 460 unchanged lines hidden (view full) ---

469 goto fail_teardown;
470 }
471
472 priv->queue = queue;
473 queue->queuedata = dev;
474
475 blk_queue_bounce_limit(queue, BLK_BOUNCE_HIGH);
476
1/*
2 * PS3 Disk Storage Driver
3 *
4 * Copyright (C) 2007 Sony Computer Entertainment Inc.
5 * Copyright 2007 Sony Corp.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published

--- 460 unchanged lines hidden (view full) ---

469 goto fail_teardown;
470 }
471
472 priv->queue = queue;
473 queue->queuedata = dev;
474
475 blk_queue_bounce_limit(queue, BLK_BOUNCE_HIGH);
476
477 blk_queue_max_sectors(queue, dev->bounce_size >> 9);
477 blk_queue_max_hw_sectors(queue, dev->bounce_size >> 9);
478 blk_queue_segment_boundary(queue, -1UL);
479 blk_queue_dma_alignment(queue, dev->blk_size-1);
480 blk_queue_logical_block_size(queue, dev->blk_size);
481
482 blk_queue_ordered(queue, QUEUE_ORDERED_DRAIN_FLUSH,
483 ps3disk_prepare_flush);
484
485 blk_queue_max_phys_segments(queue, -1);

--- 117 unchanged lines hidden ---
478 blk_queue_segment_boundary(queue, -1UL);
479 blk_queue_dma_alignment(queue, dev->blk_size-1);
480 blk_queue_logical_block_size(queue, dev->blk_size);
481
482 blk_queue_ordered(queue, QUEUE_ORDERED_DRAIN_FLUSH,
483 ps3disk_prepare_flush);
484
485 blk_queue_max_phys_segments(queue, -1);

--- 117 unchanged lines hidden ---