2009-05-16 07:39:30 +08:00
|
|
|
#
|
|
|
|
# Makefile for the SJA1000 CAN controller drivers.
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_CAN_SJA1000) += sja1000.o
|
can: sja1000: legacy SJA1000 ISA bus driver
This patch adds support for legacy SJA1000 CAN controllers on the ISA
or PC-104 bus. The I/O port or memory address and the IRQ number must
be specified via module parameters:
insmod sja1000_isa.ko port=0x310,0x380 irq=7,11
for ISA devices using I/O ports or:
insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11
for memory mapped ISA devices.
Indirect access via address and data port is supported as well:
insmod sja1000_isa.ko port=0x310,0x380 indirect=1 irq=7,11
Here is a full list of the supported module parameters:
port:I/O port number (array of ulong)
mem:I/O memory address (array of ulong)
indirect:Indirect access via address and data port (array of byte)
irq:IRQ number (array of int)
clk:External oscillator clock frequency (default=16000000 [16 MHz])
(array of int)
cdr:Clock divider register (default=0x48 [CDR_CBP | CDR_CLK_OFF])
(array of byte)
ocr:Output clock register (default=0x18 [OCR_TX0_PUSHPULL])
(array of byte)
Note: for clk, cdr, ocr, the first argument re-defines the default
for all other devices, e.g.:
insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11 clk=24000000
is equivalent to
insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11 \
clk=24000000,24000000
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Tested-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-01 13:37:33 +08:00
|
|
|
obj-$(CONFIG_CAN_SJA1000_ISA) += sja1000_isa.o
|
2009-05-16 07:39:31 +08:00
|
|
|
obj-$(CONFIG_CAN_SJA1000_PLATFORM) += sja1000_platform.o
|
2009-05-30 15:55:50 +08:00
|
|
|
obj-$(CONFIG_CAN_SJA1000_OF_PLATFORM) += sja1000_of_platform.o
|
2011-09-23 14:59:48 +08:00
|
|
|
obj-$(CONFIG_CAN_EMS_PCMCIA) += ems_pcmcia.o
|
2009-05-16 07:39:32 +08:00
|
|
|
obj-$(CONFIG_CAN_EMS_PCI) += ems_pci.o
|
2009-05-16 07:39:33 +08:00
|
|
|
obj-$(CONFIG_CAN_KVASER_PCI) += kvaser_pci.o
|
2012-03-02 23:21:20 +08:00
|
|
|
obj-$(CONFIG_CAN_PEAK_PCMCIA) += peak_pcmcia.o
|
2011-09-13 05:16:06 +08:00
|
|
|
obj-$(CONFIG_CAN_PEAK_PCI) += peak_pci.o
|
2010-02-01 17:42:44 +08:00
|
|
|
obj-$(CONFIG_CAN_PLX_PCI) += plx_pci.o
|
2010-10-19 05:47:27 +08:00
|
|
|
obj-$(CONFIG_CAN_TSCAN1) += tscan1.o
|
2009-05-16 07:39:30 +08:00
|
|
|
|
|
|
|
ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
|