You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge mulgrave-w:git/scsi-misc-2.6
Conflicts: drivers/scsi/iscsi_tcp.c drivers/scsi/iscsi_tcp.h Pretty horrible merge between crypto hash consolidation and crypto_digest_...->crypto_hash_... conversion Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
@@ -7115,7 +7115,7 @@ static struct pci_device_id DAC960_id_table[] = {
|
||||
{
|
||||
.vendor = PCI_VENDOR_ID_MYLEX,
|
||||
.device = PCI_DEVICE_ID_MYLEX_DAC960_GEM,
|
||||
.subvendor = PCI_ANY_ID,
|
||||
.subvendor = PCI_VENDOR_ID_MYLEX,
|
||||
.subdevice = PCI_ANY_ID,
|
||||
.driver_data = (unsigned long) &DAC960_GEM_privdata,
|
||||
},
|
||||
|
||||
@@ -251,10 +251,6 @@ scsi_cmd_stack_free(int ctlr)
|
||||
stk->pool = NULL;
|
||||
}
|
||||
|
||||
/* scsi_device_types comes from scsi.h */
|
||||
#define DEVICETYPE(n) (n<0 || n>MAX_SCSI_DEVICE_CODE) ? \
|
||||
"Unknown" : scsi_device_types[n]
|
||||
|
||||
#if 0
|
||||
static int xmargin=8;
|
||||
static int amargin=60;
|
||||
@@ -389,7 +385,7 @@ cciss_scsi_add_entry(int ctlr, int hostno,
|
||||
time anyway (the scsi layer's inquiries will show that info) */
|
||||
if (hostno != -1)
|
||||
printk("cciss%d: %s device c%db%dt%dl%d added.\n",
|
||||
ctlr, DEVICETYPE(sd->devtype), hostno,
|
||||
ctlr, scsi_device_type(sd->devtype), hostno,
|
||||
sd->bus, sd->target, sd->lun);
|
||||
return 0;
|
||||
}
|
||||
@@ -407,7 +403,7 @@ cciss_scsi_remove_entry(int ctlr, int hostno, int entry)
|
||||
ccissscsi[ctlr].dev[i] = ccissscsi[ctlr].dev[i+1];
|
||||
ccissscsi[ctlr].ndevices--;
|
||||
printk("cciss%d: %s device c%db%dt%dl%d removed.\n",
|
||||
ctlr, DEVICETYPE(sd.devtype), hostno,
|
||||
ctlr, scsi_device_type(sd.devtype), hostno,
|
||||
sd.bus, sd.target, sd.lun);
|
||||
}
|
||||
|
||||
@@ -458,7 +454,7 @@ adjust_cciss_scsi_table(int ctlr, int hostno,
|
||||
if (found == 0) { /* device no longer present. */
|
||||
changes++;
|
||||
/* printk("cciss%d: %s device c%db%dt%dl%d removed.\n",
|
||||
ctlr, DEVICETYPE(csd->devtype), hostno,
|
||||
ctlr, scsi_device_type(csd->devtype), hostno,
|
||||
csd->bus, csd->target, csd->lun); */
|
||||
cciss_scsi_remove_entry(ctlr, hostno, i);
|
||||
/* note, i not incremented */
|
||||
@@ -468,7 +464,7 @@ adjust_cciss_scsi_table(int ctlr, int hostno,
|
||||
printk("cciss%d: device c%db%dt%dl%d type changed "
|
||||
"(device type now %s).\n",
|
||||
ctlr, hostno, csd->bus, csd->target, csd->lun,
|
||||
DEVICETYPE(csd->devtype));
|
||||
scsi_device_type(csd->devtype));
|
||||
csd->devtype = sd[j].devtype;
|
||||
i++; /* so just move along. */
|
||||
} else /* device is same as it ever was, */
|
||||
@@ -1098,7 +1094,7 @@ cciss_update_non_disk_devices(int cntl_num, int hostno)
|
||||
if (ncurrent >= CCISS_MAX_SCSI_DEVS_PER_HBA) {
|
||||
printk(KERN_INFO "cciss%d: %s ignored, "
|
||||
"too many devices.\n", cntl_num,
|
||||
DEVICETYPE(devtype));
|
||||
scsi_device_type(devtype));
|
||||
break;
|
||||
}
|
||||
memcpy(¤tsd[ncurrent].scsi3addr[0],
|
||||
|
||||
Reference in New Issue
Block a user