Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8930
b: refs/heads/master
c: 186051d
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Sep 14, 2005
1 parent 5134f8b commit d47f0c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e172577da02cde3916e75406b314e6f01c228a5c
refs/heads/master: 186051d70444742bf1c2bc0257dd4696a3df66e3
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/sata_sis.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static u32 sis_scr_cfg_read (struct ata_port *ap, unsigned int sc_reg)
{
struct pci_dev *pdev = to_pci_dev(ap->host_set->dev);
unsigned int cfg_addr = get_scr_cfg_addr(ap->port_no, sc_reg, pdev->device);
u32 val, val2;
u32 val, val2 = 0;
u8 pmr;

if (sc_reg == SCR_ERROR) /* doesn't exist in PCI cfg space */
Expand Down 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 d47f0c8

Please sign in to comment.