]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - embedded/app/usbcan/can/ul_usb1.h
Embedded code and LinCAN driver now working
[lincan.git] / embedded / app / usbcan / can / ul_usb1.h
index 0848d91adea124592e42eb6d3c81b1ff334cec77..385f4e39be0c3e3ad1a2c9528723a13f23499f3d 100644 (file)
  * Version lincan-0.3  17 Jun 2004
  */
 
  * Version lincan-0.3  17 Jun 2004
  */
 
-// int ul_usb1_request_io(struct candevice_t *candev);
-// int ul_usb1_release_io(struct candevice_t *candev);
-// int ul_usb1_reset(struct candevice_t *candev);
-// int ul_usb1_init_hw_data(struct candevice_t *candev);
-// int ul_usb1_init_chip_data(struct candevice_t *candev, int chipnr);
-// int ul_usb1_init_obj_data(struct canchip_t *chip, int objnr);
-// void ul_usb1_write_register(struct candevice_t *candev,unsigned data, unsigned long address);
-// unsigned ul_usb1_read_register(struct candevice_t *candev,unsigned long address);
-// int ul_usb1_program_irq(struct candevice_t *candev);
-
 struct ul_usb1_chip_data
 {
        int flags;
 struct ul_usb1_chip_data
 {
        int flags;
@@ -31,4 +21,6 @@ struct ul_usb1_chip_data
 int ul_usb1_init(void);
 void ul_usb1_exit(void);
 
 int ul_usb1_init(void);
 void ul_usb1_exit(void);
 
+extern int ul_usb1_register(struct hwspecops_t *hwspecops);
+
 #endif /* UL_USB1_H */
 #endif /* UL_USB1_H */