diff options
| author | 2006-06-09 00:59:33 +0000 | |
|---|---|---|
| committer | 2006-06-09 00:59:33 +0000 | |
| commit | f39e754e4e27cf9a31df3134e59e30b9ffd53a68 (patch) | |
| tree | e10351fd3553e15f4f7d79c4d4d2056450b81aa1 /sys/dev/pci/if_re_pci.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-f39e754e4e27cf9a31df3134e59e30b9ffd53a68.tar.xz wireguard-openbsd-f39e754e4e27cf9a31df3134e59e30b9ffd53a68.zip | |
identify 8139's in C+ mode with RL_8139CPLUS instead of RL_8139; no functional change.
Diffstat (limited to 'sys/dev/pci/if_re_pci.c')
| -rw-r--r-- | sys/dev/pci/if_re_pci.c | 6 |
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; |
