📄 readme
字号:
can4linux 3.3.x (for kernel 2.6)MODULE_LICENSE("GPL");read INSTALL*pdf (this is old stuff, for kernel 2.2 and 2.4 but anyway some hints are worth considering)select your hardware in the makefile and call make$make TARGET=CPC_PCIsee also src/Readmeand man/html/index.htmlCompile the driver for 2.4 Kernels$ make -f Makefile-k2.4 TARGET=CPC_PCIMemory mapped I/O===================================================If a CAN Board uses memory mapped I/O on ISA,be sure that the in the PC BIOS access to that memory area is enabled.You can for example use Alessandro Rubini'ssilly device driver to read out the ISA IO memory area to scan fora SJA100.$ cat /dev/sillyb | od --address-radix=x -t x1| lessafter an hardware reset (power on)you should find the following pattern:038000 21 ff 0c e0 00 00 00 00 00 60 ff ff ff ff ff ff038010 ff ff ff ff fd fb df ff 0b 00 08 31 ff ff ff 00(Adress is starting with 0 == 0x0a0000)The example above shows the result with a STZP/IXXAT PCI-03 boardjumpered for 0xd800 with an sja1000 as CAN0.Especially "0c 0e" is the reset value for registers 2(status)and 3(interrupt).use $ cat /dev/sillyb \| od --address-radix=x --skip-bytes 0x38000 --read-bytes=0x20 -t x1| lessto see oly the 32 bytes at address 0xd8000.Example Sources at: http://www.cs.fsu.edu/~baker/devices/lxr/http/source/ldd-examples/misc-modules
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -