X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/4dc78b4651f006bf0404c8ec7db85651bcee7c2e..04ac67cc3cac14cd601daacd0592121ec0b84012:/lincan/include/pcan_dongle.h diff --git a/lincan/include/pcan_dongle.h b/lincan/include/pcan_dongle.h index 91a2d64..0186d0f 100644 --- a/lincan/include/pcan_dongle.h +++ b/lincan/include/pcan_dongle.h @@ -68,10 +68,10 @@ /****************************************************************************/ /****************************************************************************/ -// parameter wHardwareType, used by open -#define HW_ISA 1 // not supported with LINUX, 82C200 chip +// parameter wHardwareType, used by open +#define HW_ISA 1 // not supported with LINUX, 82C200 chip #define HW_DONGLE_SJA 5 -#define HW_DONGLE_SJA_EPP 6 +#define HW_DONGLE_SJA_EPP 6 #define HW_DONGLE_PRO 7 // not yet supported with LINUX #define HW_DONGLE_PRO_EPP 8 // not yet supported with LINUX #define HW_ISA_SJA 9 // use this also for PC/104 @@ -82,7 +82,7 @@ struct DONGLE_PORT { u32 dwPort; // the port of the transport layer - u16 wIrq; // the associated irq + u16 wIrq; // the associated irq struct pardevice *pardev; // points to the associated parallel port (PARPORT subsytem) u16 wEcr; // ECR register in case of EPP u8 ucOldDataContent; // the overwritten contents of the port registers @@ -104,7 +104,7 @@ struct DONGLE_PORT int pcan_dongle_request_io(struct candevice_t *candev); int pcan_dongle_release_io(struct candevice_t *candev); -int pcan_dongle_reset(struct candevice_t *candev); +int pcan_dongle_reset(struct candevice_t *candev); int pcan_dongle_init_hw_data(struct candevice_t *candev); int pcan_dongle_init_chip_data(struct candevice_t *candev, int chipnr); int pcan_dongle_init_obj_data(struct canchip_t *chip, int objnr);