summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2013-04-12 00:56:15 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-12 18:22:45 -0400
commit7356a764cd76e155014c226ccb157219be918891 (patch)
tree3cdc441f494782192ebdc2a23d5930224ca3743c /drivers/net
parentd6a4a10411764cf1c3a5dad4f06c5ebe5194488b (diff)
downloadop-kernel-dev-7356a764cd76e155014c226ccb157219be918891.zip
op-kernel-dev-7356a764cd76e155014c226ccb157219be918891.tar.gz
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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud