Skip to contentSkip to conversation

sata_sil24: fix mwdma_mask setting

PATCH Applied Tejun Heo 2 participants 2 messages Mar 5, 2006

Subsystems (2)
lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

PATCH 1/1 sata_sil24: fix mwdma_mask setting

mwdma_mask was not copied from port_info to probe_ent. Fix it.

---

This bug is probably introduced by following ahci.c without thinking (by me).

 drivers/scsi/sata_sil24.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/scsi/sata_sil24.c +1 -0
index 5c5822e..8fb6242 100644
@@ -892,6 +892,7 @@ static int sil24_init_one(struct pci_dev
 	probe_ent->sht		= pinfo->sht;
 	probe_ent->host_flags	= pinfo->host_flags;
 	probe_ent->pio_mask	= pinfo->pio_mask;
+	probe_ent->mwdma_mask	= pinfo->mwdma_mask;
 	probe_ent->udma_mask	= pinfo->udma_mask;
 	probe_ent->port_ops	= pinfo->port_ops;
 	probe_ent->n_ports	= SIL24_FLAG2NPORTS(pinfo->host_flags);
Applied
#1 lore raw
Quoted 11 lines · Tejun Heo

mwdma_mask was not copied from port_info to probe_ent. Fix it.

---

This bug is probably introduced by following ahci.c without thinking (by me).

 drivers/scsi/sata_sil24.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

applied