diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2008-07-21 19:41:45 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2008-07-21 19:41:45 +0000 |
commit | 3e20fc1642273657d9d7748c84e0b929269d3cf5 (patch) | |
tree | a3ff4f19e8437b111a18de37c2a3b04e806f267a /sys/dev/pci/if_ral_pci.c | |
parent | 08430a2ddf7fd5201d4b1fbb8da645d3a9634bca (diff) |
rename rt2860 pci ids to match with reality.
import some fixes for 1T2R adapters from the linux vendor driver.
Diffstat (limited to 'sys/dev/pci/if_ral_pci.c')
-rw-r--r-- | sys/dev/pci/if_ral_pci.c | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/sys/dev/pci/if_ral_pci.c b/sys/dev/pci/if_ral_pci.c index c428f52c29d..e52e1a782f3 100644 --- a/sys/dev/pci/if_ral_pci.c +++ b/sys/dev/pci/if_ral_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ral_pci.c,v 1.12 2007/12/09 00:08:35 deraadt Exp $ */ +/* $OpenBSD: if_ral_pci.c,v 1.13 2008/07/21 19:41:44 damien Exp $ */ /*- * Copyright (c) 2005-2007 @@ -104,14 +104,15 @@ struct cfattach ral_pci_ca = { }; const struct pci_matchid ral_pci_devices[] = { - { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2560 }, - { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2561 }, - { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2561S }, - { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2661 }, - { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2860_1 }, - { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2860_1E }, - { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2860_2 }, - { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2860_3 } + { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2560 }, + { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2561 }, + { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2561S }, + { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2661 }, + { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2860 }, + { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2890 }, + { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2760 }, + { PCI_VENDOR_RALINK, PCI_PRODUCT_RALINK_RT2790 }, + { PCI_VENDOR_AWT, PCI_PRODUCT_AWT_RT2890 } }; int @@ -141,10 +142,11 @@ ral_pci_attach(struct device *parent, struct device *self, void *aux) case PCI_PRODUCT_RALINK_RT2661: psc->sc_opns = &ral_rt2661_opns; break; - case PCI_PRODUCT_RALINK_RT2860_1: - case PCI_PRODUCT_RALINK_RT2860_1E: - case PCI_PRODUCT_RALINK_RT2860_2: - case PCI_PRODUCT_RALINK_RT2860_3: + case PCI_PRODUCT_RALINK_RT2860: + case PCI_PRODUCT_RALINK_RT2890: + case PCI_PRODUCT_RALINK_RT2760: + case PCI_PRODUCT_RALINK_RT2790: + case PCI_PRODUCT_AWT_RT2890: psc->sc_opns = &ral_rt2860_opns; break; } |