Searched refs:atpdev (Results 1 – 1 of 1) sorted by relevance
2571 struct atp_unit *atpdev, *p; in atp870u_probe() local2575 atpdev = kzalloc(sizeof(*atpdev), GFP_KERNEL); in atp870u_probe()2576 if (!atpdev) in atp870u_probe()2594 atpdev->chip_ver = pdev->revision; in atp870u_probe()2595 if (atpdev->chip_ver < 2) in atp870u_probe()2605 atpdev->chip_ver = 0x04; in atp870u_probe()2613 atpdev->chip_ver = pdev->revision; in atp870u_probe()2621 atpdev->ioport[0] = base_io + 0x40; in atp870u_probe()2622 atpdev->pciport[0] = base_io + 0x28; in atp870u_probe()2623 atpdev->dev_id = ent->device; in atp870u_probe()[all …]