diff options
author | 2009-10-11 16:53:13 +0000 | |
---|---|---|
committer | 2009-10-11 16:53:13 +0000 | |
commit | a386bfaeea973d290d5c075dcde8c6794278fcb8 (patch) | |
tree | 59658a51f784eb153f4f0937c0744ed6bdc3b42e | |
parent | need to save more stuff about updateset for complicated upgrade scenarios. (diff) | |
download | wireguard-openbsd-a386bfaeea973d290d5c075dcde8c6794278fcb8.tar.xz wireguard-openbsd-a386bfaeea973d290d5c075dcde8c6794278fcb8.zip |
Correct a copy-and-pasto (check for the same device type twice in
an if statement) in the last commit. From Brad.
-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 |