diff mbox

Fix BRDIGE typo.

Message ID 1373391365-7992-1-git-send-email-dkoch@terremark.com
State New
Headers show

Commit Message

Don Koch July 9, 2013, 5:36 p.m. UTC
From: Don Koch <dkoch@verizon.com>

Fix typo in PCI_CLASS_BRDIGE_PCI_INF_SUB.

Signed-off-by: Don Koch <dkoch@verizon.com>
---
 hw/pci-bridge/i82801b11.c | 2 +-
 include/hw/pci/pci_ids.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Michael S. Tsirkin July 10, 2013, 9:40 a.m. UTC | #1
On Tue, Jul 09, 2013 at 01:36:05PM -0400, Don Koch wrote:
> From: Don Koch <dkoch@verizon.com>
> 
> Fix typo in PCI_CLASS_BRDIGE_PCI_INF_SUB.
> 
> Signed-off-by: Don Koch <dkoch@verizon.com>

Applied, thanks.

> ---
>  hw/pci-bridge/i82801b11.c | 2 +-
>  include/hw/pci/pci_ids.h  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/pci-bridge/i82801b11.c b/hw/pci-bridge/i82801b11.c
> index 5807a92..b98bfb0 100644
> --- a/hw/pci-bridge/i82801b11.c
> +++ b/hw/pci-bridge/i82801b11.c
> @@ -69,7 +69,7 @@ static int i82801b11_bridge_initfn(PCIDevice *d)
>      if (rc < 0) {
>          goto err_bridge;
>      }
> -    pci_config_set_prog_interface(d->config, PCI_CLASS_BRDIGE_PCI_INF_SUB);
> +    pci_config_set_prog_interface(d->config, PCI_CLASS_BRIDGE_PCI_INF_SUB);
>      return 0;
>  
>  err_bridge:
> diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h
> index 08f8161..d7933bf 100644
> --- a/include/hw/pci/pci_ids.h
> +++ b/include/hw/pci/pci_ids.h
> @@ -39,7 +39,7 @@
>  #define PCI_CLASS_BRIDGE_HOST            0x0600
>  #define PCI_CLASS_BRIDGE_ISA             0x0601
>  #define PCI_CLASS_BRIDGE_PCI             0x0604
> -#define PCI_CLASS_BRDIGE_PCI_INF_SUB     0x01
> +#define PCI_CLASS_BRIDGE_PCI_INF_SUB     0x01
>  #define PCI_CLASS_BRIDGE_OTHER           0x0680
>  
>  #define PCI_CLASS_COMMUNICATION_SERIAL   0x0700
> -- 
> 1.7.11.7
Michael S. Tsirkin July 15, 2013, 8:36 a.m. UTC | #2
On Tue, Jul 09, 2013 at 01:36:05PM -0400, Don Koch wrote:
> From: Don Koch <dkoch@verizon.com>
> 
> Fix typo in PCI_CLASS_BRDIGE_PCI_INF_SUB.
> 
> Signed-off-by: Don Koch <dkoch@verizon.com>

Applied, thanks.

> ---
>  hw/pci-bridge/i82801b11.c | 2 +-
>  include/hw/pci/pci_ids.h  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/pci-bridge/i82801b11.c b/hw/pci-bridge/i82801b11.c
> index 5807a92..b98bfb0 100644
> --- a/hw/pci-bridge/i82801b11.c
> +++ b/hw/pci-bridge/i82801b11.c
> @@ -69,7 +69,7 @@ static int i82801b11_bridge_initfn(PCIDevice *d)
>      if (rc < 0) {
>          goto err_bridge;
>      }
> -    pci_config_set_prog_interface(d->config, PCI_CLASS_BRDIGE_PCI_INF_SUB);
> +    pci_config_set_prog_interface(d->config, PCI_CLASS_BRIDGE_PCI_INF_SUB);
>      return 0;
>  
>  err_bridge:
> diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h
> index 08f8161..d7933bf 100644
> --- a/include/hw/pci/pci_ids.h
> +++ b/include/hw/pci/pci_ids.h
> @@ -39,7 +39,7 @@
>  #define PCI_CLASS_BRIDGE_HOST            0x0600
>  #define PCI_CLASS_BRIDGE_ISA             0x0601
>  #define PCI_CLASS_BRIDGE_PCI             0x0604
> -#define PCI_CLASS_BRDIGE_PCI_INF_SUB     0x01
> +#define PCI_CLASS_BRIDGE_PCI_INF_SUB     0x01
>  #define PCI_CLASS_BRIDGE_OTHER           0x0680
>  
>  #define PCI_CLASS_COMMUNICATION_SERIAL   0x0700
> -- 
> 1.7.11.7
diff mbox

Patch

diff --git a/hw/pci-bridge/i82801b11.c b/hw/pci-bridge/i82801b11.c
index 5807a92..b98bfb0 100644
--- a/hw/pci-bridge/i82801b11.c
+++ b/hw/pci-bridge/i82801b11.c
@@ -69,7 +69,7 @@  static int i82801b11_bridge_initfn(PCIDevice *d)
     if (rc < 0) {
         goto err_bridge;
     }
-    pci_config_set_prog_interface(d->config, PCI_CLASS_BRDIGE_PCI_INF_SUB);
+    pci_config_set_prog_interface(d->config, PCI_CLASS_BRIDGE_PCI_INF_SUB);
     return 0;
 
 err_bridge:
diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h
index 08f8161..d7933bf 100644
--- a/include/hw/pci/pci_ids.h
+++ b/include/hw/pci/pci_ids.h
@@ -39,7 +39,7 @@ 
 #define PCI_CLASS_BRIDGE_HOST            0x0600
 #define PCI_CLASS_BRIDGE_ISA             0x0601
 #define PCI_CLASS_BRIDGE_PCI             0x0604
-#define PCI_CLASS_BRDIGE_PCI_INF_SUB     0x01
+#define PCI_CLASS_BRIDGE_PCI_INF_SUB     0x01
 #define PCI_CLASS_BRIDGE_OTHER           0x0680
 
 #define PCI_CLASS_COMMUNICATION_SERIAL   0x0700