Toshiba ToPIC developer info

Daniel Ritz daniel.ritz at gmx.ch
Tue Jun 28 16:36:52 EDT 2005


On Monday 27 June 2005 03.00, Ryan Underwood wrote:
> 
> On Mon, Jun 27, 2005 at 12:48:36AM +0200, Daniel Ritz wrote:
> > > Nope, still here.  Also, the nobody cared IRQ is still here.  But the
> > > patch didn't break anything either.
> > 
> > now that i read the whole thread...you say in 2.4+pcmcia-cs you can
> > get the same flags if you comment out the topic_set_opts, topic_set_state,
> > topic_get_state in i82365.c. now can you figure out what exactly makes the
> > difference there?
> 
> Sure, I'll have a look.

thanks. i didn't see what could make the difference there. i'd say the relevant
bits are already set by your bios. but could you try the following patch on top
to see if it helps?


--- a/drivers/pcmcia/yenta_socket.c	2005-06-28 22:31:37.000000000 +0200
+++ b/drivers/pcmcia/yenta_socket.c	2005-06-28 22:32:22.000000000 +0200
@@ -307,8 +307,10 @@
 			}
 		}
 
-		if (reg != old)
+		if (reg != old) {
+			cb_writel(socket, CB_SOCKET_CONTROL, 0);
 			exca_writeb(socket, I365_POWER, reg);
+		}
 	} else {
 		u32 reg = 0;	/* CB_SC_STPCLK? */
 		switch (state->Vcc) {

> 
> > > > for the interrupt storm your seeing: i cannot reproduce them. i tried
> > > > both cards using ISA and using the PCI interrupt. stable here.
> > > 
> > > No interrupt storm, I checked - just a very slow system until it "clears up".
> > > 
> > 
> > yes interrupt storm. otherwise the irq wouldn't get disabled.
> 
> No, this is a separate problem.  Obviously we are misunderstanding each
> other.  The 'nobody cared' when yenta_socket loads is a separate problem
> from the unresponsive system when the 16-bit card is ejected.
> 

so it's only on eject? i'll have a look at it on the weekend...
it's way to hot here to think clearly now :)

rgds
-daniel



More information about the linux-pcmcia mailing list