[PATCH] pci: maxreadreq: Audio device to chipset devices.

Alex Hung alex.hung at canonical.com
Tue Apr 23 07:34:20 UTC 2013


In Intel chipset databook, Audio's "Max Read Request" is hardwired to 0
enabling 128B maximum read request size.

Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
 src/pci/maxreadreq/maxreadreq.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/pci/maxreadreq/maxreadreq.c b/src/pci/maxreadreq/maxreadreq.c
index 0168356..b95e579 100644
--- a/src/pci/maxreadreq/maxreadreq.c
+++ b/src/pci/maxreadreq/maxreadreq.c
@@ -103,6 +103,8 @@ static int maxreadreq_test1(fwts_framework *fw)
 			continue;
 		if (strcmp(current_type, "System peripheral")==0)
 			continue;
+		if (strcmp(current_type, "Audio device")==0)
+			continue;
 
 		c = strstr(line, "MaxReadReq ");
 		if (c) {
-- 
1.7.9.5




More information about the fwts-devel mailing list