--- zzzz-none-000/linux-2.4.17/drivers/pcmcia/sa1100_generic.c 2001-10-25 20:53:48.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/drivers/pcmcia/sa1100_generic.c 2004-11-24 13:23:45.000000000 +0000 @@ -43,6 +43,7 @@ #include #include #include +#include #include #include @@ -199,8 +200,8 @@ #ifdef CONFIG_SA1100_FREEBIRD pcmcia_low_level = &freebird_pcmcia_ops; #endif - } else if (machine_is_h3600()) { -#ifdef CONFIG_SA1100_H3600 + } else if (machine_is_h3xxx()) { +#ifdef CONFIG_SA1100_H3XXX pcmcia_low_level = &h3600_pcmcia_ops; #endif } else if (machine_is_cerf()) { @@ -219,6 +220,10 @@ #ifdef CONFIG_SA1100_YOPY pcmcia_low_level = &yopy_pcmcia_ops; #endif + } else if (machine_is_shannon()) { +#ifdef CONFIG_SA1100_SHANNON + pcmcia_low_level = &shannon_pcmcia_ops; +#endif } else if (machine_is_pangolin()) { #ifdef CONFIG_SA1100_PANGOLIN pcmcia_low_level = &pangolin_pcmcia_ops; @@ -278,7 +283,7 @@ */ mecr=0; - clock = get_cclk_frequency() * 100; + clock = cpufreq_get(0); for(i=0; ispeed>0)?map->speed:SA1100_PCMCIA_IO_ACCESS; - clock = get_cclk_frequency() * 100; + clock = cpufreq_get(0); mecr=MECR; @@ -943,7 +948,7 @@ speed = SA1100_PCMCIA_5V_MEM_ACCESS; } - clock = get_cclk_frequency() * 100; + clock = cpufreq_get(0); mecr=MECR; @@ -1021,7 +1026,7 @@ int count, int *eof, void *data){ char *p=buf; unsigned int sock=(unsigned int)data; - unsigned int clock = get_cclk_frequency() * 100; + unsigned int clock = cpufreq_get(0); unsigned long mecr = MECR; p+=sprintf(p, "k_flags : %s%s%s%s%s%s%s\n",