scsi: core: Add a device_configure method to the host template
[linux-2.6-block.git] / include / scsi / scsi_host.h
index b0948ab69e0fa6cf3c5f55e5993138a129a75410..92c8c3b08dfc9064b39e24012b76ee3d73eb19f4 100644 (file)
@@ -211,7 +211,11 @@ struct scsi_host_template {
         *     up after yourself before returning non-0
         *
         * Status: OPTIONAL
+        *
+        * Note: slave_configure is the legacy version, use device_configure for
+        * all new code.  A driver must never define both.
         */
+       int (* device_configure)(struct scsi_device *, struct queue_limits *lim);
        int (* slave_configure)(struct scsi_device *);
 
        /*