From: Oliver Hartkopp <socketcan@hartkopp.net>
To: "Thomas Körper" <Thomas.Koerper@esd.eu>,
"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: Re: AW: [PATCH 1/1] can: Add support for esd CAN PCIe/402 card
Date: Tue, 21 Oct 2014 10:27:52 +0200 [thread overview]
Message-ID: <54461908.2040502@hartkopp.net> (raw)
In-Reply-To: <8CE1D0B9BFD2404DA079DDE1814A6F2E02BB65D1B54B@esd-s3.esd.local>
On 21.10.2014 09:46, Thomas Körper wrote:
>>> Signed-off-by: Thomas Körper <Thomas.Koerper@esd.eu>
>>
>> Capital letters in mail addresses - ugh.
>
> At least in the Signed-off string I will/can fix it :)
> Btw, what about the umlaut?, haven't found infos on how source may/shall be encoded.
Some people use UTF-8 and many setups display strange things afterwards.
If you don't mind try 'oe' like in the mail address :-)
>> E.g. introduce a esdacc.h include and esdacc.c which contains the esdACC specific stuff (compare to sja1000.[ch]).
>
> Good idea, esd402.h will become esdacc.h and another source esdacc.c will be added.
cool
>
>> Does your driver support the PCI400 too?
>> http://esd.eu/en/products/can-pci400
>>
>> You because I have one of it and could do some testing then.
>
> No. But if you'd like to have a PCIe/402 for testing this shouldn't be problem, I guess.
Thanks but I just lack some PCIe capable PC :-)
Do you plan to support the PCI400 later?
>> Does it make sense to name the directory 'esdacc' ?
>> There is ESD hardware in drivers/net/can/usb too.
>>
>> With esdacc we would have a CAN IP core specific directory like we have for the sja1000, c_can, etc ...
>
> I don't know. I was thinking of more (also none-esdACC) esd cards that might be added in the future.
>
ok. When you support active cards (like the softing cards) naming it esd fits
indeed. But SJA1000 based cards (from ESD) should still go into the sja1000 tree.
>>> + Support for CAN PCIe/402 cards from esd electronic system design
>>> +gmbh
>>
>> GmbH ??
>
> No...
Ah - I've seen it on your website.
'gmbh' looks like a part of a brand name.
Together with the website URL it looks fine.
>
>>> +#define DRV_NAME "esd402_driver"
>>
>> esd402_pcie
>>
>> ?
>
> But a PCI/402 is under development, so what about esd402_pci?
ACK.
>
>>> +
>>> +static inline u32 ov_read32(struct esd_pci402_card *card, unsigned
>>> +short offs) {
>>> + return ioread32be(card->addr_overview + offs); }
>>> +
>>> +static inline void ov_write32(struct esd_pci402_card *card,
>>> + unsigned short offs, u32 v)
>>> +{
>>> + iowrite32be(v, card->addr_overview + offs); }
>>
>> Does it make sense to put these access functions into the same indirection as you can see in the sja1000 or c_can driver?
>
> You mean the priv pointer instead of my card pointer? Think it should become some acc pointer when moved to esdacc.c.
Yes. Exactly this was my intention.
Regards,
Oliver
next prev parent reply other threads:[~2014-10-21 8:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-13 11:23 [PATCH 1/1] can: Add support for esd CAN PCIe/402 card Thomas Körper
2014-10-20 16:26 ` Oliver Hartkopp
2014-10-21 7:46 ` AW: " Thomas Körper
2014-10-21 8:27 ` Oliver Hartkopp [this message]
2014-10-21 9:41 ` AW: " Thomas Körper
2014-10-21 18:39 ` Robert Schwebel
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=54461908.2040502@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=Thomas.Koerper@esd.eu \
--cc=linux-can@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.