]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/ssv.c
Changed filling of the chip specific operations.
[lincan.git] / lincan / src / ssv.c
index 6f1b585442b8579f8594b93714d03a3da99d3ba3..7f147e116ac8247c014c5c74417116d7e59b2181 100644 (file)
@@ -2,7 +2,7 @@
  * Linux CAN-bus device driver.
  * Written by Arnaud Westenberg email:arnaud@casema.net
  * This software is released under the GPL-License.
- * Version 0.6  18 Sept 2000
+ * Version lincan-0.3  17 Jun 2004
  */ 
 
 #include "../include/can.h"
@@ -133,11 +133,9 @@ int ssv_init_hw_data(struct candevice_t *candev)
  * argument supplied at module loading time.
  * The clock argument holds the chip clock value in Hz.
  */
-#define CHIP_TYPE "i82527"
-
 int ssv_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+0x100*chipnr;
     candev->chip[chipnr]->clock = 16000000;