diff options
author | Tejun Heo <htejun@gmail.com> | 2006-02-10 09:58:48 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-10 10:30:11 -0500 |
commit | 531db7aa0db09f188b71108c35f334af35968291 (patch) | |
tree | c598ae7debf223da93d39b995ba0ec733d9b4193 /drivers/scsi/sata_sil.c | |
parent | ac7c6d596e2177857ffc35b8d453ee313a874d8d (diff) |
[PATCH] sata_sil: convert to new reset mechanism
Convert sata_sil to use new reset mechanism. sata_sil is fairly
generic and can directly use std routine.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_sil.c')
-rw-r--r-- | drivers/scsi/sata_sil.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c index f40f25edbb11..bd2887741d78 100644 --- a/drivers/scsi/sata_sil.c +++ b/drivers/scsi/sata_sil.c | |||
@@ -158,7 +158,7 @@ static const struct ata_port_operations sil_ops = { | |||
158 | .check_status = ata_check_status, | 158 | .check_status = ata_check_status, |
159 | .exec_command = ata_exec_command, | 159 | .exec_command = ata_exec_command, |
160 | .dev_select = ata_std_dev_select, | 160 | .dev_select = ata_std_dev_select, |
161 | .phy_reset = sata_phy_reset, | 161 | .probe_reset = ata_std_probe_reset, |
162 | .post_set_mode = sil_post_set_mode, | 162 | .post_set_mode = sil_post_set_mode, |
163 | .bmdma_setup = ata_bmdma_setup, | 163 | .bmdma_setup = ata_bmdma_setup, |
164 | .bmdma_start = ata_bmdma_start, | 164 | .bmdma_start = ata_bmdma_start, |
@@ -181,7 +181,7 @@ static const struct ata_port_info sil_port_info[] = { | |||
181 | { | 181 | { |
182 | .sht = &sil_sht, | 182 | .sht = &sil_sht, |
183 | .host_flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | 183 | .host_flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | |
184 | ATA_FLAG_SRST | ATA_FLAG_MMIO, | 184 | ATA_FLAG_MMIO, |
185 | .pio_mask = 0x1f, /* pio0-4 */ | 185 | .pio_mask = 0x1f, /* pio0-4 */ |
186 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 186 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
187 | .udma_mask = 0x3f, /* udma0-5 */ | 187 | .udma_mask = 0x3f, /* udma0-5 */ |
@@ -190,8 +190,7 @@ static const struct ata_port_info sil_port_info[] = { | |||
190 | { | 190 | { |
191 | .sht = &sil_sht, | 191 | .sht = &sil_sht, |
192 | .host_flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | 192 | .host_flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | |
193 | ATA_FLAG_SRST | ATA_FLAG_MMIO | | 193 | ATA_FLAG_MMIO | SIL_FLAG_MOD15WRITE, |
194 | SIL_FLAG_MOD15WRITE, | ||
195 | .pio_mask = 0x1f, /* pio0-4 */ | 194 | .pio_mask = 0x1f, /* pio0-4 */ |
196 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 195 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
197 | .udma_mask = 0x3f, /* udma0-5 */ | 196 | .udma_mask = 0x3f, /* udma0-5 */ |
@@ -200,7 +199,7 @@ static const struct ata_port_info sil_port_info[] = { | |||
200 | { | 199 | { |
201 | .sht = &sil_sht, | 200 | .sht = &sil_sht, |
202 | .host_flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | 201 | .host_flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | |
203 | ATA_FLAG_SRST | ATA_FLAG_MMIO, | 202 | ATA_FLAG_MMIO, |
204 | .pio_mask = 0x1f, /* pio0-4 */ | 203 | .pio_mask = 0x1f, /* pio0-4 */ |
205 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 204 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
206 | .udma_mask = 0x3f, /* udma0-5 */ | 205 | .udma_mask = 0x3f, /* udma0-5 */ |