Nicolas Pitre | 1 Feb 2004 01:46

Re: [PATCH 2/3] 2.6 PXA PCMCIA

On Sat, 31 Jan 2004 stefan.eletzhofer <at> eletztrick.de wrote:

> On Sat, Jan 31, 2004 at 03:08:23PM -0500, Nicolas Pitre wrote:
> > First of all, it looks like 95% of the code in pxa2xx_core.c is a perfect
> > duplicate of what's in sa11xx_core.c, with name substitution applied.  New
> > files, say sa-pxa_common.c and sa-pxa_common.h, should be created to hold
> 
> Ok, that looks like a sane name to me. I first thought about naming it
> intelarm_common.c or similar. The thing is, I really dont know whether or
> not the code we are about to factor out here is really processor specific or not.

Maybe it could be used by other chips with integrated PCMCIA too.

What about soc_common.[ch] ?

> The only processor specific thing is the way IOs are set up and what registers need what
> massaging to get the right timings. This is all done in the probe function and some
> cpufreq callbacks, maybe in power management callbacs, too.
> 
> So it might be that its completely generic, and calling it pcmcia_core.c would be ok.

That's too generic a name though.

> > What sa11xx_core.c and pxa2xx_core.c should keep are the real hardware 
> > dependent functions, such as:
> > 
> > sa1100_pcmcia_default_mecr_timing / pxa2xx_core_pcmcia_default_mecr_timing
> > sa1100_pcmcia_set_mecr / pxa2xx_core_pcmcia_set_mecr
> 
> Hmm, the MECR stuf basically doesnt exist in pxa, its somewhat similar but
(Continue reading)

Russell King - ARM Linux | 1 Feb 2004 09:56
Picon

Re: [PATCH 2/3] 2.6 PXA PCMCIA

On Sat, Jan 31, 2004 at 07:46:01PM -0500, Nicolas Pitre wrote:
> Whatever.  Just call them soc_pcmcia_set_timing() and the like, one set in 
> sa11xx_core.c and another set in pxa2xx_core.c.

I'd rather see these two die - having three levels of "generic" support
below pcmcia_core is getting a little on the silly side.  We currently
have:

	- pcmcia_core
	  \- sa11xx_core
	     |- sa1100_generic
	     |  \- sa1100_assabet
	     \- sa1111_generic
	        \- sa1100_neponset

What I think we want is:

	- pcmcia_core
	  |- sa1100_generic
	  |  |- static_socket
	  |  |- sa1100_timing
	  |  \- sa1100_assabet
	  \- sa1111_generic
	     |- static_socket
	     |- sa1100_timing
	     \- sa1100_neponset

and on PXA:

	- pcmcia_core
(Continue reading)

jhon tanphy | 1 Feb 2004 10:59
Picon
Favicon

Cygwin with linux 2.6 kernel

Hi,everyone
Does cygwin be able to build linux 2.6 kernel?

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

Ian Molton | 1 Feb 2004 13:49

Re: [PATCH 2/3] 2.6 PXA PCMCIA

On Sun, 1 Feb 2004 08:56:09 +0000
Russell King - ARM Linux <linux <at> arm.linux.org.uk> wrote:

> and on PXA:
> 
> 	- pcmcia_core
> 	  \- sa1111_generic

can we find a better name than sa1111 in that case?

--

-- 
Spyros lair: http://www.mnementh.co.uk/   ||||   Maintainer: arm26 linux

Do not meddle in the affairs of Dragons, for you are tasty and good with ketchup.

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

Russell King - ARM Linux | 1 Feb 2004 15:38
Picon

Re: [PATCH 2/3] 2.6 PXA PCMCIA

On Sun, Feb 01, 2004 at 12:49:51PM +0000, Ian Molton wrote:
> On Sun, 1 Feb 2004 08:56:09 +0000
> Russell King - ARM Linux <linux <at> arm.linux.org.uk> wrote:
> 
> > and on PXA:
> > 
> > 	- pcmcia_core
> > 	  \- sa1111_generic
> 
> can we find a better name than sa1111 in that case?

