Re: CF card & pcmcia adapter issues

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
In message: <[email protected]>
            Bruce M Simpson <[email protected]> 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 [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.