X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/a4c9ead4b64bd4de307f375c2ff313a7a07a06e0..2a4663dd0b20d96d1ffe20993dd0c63ed2ca9f20:/lincan/src/pcccan.c diff --git a/lincan/src/pcccan.c b/lincan/src/pcccan.c index 8dbb485..f83b1c5 100644 --- a/lincan/src/pcccan.c +++ b/lincan/src/pcccan.c @@ -152,7 +152,6 @@ int pcccan_init_hw_data(struct candevice_t *candev) return 0; } -#define CHIP_TYPE "i82527" /** * pcccan_init_chip_data - Initialize chips * @candev: Pointer to candevice/board structure @@ -187,7 +186,7 @@ int pcccan_init_hw_data(struct candevice_t *candev) */ int pcccan_init_chip_data(struct candevice_t *candev, int chipnr) { - candev->chip[chipnr]->chip_type=CHIP_TYPE; + i82527_fill_chipspecops(candev->chip[chipnr]); candev->chip[chipnr]->chip_base_addr=candev->io_addr; candev->chip[chipnr]->clock = 16000000; candev->chip[chipnr]->int_cpu_reg = iCPU_DSC | iCPU_DMC;