]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/main.h
Rearranged setup to better support cards with irq count differing from chip count.
[lincan.git] / lincan / include / main.h
index ba01dd23d89b54b767b2c5e257a24a9a4eaeed5e..b4a0b32a7eb29cf395e357d822fc1f9bb17a17fe 100644 (file)
@@ -83,6 +83,13 @@ struct candevice_t {
        struct hwspecops_t *hwspecops;
 
        struct canhardware_t *hosthardware_p;
+       
+       union {
+           #ifdef CAN_ENABLE_PCI_SUPPORT
+               struct pci_dev *pcidev;
+           #endif /*CAN_ENABLE_PCI_SUPPORT*/
+       } sysdevptr;
+
 };
 
 /**
@@ -397,3 +404,7 @@ struct boardtype_t {
 };
 
 const struct boardtype_t* boardtype_find(const char *str);
+
+#ifdef CAN_WITH_RTL
+extern int can_rtl_priority;
+#endif /*CAN_WITH_RTL*/