]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/ems_cpcpci.c
Deleted unintentionally forgotten lines in CPC-PCI support causing kernel Oops.
[lincan.git] / lincan / src / ems_cpcpci.c
index 63cf430dc7c1c499c61accf8887abc6e61190f40..b0f8b048d81c0b4017e70a8f0147a30dd1563e71 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