ipr.c (b7e56edba4b02f2079042c326a8cd72a44635817) | ipr.c (086fa5ff0854c676ec333760f4c0154b3b242616) |
---|---|
1/* 2 * ipr.c -- driver for IBM Power Linux RAID adapters 3 * 4 * Written By: Brian King <brking@us.ibm.com>, IBM Corporation 5 * 6 * Copyright (C) 2003, 2004 IBM Corporation 7 * 8 * This program is free software; you can redistribute it and/or modify --- 3660 unchanged lines hidden (view full) --- 3669 sdev->type = TYPE_RAID; 3670 if (ipr_is_af_dasd_device(res) || ipr_is_ioa_resource(res)) { 3671 sdev->scsi_level = 4; 3672 sdev->no_uld_attach = 1; 3673 } 3674 if (ipr_is_vset_device(res)) { 3675 blk_queue_rq_timeout(sdev->request_queue, 3676 IPR_VSET_RW_TIMEOUT); | 1/* 2 * ipr.c -- driver for IBM Power Linux RAID adapters 3 * 4 * Written By: Brian King <brking@us.ibm.com>, IBM Corporation 5 * 6 * Copyright (C) 2003, 2004 IBM Corporation 7 * 8 * This program is free software; you can redistribute it and/or modify --- 3660 unchanged lines hidden (view full) --- 3669 sdev->type = TYPE_RAID; 3670 if (ipr_is_af_dasd_device(res) || ipr_is_ioa_resource(res)) { 3671 sdev->scsi_level = 4; 3672 sdev->no_uld_attach = 1; 3673 } 3674 if (ipr_is_vset_device(res)) { 3675 blk_queue_rq_timeout(sdev->request_queue, 3676 IPR_VSET_RW_TIMEOUT); |
3677 blk_queue_max_sectors(sdev->request_queue, IPR_VSET_MAX_SECTORS); | 3677 blk_queue_max_hw_sectors(sdev->request_queue, IPR_VSET_MAX_SECTORS); |
3678 } 3679 if (ipr_is_vset_device(res) || ipr_is_scsi_disk(res)) 3680 sdev->allow_restart = 1; 3681 if (ipr_is_gata(res) && res->sata_port) 3682 ap = res->sata_port->ap; 3683 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); 3684 3685 if (ap) { --- 4342 unchanged lines hidden --- | 3678 } 3679 if (ipr_is_vset_device(res) || ipr_is_scsi_disk(res)) 3680 sdev->allow_restart = 1; 3681 if (ipr_is_gata(res) && res->sata_port) 3682 ap = res->sata_port->ap; 3683 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); 3684 3685 if (ap) { --- 4342 unchanged lines hidden --- |