Alexey Serov wrote: > Thank you for reply, > > I'd like to try the new cc770 driver, but can't find any documentation on > it.
Check "trunk/kernel/2.6/drivers/net/can/cc770/". You need the cc770.ko and cc770_isa.ko driver. > I added the following lines to /etc/modprobe.d/llcf: > > alias can0 cc770 > alias can1 cc770 > options cc770 i82527_compat=1 Generally, you don't need "i82527_compat". The driver will find out if it's a CC770 or a i82527. > But can0 and can1 interface don't start using can_if script. Also, I can't > figure where I should specify bitrate, clock frequency, iomem address, irqs, > etc. See "modinfo" for the iomem address, irqs and other options. I think you need something like: # insmod cc770_isa irq=4,6 mem=0xD0000,0xD0100 ... I have to check for the equivalent of "irq_mode=2 force_dmc=1", though. The bit-timing is set via netlink interface using the "ip" program: # ip link set can0 up type can bitrate 125000 You need the "ip" program from an up-to-date version the iproute2 utility suite. For further information see: http://lxr.free-electrons.com/source/Documentation/networking/can.txt#L623 Wolfgang. _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
