[SeaBIOS] [PATCH] Fix comment typo

Cao jin caoj.fnst at cn.fujitsu.com
Sat Jan 30 08:50:38 CET 2016


Signed-off-by: Cao jin <caoj.fnst at cn.fujitsu.com>
---
 src/fw/pciinit.c  | 2 +-
 src/fw/pirtable.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c
index c31c2fa..6b1c902 100644
--- a/src/fw/pciinit.c
+++ b/src/fw/pciinit.c
@@ -274,7 +274,7 @@ static const struct pci_device_id pci_device_tbl[] = {
     PCI_DEVICE_CLASS(PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_STORAGE_IDE,
                      storage_ide_setup),
 
-    /* PIC, IBM, MIPC & MPIC2 */
+    /* PIC, IBM, MPIC & MPIC2 */
     PCI_DEVICE_CLASS(PCI_VENDOR_ID_IBM, 0x0046, PCI_CLASS_SYSTEM_PIC,
                      pic_ibm_setup),
     PCI_DEVICE_CLASS(PCI_VENDOR_ID_IBM, 0xFFFF, PCI_CLASS_SYSTEM_PIC,
diff --git a/src/fw/pirtable.c b/src/fw/pirtable.c
index a494408..bf8c047 100644
--- a/src/fw/pirtable.c
+++ b/src/fw/pirtable.c
@@ -66,7 +66,7 @@ static struct pir_table PIR_TABLE = {
             },
             .slot_nr = 3,
         }, {
-            // 5th slot entry: 4rd PCI slot
+            // 5th slot entry: 4th PCI slot
             .dev = 5<<3,
             .links = {
                 {.link = 0x60, .bitmap = 0xdef8}, // INTA#
@@ -76,7 +76,7 @@ static struct pir_table PIR_TABLE = {
             },
             .slot_nr = 4,
         }, {
-            // 6th slot entry: 5rd PCI slot
+            // 6th slot entry: 5th PCI slot
             .dev = 6<<3,
             .links = {
                 {.link = 0x61, .bitmap = 0xdef8}, // INTA#
-- 
2.1.0






More information about the SeaBIOS mailing list