Corrected CPC-PCI magic number check to not consider ID value.
authorppisa <ppisa>
Fri, 25 Jun 2004 17:15:18 +0000 (17:15 +0000)
committerppisa <ppisa>
Fri, 25 Jun 2004 17:15:18 +0000 (17:15 +0000)
The ID value seems to be different between cards.

lincan/src/ems_cpcpci.c

index b0f8b04..9516263 100644 (file)
@@ -295,7 +295,7 @@ int ems_cpcpci_init_hw_data(struct candevice_t *candev)
        
        CANMSG("EMS CPC-PCI check value %04lx, ID %d\n", l, i);
        
-       if((l!=0x55aa01cb)||(i!=0x11)) {
+       if(l!=0x55aa01cb) {
                CANMSG("EMS CPC-PCI unexpected check values\n");
        }