dp83640.c (4ba24fef3eb3b142197135223b90ced2f319cd53) | dp83640.c (f42cf8d6a3ec934551ac0f20f4654dccb11fa30d) |
---|---|
1/* 2 * Driver for the National Semiconductor DP83640 PHYTER 3 * 4 * Copyright (C) 2010 OMICRON electronics GmbH 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 600 unchanged lines hidden (view full) --- 609 struct list_head *this; 610 struct dp83640_private *tmp; 611 struct phy_device *master = clock->chosen->phydev; 612 u16 cal_gpio, cfg0, evnt, ptp_trig, trigger, val; 613 614 trigger = CAL_TRIGGER; 615 cal_gpio = 1 + ptp_find_pin(clock->ptp_clock, PTP_PF_PHYSYNC, 0); 616 if (cal_gpio < 1) { | 1/* 2 * Driver for the National Semiconductor DP83640 PHYTER 3 * 4 * Copyright (C) 2010 OMICRON electronics GmbH 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 600 unchanged lines hidden (view full) --- 609 struct list_head *this; 610 struct dp83640_private *tmp; 611 struct phy_device *master = clock->chosen->phydev; 612 u16 cal_gpio, cfg0, evnt, ptp_trig, trigger, val; 613 614 trigger = CAL_TRIGGER; 615 cal_gpio = 1 + ptp_find_pin(clock->ptp_clock, PTP_PF_PHYSYNC, 0); 616 if (cal_gpio < 1) { |
617 pr_err("PHY calibration pin not avaible - PHY is not calibrated."); | 617 pr_err("PHY calibration pin not available - PHY is not calibrated."); |
618 return; 619 } 620 621 mutex_lock(&clock->extreg_lock); 622 623 /* 624 * enable broadcast, disable status frames, enable ptp clock 625 */ --- 868 unchanged lines hidden --- | 618 return; 619 } 620 621 mutex_lock(&clock->extreg_lock); 622 623 /* 624 * enable broadcast, disable status frames, enable ptp clock 625 */ --- 868 unchanged lines hidden --- |