Skip to content

Commit

Permalink
[PATCH] sata_sis: Fix typo in sata port2 initialisation
Browse files Browse the repository at this point in the history
This patch fixes a nasty typo I introduced in my previous patch (commit
f2c853b). 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>
  • Loading branch information
Arnaud Patard authored and Jeff Garzik committed Sep 14, 2005
1 parent d8ac106 commit 39eb936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/sata_sis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 39eb936

Please sign in to comment.