linux-stable/drivers/ptp
Jiri Benc 7356a764cd ptp: dynamic allocation of PHC char devices
As network adapters supporting PTP are becoming more common, machines with
many NICs suddenly have many PHCs, too. The current limit of eight /dev/ptp*
char devices (and thus, 8 network interfaces with PHC) is insufficient. Let
the ptp driver allocate the char devices dynamically.

Tested with 28 PHCs, removing and re-adding some of them.

Thanks to Ben Hutchings for advice leading to simpler and cleaner patch.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-12 18:22:45 -04:00
..
Kconfig pch_gbe, ptp_pch: Fix the dependency direction between these drivers 2012-11-17 22:11:45 -05:00
Makefile supports eg20t ptp clock 2012-03-09 13:55:34 -08:00
ptp_chardev.c ptp: reduce stack usage when measuring the system time offset 2012-11-26 17:22:14 -05:00
ptp_clock.c ptp: dynamic allocation of PHC char devices 2013-04-12 18:22:45 -04:00
ptp_ixp46x.c ptp: link the phc device to its parent device 2012-09-22 15:42:38 -04:00
ptp_pch.c ptp_pch: eliminate a number of sparse warnings 2013-03-27 12:48:31 -04:00
ptp_private.h ptp: remember the adjusted frequency 2012-09-22 15:41:29 -04:00
ptp_sysfs.c