On 09/18/2011 11:10 AM, Wolfgang Zarre wrote:
> Hello Wolfgang,
>>
>> Hello Wolfgang,
>>
>>> On 08/30/2011 09:01 AM, Wolfgang Zarre wrote:
>>>> Hello Wolfgang,
>>>>
>>>>> Hello,
>>>>>
>>>>> On 08/15/2011 05:58 PM, Wolfgang Zarre wrote:
>>>>>>>
>>>>>>> Hello Wolfgang,
>>>>>>
>>>>>> Hello Oliver,
>>>>>>
>>>>>>>
>>>>>>> AFAIK the cc770 driver reworked by Wolfgang Grandegger is currently
>>>>>>> not part
>>>>>>> of the Mainline Kernel, so using the SocketCAN SVN is the right
>>>>>>> way by
>>>>>>> now.
>>>>>>
>>>>>> Thank You, I assumed so but was not sure after 35 hours in front
>>>>>> of the
>>>>>> screen.
>>>>>>
>>>>>>>
>>>>>>> Indeed having the cc770 driver in the mainline kernel is more
>>>>>>> comfortable ;-)
>>>>>>>
>>>>>>
>>>>>> That would be absolutely great, at least for my client.
>>>>>> (One developer of the team I had to explain 'make' but he is
>>>>>> studying IT
>>>>>> 3rd semester :O )
>>>>>
>>>>> I'm willing to push that driver to mainline. If I provide a patch it
>>>>> would be great if you could test it on your CC770 hardware. Are you
>>>>> able
>>>>> to work and test with the mainline kernel?
>>>>
>>>> Yes, of course, this I can do easily however, the cc770 is an ISA card
>>>> but I don't have PCI hardware available.
>>>
>>> Yes, of course. The CC770 core plus ISA driver is already a good
>>> starting point. In the BerliOS repo we also have an of platform driver
>>> which should be converted to a combine of and legacy platform driver.
>>> Unfortunately, I do not have the TQM85xx board with a CC770 available an
>>> more. Hope to have a patch series ready in a few days.
>>
>> Ok, thanks, let me know then for some tests.
>>
> 
> I'm really sorry not having mentioned that I made a small correction in
> cc770_isa.c to get it working properly and I hope it's not too late
> now.

It's not too late, for sure. I have already prepare a patch for mainline
inclusion but I'm awaiting some feedback on how to handle ISA devices on
x86_64.

> --- cc770_isa.c.orig    2011-08-10 15:37:12.000000000 +0200
> +++ cc770_isa.c    2011-08-10 15:37:28.000000000 +0200
> @@ -75,10 +75,10 @@
>           "(default=16000000 [16 MHz])");
> 
>  module_param_array(cir, byte, NULL, S_IRUGO);
> -MODULE_PARM_DESC(cdr, "CPU interface register (default=0x40 [CPU_DSC])");
> +MODULE_PARM_DESC(cir, "CPU interface register (default=0x40 [CPU_DSC])");
> 
>  module_param_array(bcr, byte, NULL, S_IRUGO);
> -MODULE_PARM_DESC(ocr, "Bus configuration register (default=0x00)");
> +MODULE_PARM_DESC(bcr, "Bus configuration register (default=0x00)");
> 
>  module_param_array(cor, byte, NULL, S_IRUGO);
>  MODULE_PARM_DESC(cor, "Clockout register (default=0x00)");


OK. Will have a closer look later.

Wolfgang.


_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to