summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_sis.c
diff options
context:
space:
mode:
authorArnaud Patard <apatard@mandriva.com>2005-09-13 00:36:45 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-09-14 08:21:34 -0400
commit39eb936c7ec8ef1dccb88d3bcfc1c5fa2410c472 (patch)
tree290b03346bb3aaf0c3ef43dc19458bc86b2809ea /drivers/scsi/sata_sis.c
parentd8ac10639b6a1ed900efbee38c18baaca31e64dc (diff)
downloadtalos-obmc-linux-39eb936c7ec8ef1dccb88d3bcfc1c5fa2410c472.tar.gz
talos-obmc-linux-39eb936c7ec8ef1dccb88d3bcfc1c5fa2410c472.zip
[PATCH] sata_sis: Fix typo in sata port2 initialisation
This patch fixes a nasty typo I introduced in my previous patch (commit f2c853bca542f5ac0b036377637192a74f2091c2). The right offset of the second port in pure sata mode is 64 and not 0x64. Thanks to Martin Schuster for pointing this to me Signed-off-by: Arnaud Patard <apatard@mandriva.com> --- Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_sis.c')
-rw-r--r--drivers/scsi/sata_sis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sis.c b/drivers/scsi/sata_sis.c
index a63f93186e41..237c1986f012 100644
--- a/drivers/scsi/sata_sis.c
+++ b/drivers/scsi/sata_sis.c
@@ -289,7 +289,7 @@ static int sis_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
if (ent->device != 0x182) {
if ((pmr & SIS_PMR_COMBINED) == 0) {
printk(KERN_INFO "sata_sis: Detected SiS 180/181 chipset in SATA mode\n");
- port2_start=0x64;
+ port2_start = 64;
}
else {
printk(KERN_INFO "sata_sis: Detected SiS 180/181 chipset in combined mode\n");
OpenPOWER on IntegriCloud