]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pcan_dongle.h
LinCAN sources go through big white-space cleanup.
[lincan.git] / lincan / include / pcan_dongle.h
index 91a2d6479a7604f16c508eea39567f1bb4f2370b..0186d0fe0e74f5c30ca44827c18856652f72565b 100644 (file)
 /****************************************************************************/
 
 /****************************************************************************/
 /****************************************************************************/
 
 /****************************************************************************/
-// 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      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
 #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
 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
   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_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);
 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);