Steven Scholz | 12 Mar 2004 12:34
Picon
Favicon

io_speed = 0 ???

Hi there,

cs.c contains the lines

/* Access speed for attribute memory windows */
INT_MODULE_PARM(cis_speed,	300);		/* ns */

/* Access speed for IO windows */
INT_MODULE_PARM(io_speed,	0);		/* ns */

Does that mean, we're not using the timing values store the CIS but 
using these hardcoded numbers?

Which value should I choose if io_speed is not specified by the user?

In m8xx_pcmcia.c 255ns is choosen if it is not a memory card. Thus 
resulting in very slow cycle times for PCMCIA ATA cards...

	if(!ns) {

		/*
		 * We get called with IO maps setup to 0ns
		 * if not specified by the user.
		 * They should be 255ns.
		 */

		if(is_io)
			ns = 255;
		else
			ns = 100;  /* fast memory if 0 */
	}

Thanks!

--

-- 
Steven Scholz

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

Gmane