* sja1000p_enable_configuration - enable chip configuration mode
* @chip: pointer to chip state structure
*/
* sja1000p_enable_configuration - enable chip configuration mode
* @chip: pointer to chip state structure
*/
* sja1000p_disable_configuration - disable chip configuration mode
* @chip: pointer to chip state structure
*/
* sja1000p_disable_configuration - disable chip configuration mode
* @chip: pointer to chip state structure
*/
-int sja1000p_baud_rate(struct chip_t *chip, int rate, int clock, int sjw,
+int sja1000p_baud_rate(struct canchip_t *chip, int rate, int clock, int sjw,
int i, flags, len, datastart;
do {
flags = can_read_reg(chip,SJAFRM);
int i, flags, len, datastart;
do {
flags = can_read_reg(chip,SJAFRM);
* @irq: interrupt vector number, this value is system specific
* @dev_id: driver private pointer registered at time of request_irq() call.
* The CAN driver uses this pointer to store relationship of interrupt
* @irq: interrupt vector number, this value is system specific
* @dev_id: driver private pointer registered at time of request_irq() call.
* The CAN driver uses this pointer to store relationship of interrupt
* @regs: system dependent value pointing to registers stored in exception frame
*
* Interrupt handler is activated when state of CAN controller chip changes,
* @regs: system dependent value pointing to registers stored in exception frame
*
* Interrupt handler is activated when state of CAN controller chip changes,
{
int irq_register, status, error_code;
struct msgobj_t *obj=chip->msgobj[0];
{
int irq_register, status, error_code;
struct msgobj_t *obj=chip->msgobj[0];