From 6453cc01ca7a24be6d720827dd6657ae99fee43d Mon Sep 17 00:00:00 2001 From: Joshua Stein Date: Sat, 28 Mar 2015 18:07:57 +0000 Subject: match on the RTS5249 found on the dell xps 13, treat it as a 5229 ok stsp --- sys/dev/pci/rtsx_pci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci') 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 @@ -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: -- cgit v1.2.3