From owner-svn-src-head@FreeBSD.ORG Wed Jan 7 19:55:42 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9302DFB1; Wed, 7 Jan 2015 19:55:42 +0000 (UTC) Received: from st11p02mm-asmtp002.mac.com (st11p02mm-asmtp002.mac.com [17.172.220.237]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5D257138A; Wed, 7 Jan 2015 19:55:42 +0000 (UTC) Received: from st11p02mm-spool002.mac.com ([17.172.220.247]) by st11p02mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.33.0 64bit (built Aug 27 2014)) with ESMTP id <0NHT00L2ULVMQ520@st11p02mm-asmtp002.mac.com>; Wed, 07 Jan 2015 18:54:58 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-01-07_08:2015-01-07,2015-01-07,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412080000 definitions=main-1501070198 MIME-version: 1.0 Received: from localhost ([17.172.220.163]) by st11p02mm-spool002.mac.com (Oracle Communications Messaging Server 7.0.5.33.0 64bit (built Aug 27 2014)) with ESMTP id <0NHT009E7LVLG560@st11p02mm-spool002.mac.com>; Wed, 07 Jan 2015 18:54:57 +0000 (GMT) To: Hans Petter Selasky From: Rui Paulo Subject: Re: svn commit: r276407 - head/sys/dev/usb/controller Date: Wed, 07 Jan 2015 18:54:57 +0000 (GMT) X-Mailer: iCloud MailClient14H40 MailServer14H18.17359 X-Originating-IP: [12.218.212.178] Message-id: <03ad1e28-01a1-476b-a0cb-fb827f18df81@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 19:55:42 -0000 On Dec 30, 2014, at 01:20 AM, Hans Petter Selasky w= rote:=0A=0AAuthor: hselasky=0ADate: Tue Dec 30 09:20:29 2014=0ANew Revisio= n: 276407=0AURL: https://svnweb.freebsd.org/changeset/base/276407=0A=0ALog= :=0AAllow systems having a page size greater than 4K to use fewer=0Ascatte= r-gather XHCI TRB entries for its payload data. The XHCI=0Acontroller can = handle at least 65536 bytes per scatter-gather list=0Aentry.=0A=0AMFC afte= r: =C2=A01 week=0ASuggested by: =C2=A0Kohji Okuno =0A=0AModified:=0Ahead/sys/dev/usb/controller/xhci.h=0A=0AModified: = head/sys/dev/usb/controller/xhci.h=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A--- head/sys/dev/usb/contr= oller/xhci.h =C2=A0Tue Dec 30 08:50:50 2014 =C2=A0 =C2=A0(r276406)=0A+++ h= ead/sys/dev/usb/controller/xhci.h =C2=A0Tue Dec 30 09:20:29 2014 =C2=A0 =C2= =A0(r276407)=0A@@ -320,11 +320,23 @@ struct xhci_dev_endpoint_trbs {=0A=C2= =A0 XHCI_MAX_TRANSFERS) + XHCI_MAX_STREAMS];=0A};=0A=0A-#define =C2=A0 =C2= =A0XHCI_TD_PAGE_NBUF =C2=A0 =C2=A0 =C2=A017 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* = units, room enough for 64Kbytes */=0A-#define =C2=A0 =C2=A0 =C2=A0XHCI_TD_= PAGE_SIZE =C2=A04096 =C2=A0 =C2=A0/* bytes */=0A-#define =C2=A0XHCI_TD_PAY= LOAD_MAX =C2=A0 =C2=A0 =C2=A0(XHCI_TD_PAGE_SIZE * (XHCI_TD_PAGE_NBUF - 1))= =0A+#if (USB_PAGE_SIZE < 4096)=0A+#error "The XHCI driver needs a pagesize= above 4K"=0A+#endif=0A=0AThis error string is misleading: it should read = "page size greater or equal to 4096 bytes".=