[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <000401cb0eda$df624590$66f8800a@maildom.okisemi.com>
Date: Fri, 18 Jun 2010 20:39:09 +0900
From: "Masayuki Ohtake" <masa-korg@....okisemi.com>
To: "Wang, Yong Y" <yong.y.wang@...el.com>
Cc: "Wang, Qi" <qi.wang@...el.com>,
"Clark, Joel" <joel.clark@...el.com>,
"Khor, Andrew Chih Howe" <andrew.chih.howe.khor@...el.com>,
"LKML" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Topcliff PHUB: Generate PacketHub driver
Hi Yong Y
>> +config PCH_IEEE1588
>> + tristate "PCH IEEE1588"
>> + depends on PCI
>> + help
>> + If you say yes to this option, support will be included for the
>> + PCH IEEE1588 Host controller.
>> +
>Is this really supposed to be part of this patch?
> +obj-$(CONFIG_PCH_IEEE1588) += pch_ieee1588/
> +
Yes, the above is true.
Our driver under 'drivers/char' has patch order restriction.
Firstly, ieee1588 must be patched.
After the above, Phub is able to be patched.
Thus, our Phub patch includes ieee1588 code.
> Ohtak-san, I remember you said PCH_CAN_PCLK_50MHZ was in the patch
> because you used to have a hw bug. If that hw bug has been fixed, this config
> option shall also be removed. Otherwise, you have to build multiple kernel
> binaries for different hardware configurations as Alan pointed out.
Sorry, I gave wrong information to you.
Our CAN HW spec is that works only 50MHz.(Not HW bug)
According to our CAN hw spec, we will delete 'PCH_CAN_PCLK_50MHZ'.
Thanks,
Ohtake
----- Original Message -----
From: "Wang, Yong Y" <yong.y.wang@...el.com>
To: "Masayuki Ohtak" <masa-korg@....okisemi.com>
Cc: "LKML" <linux-kernel@...r.kernel.org>; "Khor, Andrew Chih Howe" <andrew.chih.howe.khor@...el.com>; "Clark, Joel"
<joel.clark@...el.com>; "Wang, Qi" <qi.wang@...el.com>
Sent: Friday, June 18, 2010 5:08 PM
Subject: RE: [PATCH] Topcliff PHUB: Generate PacketHub driver
> +config PCH_IEEE1588
> + tristate "PCH IEEE1588"
> + depends on PCI
> + help
> + If you say yes to this option, support will be included for the
> + PCH IEEE1588 Host controller.
> +
Is this really supposed to be part of this patch?
> +config PCH_PHUB
> + tristate "PCH PHUB"
> + depends on PCI
> + help
> + If you say yes to this option, support will be included for the
> + PCH Packet Hub Host controller.
> + This driver is for PCH Packet hub driver for Topcliff.
> + This driver is integrated as built-in.
> + This driver can access GbE MAC address.
> + This driver can access HW register.
> + You can also be integrated as module.
> +
> +config PCH_CAN_PCLK_50MHZ
> + bool "CAN PCLK 50MHz"
> + depends on PCH_PHUB
> + help
> + If you say yes to this option, clock is set to 50MHz.(For CAN
> control)
> +
Ohtak-san, I remember you said PCH_CAN_PCLK_50MHZ was in the patch
because you used to have a hw bug. If that hw bug has been fixed, this config
option shall also be removed. Otherwise, you have to build multiple kernel
binaries for different hardware configurations as Alan pointed out.
> diff --git a/drivers/char/Makefile b/drivers/char/Makefile
> index f957edf..dc092d0 100644
> --- a/drivers/char/Makefile
> +++ b/drivers/char/Makefile
> @@ -111,6 +111,10 @@ obj-$(CONFIG_PS3_FLASH) += ps3flash.o
> obj-$(CONFIG_JS_RTC) += js-rtc.o
> js-rtc-y = rtc.o
>
> +obj-$(CONFIG_PCH_IEEE1588) += pch_ieee1588/
> +
Ditto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists