-int init_hwspecops(struct candevice_t *candev)
-{
- #ifdef ENABLE_CARD_template
- if (!strcmp(candev->hwname,"template")) {
- template_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_pip
- if (!strcmp(candev->hwname,"pip5")) {
- pip5_register(candev->hwspecops);
- }
- else if (!strcmp(candev->hwname,"pip6")) {
- pip6_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_smartcan
- if (!strcmp(candev->hwname,"smartcan")) {
- smartcan_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_nsi
- if (!strcmp(candev->hwname,"nsican")) {
- nsi_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_cc_can104
- if (!strcmp(candev->hwname,"cc104")) {
- cc104_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_aim104
- if (!strcmp(candev->hwname,"aim104")) {
- aim104_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_pc_i03
- if (!strcmp(candev->hwname,"pc-i03")) {
- pci03_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_pcm3680
- if (!strcmp(candev->hwname,"pcm3680")) {
- pcm3680_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_pccan
- if (!strcmp(candev->hwname,"pccan-f") |
- !strcmp(candev->hwname,"pccan-s") ) {
- pccanf_register(candev->hwspecops);
- }
- if (!strcmp(candev->hwname,"pccan-d")) {
- pccand_register(candev->hwspecops);
- }
- if (!strcmp(candev->hwname,"pccan-q")) {
- pccanq_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_m437
- if (!strcmp(candev->hwname,"m437")) {
- m437_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_pcccan
- if (!strcmp(candev->hwname,"pcccan")) {
- pcccan_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_ssv
- if (!strcmp(candev->hwname,"ssv")) {
- ssv_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_bfadcan
- if (!strcmp(candev->hwname,"bfadcan")) {
- bfadcan_register(candev->hwspecops);
- }
- #endif
- #ifdef ENABLE_CARD_pikronisa
- if (!strcmp(candev->hwname,"pikronisa")) {
- pikronisa_register(candev->hwspecops);
- }
- #endif