}
 
 /**
- * ipr_slave_configure - Configure a SCSI device
+ * ipr_device_configure - Configure a SCSI device
  * @sdev:      scsi device struct
+ * @lim:       queue limits
  *
  * This function configures the specified scsi device.
  *
  * Return value:
  *     0 on success
  **/
-static int ipr_slave_configure(struct scsi_device *sdev)
+static int ipr_device_configure(struct scsi_device *sdev,
+               struct queue_limits *lim)
 {
        struct ipr_ioa_cfg *ioa_cfg = (struct ipr_ioa_cfg *) sdev->host->hostdata;
        struct ipr_resource_entry *res;
                        sdev->no_report_opcodes = 1;
                        blk_queue_rq_timeout(sdev->request_queue,
                                             IPR_VSET_RW_TIMEOUT);
-                       blk_queue_max_hw_sectors(sdev->request_queue, IPR_VSET_MAX_SECTORS);
+                       lim->max_hw_sectors = IPR_VSET_MAX_SECTORS;
                }
                spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags);
 
        .eh_device_reset_handler = ipr_eh_dev_reset,
        .eh_host_reset_handler = ipr_eh_host_reset,
        .slave_alloc = ipr_slave_alloc,
-       .slave_configure = ipr_slave_configure,
+       .device_configure = ipr_device_configure,
        .slave_destroy = ipr_slave_destroy,
        .scan_finished = ipr_scan_finished,
        .target_destroy = ipr_target_destroy,