diff options
author | Tejun Heo <htejun@gmail.com> | 2006-08-10 16:59:14 +0900 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-08-10 16:59:14 +0900 |
commit | c4b01f1de254820175fe2d02b4cf7c0fab335846 (patch) | |
tree | 316335e3faa6ee6d1dcb3c102d95d7a9d4cf575b /drivers/scsi/libata-core.c | |
parent | dd5b06c490de72440ec39f814de99a714a45a1a9 (diff) |
[PATCH] libata: use dummy port for stolen legacy ports
Use dummy port for stolen legacy ports. This makes ap->port_no always
equal ap->hard_port_no.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r-- | drivers/scsi/libata-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index f2e7e2f13db..2ef86b4e7f6 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c @@ -5224,8 +5224,6 @@ void ata_port_init(struct ata_port *ap, struct ata_host_set *host_set, ap->dev = ent->dev; ap->port_no = port_no; ap->hard_port_no = port_no; - if (ent->legacy_mode) - ap->hard_port_no += ent->hard_port_no; ap->pio_mask = ent->pio_mask; ap->mwdma_mask = ent->mwdma_mask; ap->udma_mask = ent->udma_mask; |