On Sat, Nov 20, 2010 at 5:35 AM, Mads <[email protected]> wrote:
> Are there any news on this? About IRQ 14 nobody cared...
>
> Still having trouble with CONFIG_PATA_AMD on my Fuloong 2F (6005) ...
>
> Running linux-loongson-community at commit
> f604803bca8223b19d54374017339f42d2d686bf (2.6.37-rc1+)

Will look into it, but I have no such box to test it, as a temp
workaround, you may need to fallback to the old 2.6.35 or try to use
the old IDE driver instead.

>
> And, what's the deal with CONFIG_LOONGSON2_CPUFREQ? I had to go into
> loongson2_cpufreq.c and comment out line 145 to 150 to compile the kernel
> without warnings...
>
> //static struct platform_device_id platform_device_ids[] = {
> //  {
> //      .name = "l2_cpufreq",
> //  },
> //  {}
> //};
>
> If I don't do that, this error occurs:
>
>
>  CC      arch/mips/kernel/cpufreq/loongson2_cpufreq.o
> cc1: warnings being treated as errors
> arch/mips/kernel/cpufreq/loongson2_cpufreq.c:145:34: error:
> ‘platform_device_ids’ defined but not used
> make[3]: *** [arch/mips/kernel/cpufreq/loongson2_cpufreq.o] Error 1
> make[2]: *** [arch/mips/kernel/cpufreq] Error 2
> make[1]: *** [arch/mips/kernel] Error 2
> make: *** [arch/mips] Error 2
>

I have compiled this as module all the time, so, never get this error,
just tried to compile it into the kernel, error....

Thanks for your report, The solution here is: delete these lines and
use MODULE_ALIAS("platform:l2_cpufreq"); instead.

Thanks & Regards,
Wu Zhangjin

>
> - Mads
>
> On 24. sep. 2010 03:19, wu zhangjin wrote:
>>
>> On 9/23/10, Zhang Le<[email protected]>  wrote:
>>>
>>> On 10:03 Sun 19 Sep     , wu zhangjin wrote:
>>>>
>>>> On 9/18/10, wu zhangjin<[email protected]>  wrote:
>>>>>
>>>>> On 9/4/10, 包孟謙<[email protected]>  wrote:
>>>>>>
>>>>>> why don't you have a look at the IDE (deprecated) and libata dirver
>>>>>> sections
>>>>>> in the kernel config?
>>>>>
>>>>> For 2.6.36 and later versions, in the lemote2f_defconfig, we will
>>>>> disable the deprecated IDE and use libata instead. (and I plan to
>>>>> upstream this change)
>>>>
>>>> After this change, we may have to fix the "nobody cared irq 14 ..."
>>>> problem.
>>>
>>> FYI, I have been using this for some time, no "nobody cared irq 14 ..."
>>> problem.
>>>
>>>  $ zcat /proc/config.gz | grep -v "^#" | grep ATA
>>>  CONFIG_ATA=y
>>>  CONFIG_ATA_VERBOSE_ERROR=y
>>>  CONFIG_ATA_SFF=y
>>>  CONFIG_ATA_BMDMA=y
>>>  CONFIG_PATA_AMD=y
>>
>> Seems I have enabled the same options, but my version is 2.6.36-rc4.
>>
>> $ cat .config | grep -v "^#" | grep ATA | grep -v "=m"
>> CONFIG_SCSI_SAS_ATA=y
>> CONFIG_ATA=y
>> CONFIG_ATA_VERBOSE_ERROR=y
>> CONFIG_SATA_PMP=y
>> CONFIG_ATA_SFF=y
>> CONFIG_ATA_BMDMA=y
>> CONFIG_PATA_AMD=y
>>
>> Regards,
>> Wu Zhangjin
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "loongson-dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/loongson-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"loongson-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/loongson-dev?hl=en.

Reply via email to