summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-06-07 20:24:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-06-07 20:24:21 +0000
commit690a8921fbb6985f4a10178f323f51f01895bfd0 (patch)
tree112b4e84ba738333699a61a84ff51864a90bc7b2 /sys/dev/pci
parentcf9b33679683d64ea6b1f1ebe5d759262ffdce66 (diff)
undo busted diff. why AGAIN brad????
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_bge.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index e89ec53a36e..77b909e55d9 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.60 2005/06/07 17:38:54 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.61 2005/06/07 20:24:20 deraadt Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2001
@@ -221,7 +221,6 @@ const struct pci_matchid bge_devices[] = {
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5705K },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5705M },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5705M_ALT },
- { PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5714C },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5720 },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5721 },
{ PCI_VENDOR_BROADCOM, PCI_PRODUCT_BROADCOM_BCM5750 },
@@ -1084,7 +1083,6 @@ bge_chipinit(sc)
if (BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5703 ||
BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5704 ||
BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5705 ||
- BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5714 ||
BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5750)
dma_rw_ctl &= ~BGE_PCIDMARWCTL_MINDMA;
@@ -1614,10 +1612,6 @@ static const struct bge_revision {
BGE_QUIRK_ONLY_PHY_1|BGE_QUIRK_5705_CORE,
"BCM5705 A3" },
- { BGE_CHIPID_BCM5714_A0,
- BGE_QUIRK_ONLY_PHY_1|BGE_QUIRK_5705_CORE,
- "BCM5714 A0" },
-
{ BGE_CHIPID_BCM5750_A0,
BGE_QUIRK_ONLY_PHY_1|BGE_QUIRK_5705_CORE,
"BCM5750 A1" },
@@ -1654,10 +1648,6 @@ static const struct bge_revision bge_majorrevs[] = {
BGE_QUIRK_ONLY_PHY_1|BGE_QUIRK_5705_CORE,
"unknown BCM5705" },
- { BGE_ASICREV_BCM5714,
- BGE_QUIRK_ONLY_PHY_1|BGE_QUIRK_5705_CORE,
- "unknown BCM5714" },
-
{ BGE_ASICREV_BCM5750,
BGE_QUIRK_ONLY_PHY_1|BGE_QUIRK_5705_CORE,
"unknown BCM5750" },
@@ -1806,8 +1796,7 @@ bge_attach(parent, self, aux)
* XXX: Broadcom Linux driver. Not in specs or eratta.
* PCI-Express?
*/
- if (BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5714 ||
- BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5750) {
+ if (BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5750) {
u_int32_t v;
v = pci_conf_read(pc, pa->pa_tag, BGE_PCI_MSI_CAPID);