Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 21:19:53 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        bms@spc.org
Cc:        e-masson@kisoft-services.com, freebsd-mobile@FreeBSD.ORG
Subject:   Re: CF card & pcmcia adapter issues
Message-ID:  <20020926.211953.99375751.imp@bsdimp.com>
In-Reply-To: <20020925154908.GN26280@spc.org>
References:  <86d6r25d0j.fsf@notbsdems.nantes.kisoft-services.com> <20020925154908.GN26280@spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020925154908.GN26280@spc.org>
            Bruce M Simpson <bms@spc.org> writes:
: On Wed, Sep 25, 2002 at 05:01:48PM +0200, Eric Masson wrote:
: > The card is a Dane-elec 64MB
: > I get the infamous pccardd "driver allocation failed" when pluging the
: > card.
: 
: In order to get various flavours of CF to work I used the following:-
: 
: #XXX bms
: # Ritek CompactFlash
: card "/^Ritek Co.*/" "/.*/"
:         config  0x1 "ata" ?
:         logstr "Ritek CompactFlash Card"

Actually, I'm going to commit the following change to RELENG_4.  I've
been running it on our flash burning machine at work for almost a year
now w/o a hassle.  pccardd picks badly, and this is a workaround:

Index: pccard.conf
===================================================================
RCS file: /cache/ncvs/src/etc/defaults/pccard.conf,v
retrieving revision 1.241
diff -u -r1.241 pccard.conf
--- pccard.conf	26 Jul 2002 06:12:14 -0000	1.241
+++ pccard.conf	27 Sep 2002 03:18:42 -0000
@@ -2131,5 +2137,5 @@
 
 # GENERIC Flash ATA / ATA HDD
 generic fixed_disk
-	config	auto "ata" ?
+	config	0x1 "ata" ?
 	logstr	"GENERIC Flash ATA / ATA HDD"

Which should also eliminate the mailbox full of 'please add this ATA
flash with config 0x1 to pccard.conf'...

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?20020926.211953.99375751.imp>