From a8013ee75ac74caa7bcf7b7784f24a0caac84877 Mon Sep 17 00:00:00 2001 From: claudio Date: Fri, 18 Apr 2014 09:34:05 +0000 Subject: [PATCH] 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@ --- sys/dev/pci/rtsx_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -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; -- 2.20.1