mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-12 23:54:19 +08:00
ata: pata_sil680: convert printk() calls
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
This commit is contained in:
parent
f9bcf5ba2d
commit
3156234b61
@ -308,17 +308,17 @@ static u8 sil680_init_chip(struct pci_dev *pdev, int *try_mmio)
|
||||
|
||||
switch (tmpbyte & 0x30) {
|
||||
case 0x00:
|
||||
printk(KERN_INFO "sil680: 100MHz clock.\n");
|
||||
dev_info(&pdev->dev, "sil680: 100MHz clock.\n");
|
||||
break;
|
||||
case 0x10:
|
||||
printk(KERN_INFO "sil680: 133MHz clock.\n");
|
||||
dev_info(&pdev->dev, "sil680: 133MHz clock.\n");
|
||||
break;
|
||||
case 0x20:
|
||||
printk(KERN_INFO "sil680: Using PCI clock.\n");
|
||||
dev_info(&pdev->dev, "sil680: Using PCI clock.\n");
|
||||
break;
|
||||
/* This last case is _NOT_ ok */
|
||||
case 0x30:
|
||||
printk(KERN_ERR "sil680: Clock disabled ?\n");
|
||||
dev_err(&pdev->dev, "sil680: Clock disabled ?\n");
|
||||
}
|
||||
return tmpbyte & 0x30;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user