diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-04 17:37:58 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-04 17:37:58 +0000 |
commit | b09be3c1c50767f85ad91bdd673aa35a27adf2e8 (patch) | |
tree | f1cb163022be72f32885c7842adec71707f636cf /chipset_enable.c | |
parent | 423b1b1bb050daae6e3f45c1b76829f8385e3b04 (diff) | |
download | flashrom-b09be3c1c50767f85ad91bdd673aa35a27adf2e8.zip flashrom-b09be3c1c50767f85ad91bdd673aa35a27adf2e8.tar.gz |
Rephrase warnings in chipset_enable.c
Corresponding to flashrom svn r1403.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'chipset_enable.c')
-rw-r--r-- | chipset_enable.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/chipset_enable.c b/chipset_enable.c index 43f7255..c6015f0 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -77,8 +77,8 @@ static int enable_flash_sis_mapping(struct pci_dev *dev, const char *name) rpci_write_byte(dev, 0x40, new); newer = pci_read_byte(dev, 0x40); if (newer != new) { - msg_pinfo("tried to set register 0x%x to 0x%x on %s " - "failed (WARNING ONLY)\n", 0x40, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", 0x40, new, name); msg_pinfo("Stuck at 0x%x\n", newer); return -1; } @@ -166,8 +166,8 @@ static int enable_flash_sis530(struct pci_dev *dev, const char *name) rpci_write_byte(sbdev, 0x45, new); newer = pci_read_byte(sbdev, 0x45); if (newer != new) { - msg_pinfo("tried to set register 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", 0x45, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", 0x45, new, name); msg_pinfo("Stuck at 0x%x\n", newer); ret = -1; } @@ -193,8 +193,8 @@ static int enable_flash_sis540(struct pci_dev *dev, const char *name) rpci_write_byte(sbdev, 0x45, new); newer = pci_read_byte(sbdev, 0x45); if (newer != new) { - msg_pinfo("tried to set register 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", 0x45, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", 0x45, new, name); msg_pinfo("Stuck at 0x%x\n", newer); ret = -1; } @@ -241,8 +241,8 @@ static int enable_flash_piix4(struct pci_dev *dev, const char *name) rpci_write_word(dev, xbcs, new); if (pci_read_word(dev, xbcs) != new) { - msg_pinfo("tried to set 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", xbcs, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", xbcs, new, name); return -1; } @@ -287,8 +287,8 @@ static int enable_flash_ich(struct pci_dev *dev, const char *name, rpci_write_byte(dev, bios_cntl, new); if (pci_read_byte(dev, bios_cntl) != new) { - msg_pinfo("tried to set 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", bios_cntl, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", bios_cntl, new, name); return -1; } @@ -674,8 +674,8 @@ static int enable_flash_sc1100(struct pci_dev *dev, const char *name) new = pci_read_byte(dev, 0x52); if (new != 0xee) { - msg_pinfo("tried to set register 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", 0x52, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", 0x52, new, name); return -1; } @@ -693,8 +693,8 @@ static int enable_flash_amd8111(struct pci_dev *dev, const char *name) if (new != old) { rpci_write_byte(dev, 0x43, new); if (pci_read_byte(dev, 0x43) != new) { - msg_pinfo("tried to set 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", 0x43, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", 0x43, new, name); } } @@ -706,8 +706,8 @@ static int enable_flash_amd8111(struct pci_dev *dev, const char *name) rpci_write_byte(dev, 0x40, new); if (pci_read_byte(dev, 0x40) != new) { - msg_pinfo("tried to set 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", 0x40, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", 0x40, new, name); return -1; } @@ -806,8 +806,8 @@ static int enable_flash_ck804(struct pci_dev *dev, const char *name) if (new != old) { rpci_write_byte(dev, 0x88, new); if (pci_read_byte(dev, 0x88) != new) { - msg_pinfo("tried to set 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", 0x88, new, name); + msg_pinfo("Setting register to set 0x%x to 0x%x on %s " + "failed (WARNING ONLY).\n", 0x88, new, name); } } @@ -818,8 +818,8 @@ static int enable_flash_ck804(struct pci_dev *dev, const char *name) rpci_write_byte(dev, 0x6d, new); if (pci_read_byte(dev, 0x6d) != new) { - msg_pinfo("tried to set 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", 0x6d, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", 0x6d, new, name); return -1; } @@ -902,8 +902,8 @@ static int enable_flash_mcp55(struct pci_dev *dev, const char *name) rpci_write_byte(dev, 0x6d, new); if (pci_read_byte(dev, 0x6d) != new) { - msg_pinfo("tried to set 0x%x to 0x%x on %s failed " - "(WARNING ONLY)\n", 0x6d, new, name); + msg_pinfo("Setting register 0x%x to 0x%x on %s failed " + "(WARNING ONLY).\n", 0x6d, new, name); return -1; } |