From owner-cvs-all Tue Sep 3 22:39:32 2002 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 AF71637B400; Tue, 3 Sep 2002 22:39:26 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5355643E6E; Tue, 3 Sep 2002 22:39:25 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g845dLGq000625; Tue, 3 Sep 2002 23:39:21 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 03 Sep 2002 23:39:09 -0600 (MDT) Message-Id: <20020903.233909.51357851.imp@bsdimp.com> To: phk@critter.freebsd.dk Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/pccard pccard.c From: "M. Warner Losh" In-Reply-To: <95960.1031117411@critter.freebsd.dk> References: <20020903.204042.23985384.imp@bsdimp.com> <95960.1031117411@critter.freebsd.dk> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <95960.1031117411@critter.freebsd.dk> Poul-Henning Kamp writes: : >They already work on non mfc cards. The changes will make it work on : >more MFC cards. most mfc cards don't implement the registers, so they : >read as 0xff and a write is a noop. The non-mfc cards that implement : >these registers are the only ones that this fixes :-) : > : >Otherwise, how would most cards work, which aren't mfc? : : I don't trust the "read as 0xff" bit in the above statement... That's how hardware that isn't there always reads with pccards. It is defined somewhere in the pccard standard... There's code to prevent these registers from being written when they aren't really there. Anyway, this is a dancing on the heads of pin argument. I've sent you patches that should fix this right. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message