summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-06-09 00:59:34 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-06-09 00:59:34 +0000
commit61faf078a46e759833f84bac598096c080be27d8 (patch)
tree8616aaba8070a342e1117157f3f046d9eadafbc1
parent6435e003e392f677da61d9cf18930bc0f13fcc61 (diff)
identify 8139's in C+ mode with RL_8139CPLUS instead of RL_8139; no functional change.
-rw-r--r--sys/dev/pci/if_re_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_re_pci.c b/sys/dev/pci/if_re_pci.c
index 9df2eadfe31..dc71c50e8dd 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.9 2006/06/07 01:14:26 brad Exp $ */
+/* $OpenBSD: if_re_pci.c,v 1.10 2006/06/09 00:59:33 brad Exp $ */
/*
* Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org>
@@ -199,12 +199,12 @@ re_pci_attach(struct device *parent, struct device *self, void *aux)
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_REALTEK) {
if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RT8139)
- sc->rl_type = RL_8139;
+ sc->rl_type = RL_8139CPLUS;
else
sc->rl_type = RL_8169;
} else if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_TTTECH &&
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_TTTECH_MC322)
- sc->rl_type = RL_8139;
+ sc->rl_type = RL_8139CPLUS;
else
sc->rl_type = RL_8169;