From owner-cvs-all@FreeBSD.ORG Mon Apr 12 13:56:37 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED09316A4F2; Mon, 12 Apr 2004 13:56:37 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6D1343D41; Mon, 12 Apr 2004 13:56:37 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3CKubGe047933; Mon, 12 Apr 2004 13:56:37 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3CKuZN7047932; Mon, 12 Apr 2004 13:56:35 -0700 (PDT) (envelope-from imp) Message-Id: <200404122056.i3CKuZN7047932@repoman.freebsd.org> From: Warner Losh Date: Mon, 12 Apr 2004 13:56:34 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/pccard pccard_cis.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 20:56:38 -0000 imp 2004/04/12 13:56:34 PDT FreeBSD src repository Modified files: sys/dev/pccard pccard_cis.c Log: Improve reading of CIS cards: (1) Align to 64k for the CIS. Some cards don't like it when we aren't aligned to a 64k boundary. I can't find anything in the standard that requires this, but I have 1/2 dozen cards that won't work at all unless I enable this. (2) Sleep 1s before scanning the CIS. This may be a nop, but has little harm. (3) The CIS can be up to 4k in some weird, odd-ball edge cases. Since we have limiters for when that's not the case, it does no harm to increase it to 4k. #1 was submitted, in a different form, by Carlos Velasco. Revision Changes Path 1.28 +10 -3 src/sys/dev/pccard/pccard_cis.c