From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Zarre Subject: Re: [PATCH net-next v2 2/4] can: cc770: add legacy ISA bus driver for the CC770 and AN82527 Date: Sun, 04 Dec 2011 19:47:57 +0100 Message-ID: <4EDBC05D.8070109@essax.com> References: <1322214204-1121-1-git-send-email-wg@grandegger.com> <1322214204-1121-3-git-send-email-wg@grandegger.com> <4ED0FEC5.3070108@hartkopp.net> <4ED34CAD.7040000@essax.com> <4ED351A8.8000102@grandegger.com> <4ED37885.8080909@essax.com> <4ED3B198.2040308@hartkopp.net> <4ED4A2EC.40103@grandegger.com> Reply-To: info-PyqsHJVlJN8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Cc: Oliver Hartkopp , linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, socketcan-users-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org To: Wolfgang Grandegger Return-path: In-Reply-To: <4ED4A2EC.40103-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-users-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-users-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org Hello Wolfgang, > On 11/28/2011 05:06 PM, Oliver Hartkopp wrote: >> >>>> ... using a reasonable default for bcr of 0x40. But you may need to >>>> provide better values for cir, bcr and cor. >>>> >>> >>> OMG, sorry that I was bothering You but You are absolutely right and with Your >>> statement You brought be back on track and You made my day. Thank You !!!!!! >>> >>> I just took the values for cpu and bus I was using in my lincan driver and funny >>> enough now it's working absolutely perfect. >>> >>> Module: modprobe cc770_isa irq=0xa port=0x384 indirect=1 cir=0x61 bcr=0x4A >>> >>> Was just sending 50000 telegrams, perfect and no problem at all. >>> >>> Thanks a lot again!!!! >>> >> >> >> This looks like a Tested-by :-) > > Wolfgang, I just sent out v4. Any chance to give this patch a try? It > would be best to use a recent kernel version but I could also adapt the > patch to your kernel version, 2.6.39, I think!? Sorry for my delayed reply, but wasn't earlier possible. Yes, of course, as long as I have the hardware available I can do some tests, even on a recent kernel due the fact having the project so far completed, just another test run on the 9th of December. Due the flood of emails I lost now track which version You would be interested in and maybe also which kernel version, so, please let me know and maybe were I may download the patches. > > As you are using a CC770 chip, I'm especially interested in the relevant > kernel log (dmesg) and "ip -d -s link show". Should be not a problem at all. > > Thanks, > > Wolfgang. Wolfgang