/****************************************************************************/
/****************************************************************************/
-// 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
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
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);