diff options
Diffstat (limited to 'drivers/ide/pci/sis5513.c')
-rw-r--r-- | drivers/ide/pci/sis5513.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c index f3cf7c6c0cc3..518d8ab413f3 100644 --- a/drivers/ide/pci/sis5513.c +++ b/drivers/ide/pci/sis5513.c | |||
@@ -380,8 +380,9 @@ static int __devinit sis_find_family(struct pci_dev *dev) | |||
380 | } | 380 | } |
381 | pci_dev_put(host); | 381 | pci_dev_put(host); |
382 | 382 | ||
383 | printk(KERN_INFO "SIS5513: %s %s controller\n", | 383 | printk(KERN_INFO "SIS5513 %s: %s %s controller\n", |
384 | SiSHostChipInfo[i].name, chipset_capability[chipset_family]); | 384 | pci_name(dev), SiSHostChipInfo[i].name, |
385 | chipset_capability[chipset_family]); | ||
385 | } | 386 | } |
386 | 387 | ||
387 | if (!chipset_family) { /* Belongs to pci-quirks */ | 388 | if (!chipset_family) { /* Belongs to pci-quirks */ |
@@ -396,7 +397,8 @@ static int __devinit sis_find_family(struct pci_dev *dev) | |||
396 | pci_write_config_dword(dev, 0x54, idemisc); | 397 | pci_write_config_dword(dev, 0x54, idemisc); |
397 | 398 | ||
398 | if (trueid == 0x5518) { | 399 | if (trueid == 0x5518) { |
399 | printk(KERN_INFO "SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller\n"); | 400 | printk(KERN_INFO "SIS5513 %s: SiS 962/963 MuTIOL IDE UDMA133 controller\n", |
401 | pci_name(dev)); | ||
400 | chipset_family = ATA_133; | 402 | chipset_family = ATA_133; |
401 | 403 | ||
402 | /* Check for 5513 compability mapping | 404 | /* Check for 5513 compability mapping |
@@ -405,7 +407,8 @@ static int __devinit sis_find_family(struct pci_dev *dev) | |||
405 | */ | 407 | */ |
406 | if ((idemisc & 0x40000000) == 0) { | 408 | if ((idemisc & 0x40000000) == 0) { |
407 | pci_write_config_dword(dev, 0x54, idemisc | 0x40000000); | 409 | pci_write_config_dword(dev, 0x54, idemisc | 0x40000000); |
408 | printk(KERN_INFO "SIS5513: Switching to 5513 register mapping\n"); | 410 | printk(KERN_INFO "SIS5513 %s: Switching to 5513 register mapping\n", |
411 | pci_name(dev)); | ||
409 | } | 412 | } |
410 | } | 413 | } |
411 | } | 414 | } |
@@ -429,10 +432,12 @@ static int __devinit sis_find_family(struct pci_dev *dev) | |||
429 | pci_dev_put(lpc_bridge); | 432 | pci_dev_put(lpc_bridge); |
430 | 433 | ||
431 | if (lpc_bridge->revision == 0x10 && (prefctl & 0x80)) { | 434 | if (lpc_bridge->revision == 0x10 && (prefctl & 0x80)) { |
432 | printk(KERN_INFO "SIS5513: SiS 961B MuTIOL IDE UDMA133 controller\n"); | 435 | printk(KERN_INFO "SIS5513 %s: SiS 961B MuTIOL IDE UDMA133 controller\n", |
436 | pci_name(dev)); | ||
433 | chipset_family = ATA_133a; | 437 | chipset_family = ATA_133a; |
434 | } else { | 438 | } else { |
435 | printk(KERN_INFO "SIS5513: SiS 961 MuTIOL IDE UDMA100 controller\n"); | 439 | printk(KERN_INFO "SIS5513 %s: SiS 961 MuTIOL IDE UDMA100 controller\n", |
440 | pci_name(dev)); | ||
436 | chipset_family = ATA_100; | 441 | chipset_family = ATA_100; |
437 | } | 442 | } |
438 | } | 443 | } |