Date: Mon, 25 Mar 2002 23:05:44 -0700 (MST) From: "M. Warner Losh" <imp@village.org> To: msergeant@looksmart.net Cc: mobile@FreeBSD.ORG Subject: Re: ATA flash card under 4-STABLE Message-ID: <20020325.230544.99771943.imp@village.org> In-Reply-To: <1017055196.391.17.camel@xyzzy.intranet.snsonline.net> References: <Pine.LNX.4.44.0203251013250.9887-100000@scribble.fsn.hu> <20020325111715.GA4064@pir.net> <1017055196.391.17.camel@xyzzy.intranet.snsonline.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <1017055196.391.17.camel@xyzzy.intranet.snsonline.net> Mark Sergeant <msergeant@looksmart.net> writes: : My two cents worth all the flash cards should be set to 0x1 or make the : "default" option smarter, took a wake up call from Warner before I : figured out it was the default that was causing issues. I agree with the latter more than the former. The rules should be: o Scan the CIS cfe list, in the order it appears on the card, for any 3.3V entry that we can allocate the resources for. o Scan all CIS cfe entries, in the order of the card, for any entry that we can allocate the resources for. Right now I think that we insert the cfes into a list that is backwards, and then take the first one in that list as the default. Note: There is a "default" bit, but that bit shouldn't be used to determine the "default" entry to use. The default bit means exactly "Make the items mentioned in this entry sticky for future cfes (eg the default if they aren't specified)". I don't have the time or incliniation at the moment to try to do this, but if someone else has that time or inclination, I'd love to review/test their patches. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020325.230544.99771943.imp>