<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>mpc885 PCMCIA question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I was wondering if anyone on this list has had any experience with running PCMCIA on a recent kernel with a mpc885ads board?&nbsp; We have been using 2.6.18-rc6 and haven't been having a lot of luck with getting PCMCIA to function.&nbsp; We can use pccardctl from pcmciautils and see our compact flash there but the block device doesn't show up in /proc/devices and we can't mount the device.&nbsp; It looks like there is a problem between ide-cs and pcmcia because of what pccardctrl info turns up.&nbsp; We also have a 2.4 kernel from Arabella that works so we know it isn't a hardware problem.&nbsp; Does anyone have any suggestions on what other things we should look into?&nbsp; Below is the kernel boot up with pcmcia ide relavence and pccardctl, /proc/devices and dump_cis.&nbsp; We compiled everything into the kernel so there are no modules for ide-cs or any of the pcmcia code.&nbsp; Sorry if this is too PCMCIA specific I was going to post on lists.infradead.org but the list seems to be down.&nbsp; Any help would be appreciated.<BR>
<BR>
###kernel boot sequence<BR>
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2<BR>
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx<BR>
PCMCIA slot A: phys mem e0000000...ec000000 (size 0c000000)<BR>
Card ID: STI Flash 7.2.0<BR>
&nbsp;Fixed Disk Card<BR>
&nbsp;IDE interface<BR>
&nbsp;[silicon] [unique] [single] [sleep] [standby] [idle] [low power]<BR>
ide-floppy driver 0.99.newide<BR>
m8xx_pcmcia: Version 0.06, Aug 2005<BR>
m8xx_pcmcia: MPC885ADS using SLOT_A with IRQ 13.<BR>
[snip...]<BR>
pccard: PCMCIA card inserted into slot 0<BR>
pcmcia: registering new device pcmcia0.0<BR>
<BR>
###pccardctl info<BR>
PRODID_1=&quot;STI&quot;<BR>
PRODID_2=&quot;Flash 7.2.0&quot;<BR>
PRODID_3=&quot;&quot;<BR>
PRODID_4=&quot;&quot;<BR>
MANFID=014d,0100<BR>
FUNCID=4<BR>
<BR>
###pccardctl ls<BR>
Socket 0 Bridge:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [m8xx-pcmcia]&nbsp;&nbsp; (bus ID: m8xx-pcmcia.0)<BR>
Socket 0 Device 0:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-- no driver --]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (bus ID: 0.0)<BR>
<BR>
###/proc/devices<BR>
Character devices:<BR>
&nbsp; 1 mem<BR>
&nbsp; 5 /dev/tty<BR>
&nbsp; 5 /dev/console<BR>
&nbsp; 5 /dev/ptmx<BR>
&nbsp;10 misc<BR>
128 ptm<BR>
136 pts<BR>
204 ttyCPM<BR>
249 dsxsram<BR>
250 dsxcpu<BR>
251 dsxdsp<BR>
252 dsxwd<BR>
254 rtc<BR>
<BR>
Block devices:<BR>
&nbsp; 1 ramdisk<BR>
<BR>
###dump_cis<BR>
Socket 0<BR>
offset 0x02, tuple 0x01, link 0x03<BR>
&nbsp; d9 01 ff<BR>
dev_info<BR>
&nbsp; fn_specific 250ns, 2kb<BR>
<BR>
offset 0x07, tuple 0x1c, link 0x04<BR>
&nbsp; 03 d9 01 ff<BR>
invalid tuple<BR>
offset 0x0d, tuple 0x18, link 0x02<BR>
&nbsp; df 01<BR>
common_jedec 0xdf 0x01<BR>
<BR>
offset 0x11, tuple 0x20, link 0x04<BR>
&nbsp; 4d 01 00 01<BR>
manfid 0x014d, 0x0100<BR>
<BR>
offset 0x17, tuple 0x15, link 0x13<BR>
&nbsp; 04 01 53 54 49 00 46 6c 61 73 68 20 37 2e 32 2e<BR>
&nbsp; 30 00 ff<BR>
vers_1 4.1, &quot;STI&quot;, &quot;Flash 7.2.0&quot;<BR>
<BR>
offset 0x2c, tuple 0x21, link 0x02<BR>
&nbsp; 04 01<BR>
funcid fixed_disk [post]<BR>
<BR>
offset 0x30, tuple 0x22, link 0x02<BR>
&nbsp; 01 01<BR>
disk_interface [ide]<BR>
<BR>
offset 0x34, tuple 0x22, link 0x03<BR>
&nbsp; 02 0c 0f<BR>
disk_features [silicon] [unique] [single]<BR>
&nbsp; [sleep] [standby] [idle] [low power]<BR>
<BR>
offset 0x39, tuple 0x1a, link 0x05<BR>
&nbsp; 01 03 00 02 0f<BR>
config base 0x0200 mask 0x000f last_index 0x03<BR>
<BR>
offset 0x40, tuple 0x1b, link 0x08<BR>
&nbsp; c0 c0 a1 01 55 08 00 20<BR>
cftable_entry 0x00 [default]<BR>
&nbsp;[rdybsy] [mwait] [pwrdown]<BR>
&nbsp; Vcc Vnom 5V<BR>
&nbsp; memory 0x0000-0x07ff @ 0x0000<BR>
<BR>
offset 0x4a, tuple 0x1b, link 0x06<BR>
&nbsp; 00 01 21 b5 1e 4d<BR>
cftable_entry 0x00<BR>
&nbsp; Vcc Vnom 3300mV Ipeak 45mA<BR>
<BR>
offset 0x52, tuple 0x1b, link 0x0a<BR>
&nbsp; c1 41 99 01 55 64 f0 ff ff 20<BR>
cftable_entry 0x01 [default]<BR>
&nbsp;[rdybsy] [pwrdown]<BR>
&nbsp; Vcc Vnom 5V<BR>
&nbsp; io 0x0000-0x000f [lines=4] [8bit] [16bit]<BR>
&nbsp; irq mask 0xffff [level] [pulse] [shared]<BR>
<BR>
offset 0x5e, tuple 0x1b, link 0x06<BR>
&nbsp; 01 01 21 b5 1e 4d<BR>
cftable_entry 0x01<BR>
&nbsp; Vcc Vnom 3300mV Ipeak 45mA<BR>
<BR>
offset 0x66, tuple 0x1b, link 0x0f<BR>
&nbsp; c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20<BR>
cftable_entry 0x02 [default]<BR>
&nbsp;[rdybsy] [pwrdown]<BR>
&nbsp; Vcc Vnom 5V<BR>
&nbsp; io 0x01f0-0x01f7, 0x03f6-0x03f7 [lines=10] [8bit] [16bit] [range]<BR>
&nbsp; irq 14 [level] [pulse] [shared]<BR>
<BR>
offset 0x77, tuple 0x1b, link 0x06<BR>
&nbsp; 02 01 21 b5 1e 4d<BR>
cftable_entry 0x02<BR>
&nbsp; Vcc Vnom 3300mV Ipeak 45mA<BR>
<BR>
offset 0x7f, tuple 0x1b, link 0x0f<BR>
&nbsp; c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20<BR>
cftable_entry 0x03 [default]<BR>
&nbsp;[rdybsy] [pwrdown]<BR>
&nbsp; Vcc Vnom 5V<BR>
&nbsp; io 0x0170-0x0177, 0x0376-0x0377 [lines=10] [8bit] [16bit] [range]<BR>
&nbsp; irq 14 [level] [pulse] [shared]<BR>
<BR>
offset 0x90, tuple 0x1b, link 0x06<BR>
&nbsp; 03 01 21 b5 1e 4d<BR>
cftable_entry 0x03<BR>
&nbsp; Vcc Vnom 3300mV Ipeak 45mA<BR>
<BR>
offset 0x98, tuple 0x14, link 0x00<BR>
no_long_link</FONT>
</P>

</BODY>
</HTML>