diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-10-11 16:53:14 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-10-11 16:53:14 +0000 |
commit | 09b79addbc2f9597ca0b01c274381ccab6c9e35f (patch) | |
tree | 88358cda1b3062713c512096d7bf174fc1952b1a /sys/dev/pci | |
parent | 6ca5c10dda14fcafb6501644deb6165899b7cfc3 (diff) |
Correct a copy-and-pasto (check for the same device type twice in
an if statement) in the last commit. From Brad.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_bge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index badbb5df375..8bda2fff7de 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.285 2009/10/11 10:36:31 sthen Exp $ */ +/* $OpenBSD: if_bge.c,v 1.286 2009/10/11 16:53:13 sthen Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -1841,8 +1841,8 @@ bge_attach(struct device *parent, struct device *self, void *aux) if (BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_USE_PRODID_REG) { if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM5717C || PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM5717S || - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM5717C || - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM5717S) + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM5718C || + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM5718S) sc->bge_chipid = pci_conf_read(pc, pa->pa_tag, BGE_PCI_GEN2_PRODID_ASICREV); else |