[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150611.002425.1698330124707614277.davem@davemloft.net>
Date: Thu, 11 Jun 2015 00:24:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sergei.shtylyov@...entembedded.com
Cc: netdev@...r.kernel.org, richardcochran@...il.com,
linux-sh@...r.kernel.org, masaru.nagai.vx@...esas.com
Subject: Re: [PATCH v6 2/2] Renesas Ethernet AVB PTP clock driver
From: David Miller <davem@...emloft.net>
Date: Thu, 11 Jun 2015 00:14:55 -0700 (PDT)
> From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
> Date: Thu, 11 Jun 2015 01:02:30 +0300
>
>> Ethernet AVB device includes the gPTP timer, so we can implement a PTP clock
>> driver. We're doing that in a separate file, with the main Ethernet driver
>> calling the PTP driver's [de]initialization and interrupt handler functions.
>> Unfortunately, the clock seems tightly coupled with the AVB-DMAC, so when that
>> one leaves the operation mode, we have to unregister the PTP clock... :-(
>>
>> Based on the original patches by Masaru Nagai.
>>
>> Signed-off-by: Masaru Nagai <masaru.nagai.vx@...esas.com>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
>
> Applied.
I had to fix up this patch because:
obj-$(CONFIG_RAVB) += ravb_main.o ravb_ptp.o
Doesn't do what you want it to for the modular case.
You instead need to say something like:
ravb-objs := ravb_main.o ravb_ptp.o
obj-$(CONFIG_RAVB) += ravb.o
and that's how I fixed up this commit before pushing it out.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists