summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_re_pci.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-03-27 17:43:26 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-03-27 17:43:26 +0000
commit2d01ede0dbc55438ebb11c499212afbc7be4f4fb (patch)
treefb22e3ed2262c11aa49c8a346513839aa432539c /sys/dev/pci/if_re_pci.c
parentaa7a4fc2cfcdb98745170f8e9f5acf6ca8b8f946 (diff)
revert a small part of the last commit that wasn't supposed to go in.
Diffstat (limited to 'sys/dev/pci/if_re_pci.c')
-rw-r--r--sys/dev/pci/if_re_pci.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/pci/if_re_pci.c b/sys/dev/pci/if_re_pci.c
index 788233c3704..2f59fec308e 100644
--- a/sys/dev/pci/if_re_pci.c
+++ b/sys/dev/pci/if_re_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_re_pci.c,v 1.5 2006/03/27 16:26:05 brad Exp $ */
+/* $OpenBSD: if_re_pci.c,v 1.6 2006/03/27 17:43:25 brad Exp $ */
/*
* Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org>
@@ -189,12 +189,7 @@ re_pci_attach(struct device *parent, struct device *self, void *aux)
sc->sc_dmat = pa->pa_dmat;
sc->sc_flags |= RL_ENABLED;
-
- if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RT8139 ||
- PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_TTTECH_MC322)
- sc->rl_type = RL_8139CPLUS;
- else
- sc->rl_type = RL_8169;
+ sc->rl_type = RL_8169;
/* Call bus-independent attach routine */
re_attach_common(sc);