summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2015-03-28 18:07:57 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2015-03-28 18:07:57 +0000
commit6453cc01ca7a24be6d720827dd6657ae99fee43d (patch)
tree27a1b6825e054074d079205a7871373b456d4431 /sys/dev/pci
parent5ab9af9b8e8d576242652524e3894385f292fbc1 (diff)
match on the RTS5249 found on the dell xps 13, treat it as a 5229
ok stsp
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/rtsx_pci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/rtsx_pci.c b/sys/dev/pci/rtsx_pci.c
index ef8c042ee6a..c17517625d9 100644
--- a/sys/dev/pci/rtsx_pci.c
+++ b/sys/dev/pci/rtsx_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsx_pci.c,v 1.10 2015/03/14 16:42:30 deraadt Exp $ */
+/* $OpenBSD: rtsx_pci.c,v 1.11 2015/03/28 18:07:56 jcs Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -59,6 +59,7 @@ rtsx_pci_match(struct device *parent, void *match, void *aux)
if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RTS5209 ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RTS5227 ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RTS5229 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RTS5249 ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RTL8411 ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RTL8411B ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_REALTEK_RTL8402)
@@ -121,6 +122,7 @@ rtsx_pci_attach(struct device *parent, struct device *self, void *aux)
flags = RTSX_F_5227;
break;
case PCI_PRODUCT_REALTEK_RTS5229:
+ case PCI_PRODUCT_REALTEK_RTS5249:
flags = RTSX_F_5229;
break;
default: