Date: Mon, 12 Apr 2004 13:56:34 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccard pccard_cis.c Message-ID: <200404122056.i3CKuZN7047932@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404122056.i3CKuZN7047932>