lkml.org 
[lkml]   [2019]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v6 1/2] net: add support for Cavium PTP coprocessor
On Mon, Jan 15, 2018 at 06:44:56PM +0600, Aleksey Makarov wrote:
> +++ b/drivers/net/ethernet/cavium/common/cavium_ptp.c
> @@ -0,0 +1,353 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/* cavium_ptp.c - PTP 1588 clock on Cavium hardware
> + * Copyright (c) 2003-2015, 2017 Cavium, Inc.
> + */
> +
> +#include <linux/device.h>
> +#include <linux/module.h>
> +#include <linux/timecounter.h>
> +#include <linux/pci.h>
> +
> +#include "cavium_ptp.h"
> +
> +#define DRV_NAME "Cavium PTP Driver"

This is also unconventional and looks funny, e.g., here:

$ ls /sys/bus/pci/drivers/
8250_mid/ exar_serial/ mei_me/ snd_hda_intel/
agpgart-intel/ i801_smbus/ parport_pc/ snd_soc_skl/
agpgart-sis/ i915/ pcieport/ xen-platform-pci/
agpgart-via/ intel_ish_ipc/ rtsx_pci/ xhci_hcd/
ahci/ intel_pch_thermal/ serial/
'Cavium PTP Driver'/ iosf_mbi_pci/ shpchp/
e1000e/ iwlwifi/ skl_uncore/

\
 
 \ /
  Last update: 2019-01-30 16:06    [W:0.066 / U:4.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site