Why?  It's referring to the SA1111 chip.

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

yomiechan | 1 Feb 2004 18:38
Picon
Favicon

Slow speed of serial on at91rm9200 kernel 2.4.21


 Hi , I need some help

 I just that the serial communication is pretty slow even at RS232 at
 115200bps. I tried to measure the time needed between the command sent out
 until receives all the respond bytes. The kernel always seems to take
around
 40ms (millisecond) plus or minus 0.5ms no matter the response size ranges
 from 1 bytes to 16 bytes. And it's SLOW! It should take around 10ms instead
 when studying from the oscilloscope

 Did others have similar problem? Is there any chance shorten the delay
time?
 any ways to improve it?

 many thankx

> ----- Original Message -----
> From: "Eric BENARD / Free" <ebenard <at> free.fr>
> To: "Russell King - ARM Linux" <linux <at> arm.linux.org.uk>
> Cc: <linux-arm-kernel <at> lists.arm.linux.org.uk>
> Sent: Friday, January 30, 2004 2:07 AM
> Subject: Re: Urgent question on implementing half-duplex for US0
>
>
> Le Jeudi 29 Janvier 2004 18:54, Russell King - ARM Linux a écrit :
> > Most of these links are for stuff surrounding applications rather than
> > Linux kernel device drivers.  However, I already have the ISO7816 docs
> > here.
> >
(Continue reading)

Katherine | 1 Feb 2004 19:12
Picon
Favicon

SD Disk Cache

Greetings to all,

I am randomly reading a file from the SD card. 
Each time I access the file, the memory is 
shrinking.  I thought this might be due to disk cache. 

I tried setting the /proc/sys/vm/bdflush with 
following values thinking this might disable disk 
cache but ;- the result is same 

"0, 0, 0, 0, 5*HZ, 30*HZ, 10, 0, 0". 

How to disable disk cache?.

Any help regarding this will be grateful.

Thanks
-Katherine

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

Nicolas Pitre | 1 Feb 2004 20:02

Re: [PATCH 2/3] 2.6 PXA PCMCIA

On Sun, 1 Feb 2004, Ian Molton wrote:

> On Sun, 1 Feb 2004 08:56:09 +0000
> Russell King - ARM Linux <linux <at> arm.linux.org.uk> wrote:
> 
> > and on PXA:
> > 
> > 	- pcmcia_core
> > 	  \- sa1111_generic
> 
> can we find a better name than sa1111 in that case?

I think Russell was referring to Lubbock which uses the sa1111.
Most PXA2xx board don't though.

Nicolas

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

Ian Molton | 2 Feb 2004 01:39

Re: [PATCH 2/3] 2.6 PXA PCMCIA

On Sun, 1 Feb 2004 14:02:53 -0500 (EST)
Nicolas Pitre <nico <at> cam.org> wrote:

> On Sun, 1 Feb 2004, Ian Molton wrote:
> 
> > On Sun, 1 Feb 2004 08:56:09 +0000
> > Russell King - ARM Linux <linux <at> arm.linux.org.uk> wrote:
> > 
> > > and on PXA:
> > > 
> > > 	- pcmcia_core
> > > 	  \- sa1111_generic
> > 
> > can we find a better name than sa1111 in that case?
> 
> I think Russell was referring to Lubbock which uses the sa1111.
> Most PXA2xx board don't though.

Ah, I see.

--

-- 
Spyros lair: http://www.mnementh.co.uk/   ||||   Maintainer: arm26 linux

Do not meddle in the affairs of Dragons, for you are tasty and good with ketchup.

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

(Continue reading)

jhon tanphy | 2 Feb 2004 01:56
Picon
Favicon

Cygwin's problem

Hi, every one:
Does cygwin be able to build Linux 2.6 kernel.

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php


Gmane