From: "Tomoya MORINAGA" <tomoya-linux@dsn•okisemi.com>
To: "Marc Kleine-Budde" <mkl@pengutronix•de>,
"Wolfgang Grandegger" <wg@grandegger•com>
Cc: <andrew.chih.howe.khor@intel•com>,
<socketcan-core@lists•berlios.de>, <sameo@linux•intel.com>,
<margie.foster@intel•com>, <netdev@vger•kernel.org>,
<linux-kernel@vger•kernel.org>, <yong.y.wang@intel•com>,
<masa-korg@dsn•okisemi.com>, <kok.howg.ewe@intel•com>,
<chripell@fsfe•org>, <morinaga526@dsn•okisemi.com>,
"David Miller" <davem@davemloft•net>, <joel.clark@intel•com>,
<qi.wang@intel•com>
Subject: Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: Fix buildwarnings
Date: Wed, 27 Oct 2010 20:27:29 +0900 [thread overview]
Message-ID: <008201cb75c9$f27ff720$66f8800a@maildom.okisemi.com> (raw)
In-Reply-To: 4CC72360.1070608@pengutronix.de
On Wednesday, October 27, 2010 3:52 AM : Marc Kleine-Budde and Wolfgang Grandegge wrote:
The following is some inarticulate points I have for your questions.
Please give me more information.
> Do I understand your code correctly? You have a big loop, but only do
> two different things at certain values of the loop? Smells fishy.
Uh, I can't understand your intention.
Please show in detail.
This processing does configuration for all message objects.
> what does this loop do? why is it nessecarry? I don't like delay loops
> in the hot path of a driver.
This loop is for waiting for all tx Message Object completion.
This is Topcliff CAN HW specification.
> If you figured out how to use the endianess conversion functions from
> the cpu_to_{le,be}-{le,to}_to_cpup family use them here, too.
Uh,le32_to_cpu have been used already here.
I can't understand your intention.
Please show in detail.
>> All these check if busy in the code make me a bit nervous, can you
>> please explain why they are needed. A pointer to the manual is okay, too.
> Me too. I already ask in my previous mail how long that functions
> usually blocks.
When accessing read/write from/to Message RAM,
Since it takes much time for transferring between Register and Message RAM,
SW must check busy flag of CAN register.
This is a Topcliff HW specification.
> is there some pdev->name instead of KBUILD_MODNAME that can be used?
I can't understand your intention.
pdev(struct pci_dev) doesn't have "name" member.
Please show in detail.
Thanks, Tomoya(OKI SEMICONDUCTOR CO., LTD.)
next prev parent reply other threads:[~2010-10-27 11:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4CC61B1B.3090602@dsn.okisemi.com>
[not found] ` <4CC61B1B.3090602-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
2010-10-26 17:52 ` [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: Fix build warnings David Miller
[not found] ` <20101026.105206.15244527.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2010-10-26 17:55 ` David Miller
[not found] ` <20101026.105545.200376685.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2010-10-26 18:27 ` Wolfgang Grandegger
[not found] ` <4CC71DA4.3020600-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org>
2010-10-26 18:52 ` Marc Kleine-Budde
2010-10-27 11:27 ` Tomoya MORINAGA [this message]
[not found] ` <008201cb75c9$f27ff720$66f8800a-a06+6cuVnkTSQfdrb5gaxUEOCMrvLtNR@public.gmane.org>
2010-10-27 11:57 ` [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: Fix buildwarnings Wolfgang Grandegger
[not found] ` <4CC813B9.3080506-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org>
2010-10-27 11:58 ` Marc Kleine-Budde
2010-10-27 13:14 ` Marc Kleine-Budde
2010-10-27 0:50 ` [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: Fix build warnings Tomoya MORINAGA
2010-10-27 4:29 ` can: About Socket CAN with MSI issue Tomoya MORINAGA
[not found] ` <002801cb758f$876aaf00$66f8800a-a06+6cuVnkTSQfdrb5gaxUEOCMrvLtNR@public.gmane.org>
2010-10-27 7:31 ` Wolfgang Grandegger
2010-10-27 7:56 ` Dave Airlie
2010-10-27 11:41 ` Tomoya MORINAGA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='008201cb75c9$f27ff720$66f8800a@maildom.okisemi.com' \
--to=tomoya-linux@dsn$(echo .)okisemi.com \
--cc=andrew.chih.howe.khor@intel$(echo .)com \
--cc=chripell@fsfe$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=joel.clark@intel$(echo .)com \
--cc=kok.howg.ewe@intel$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=margie.foster@intel$(echo .)com \
--cc=masa-korg@dsn$(echo .)okisemi.com \
--cc=mkl@pengutronix$(echo .)de \
--cc=morinaga526@dsn$(echo .)okisemi.com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=qi.wang@intel$(echo .)com \
--cc=sameo@linux$(echo .)intel.com \
--cc=socketcan-core@lists$(echo .)berlios.de \
--cc=wg@grandegger$(echo .)com \
--cc=yong.y.wang@intel$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox