Deleted unintentionally forgotten lines in CPC-PCI support causing kernel Oops. CLT_COMM_CAN-pre_locking_udate
authorppisa <ppisa>
Fri, 18 Jun 2004 22:07:09 +0000 (22:07 +0000)
committerppisa <ppisa>
Fri, 18 Jun 2004 22:07:09 +0000 (22:07 +0000)
lincan/src/ems_cpcpci.c

index 63cf430..b0f8b04 100644 (file)
@@ -276,9 +276,9 @@ int ems_cpcpci_init_hw_data(struct candevice_t *candev)
        if(ems_cpcpci_request_io(candev)<0)
                return -ENODEV;
 
-       candev->dev_base_addr=pci_resource_start(pcidev,0); /*S5920*/
+       /*** candev->dev_base_addr=pci_resource_start(pcidev,0); ***/
        /* some control registers */
-       candev->io_addr=pci_resource_start(pcidev,1);
+       /*** candev->io_addr=pci_resource_start(pcidev,1); ***/
        /* 0 more EMS control registers
          * 0x400 the first SJA1000
          * 0x600 the second SJA1000