* Execute a CISS REPORT PHYS LUNS and process the results into
* the current hba_map.
*/
-int aac_get_safw_ciss_luns(struct aac_dev *dev, int rescan)
+static int aac_get_safw_ciss_luns(struct aac_dev *dev, int rescan)
{
int rcode = -ENOMEM;
int datasize;
return rcode;
}
+static int aac_setup_safw_targets(struct aac_dev *dev, int rescan)
+{
+ return aac_get_safw_ciss_luns(dev, rescan);
+}
+
+int aac_setup_safw_adapter(struct aac_dev *dev, int rescan)
+{
+ return aac_setup_safw_targets(dev, rescan);
+}
+
int aac_get_adapter_info(struct aac_dev* dev)
{
struct fib* fibptr;
}
if (!dev->sync_mode && dev->sa_firmware &&
- dev->supplement_adapter_info.virt_device_bus != 0xffff) {
- /* Thor SA Firmware -> CISS_REPORT_PHYSICAL_LUNS */
- rcode = aac_get_safw_ciss_luns(dev, AAC_INIT);
- }
+ dev->supplement_adapter_info.virt_device_bus != 0xffff)
+ rcode = aac_setup_safw_adapter(dev, AAC_INIT);
if (!dev->in_reset) {
char buffer[16];
int aac_acquire_irq(struct aac_dev *dev);
void aac_free_irq(struct aac_dev *dev);
-int aac_get_safw_ciss_luns(struct aac_dev *dev, int rescan);
+int aac_setup_safw_adapter(struct aac_dev *dev, int rescan);
const char *aac_driverinfo(struct Scsi_Host *);
void aac_fib_vector_assign(struct aac_dev *dev);
struct fib *aac_fib_alloc(struct aac_dev *dev);
for (target = 0; target < AAC_MAX_TARGETS; target++)
dev->hba_map[bus][target].new_devtype = 0;
- rcode = aac_get_safw_ciss_luns(dev, AAC_RESCAN);
+ rcode = aac_setup_safw_adapter(dev, AAC_RESCAN);
aac_resolve_luns(dev);