summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2014-04-18 09:34:06 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2014-04-18 09:34:06 +0000
commit37431ed1628b7e55cab72684dfaf4e7e6b011296 (patch)
treeaf1f588d3042f1d47929815bec54e8f5fb6d7011 /sys/dev/pci
parent1583525013e6612c8fa0b8ddef049b126be23136 (diff)
Also match RTS5227 in rtsx(4). Works for me on the THinkPad X240.
This will give us basic support there are a few extra bits in the linux driver we ignore for now. Something to look at in the future. OK stsp@ mlarkin@ kettenis@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/rtsx_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/rtsx_pci.c b/sys/dev/pci/rtsx_pci.c
index ca0ffcf4e7c..7f50da26cfc 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.4 2013/11/06 13:51:02 stsp Exp $ */
+/* $OpenBSD: rtsx_pci.c,v 1.5 2014/04/18 09:34:05 claudio Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -58,6 +58,7 @@ rtsx_pci_match(struct device *parent, void *match, void *aux)
return 0;
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)
return 1;