* Documentation/networking/can.txt
@ 2013-12-02 22:49 John Whitmore
2013-12-03 6:56 ` Documentation/networking/can.txt Oliver Hartkopp
0 siblings, 1 reply; 2+ messages in thread
From: John Whitmore @ 2013-12-02 22:49 UTC (permalink / raw)
To: linux-can
Been lurking on this list for a while trying to get a feel for it. First post,
poking my head above the wall, so to speak.
I'll start with the Documentation in the Linux kernel. At the moment, on a
netbook, running from the Linus' git tree so perhaps I'm on the wrong git tree
for communicating with this mailing list, but given the number of different
git trees, I can't keep my head straight. Let me know if I'd be better on a
different git tree.
I've been reading (and re-reading) a few of the networking docs and specifically
can.txt as I'm starting to do some work on Linux CAN. To date I've been
working on MCP2515's connected to small micro-controllers creating my own
networks. I'm now hoping to plug a RaspberryPi into my CAN Networks.
There are a few typos in can.txt that aren't a big deal, but I could try send
a patch file for them. My bigger question is with regard to section 3.3 which
mentions Kconfig options "CAN_RAW_USER" and "CAN_BCM_USER". I've searched in
the linux "make menuconfig" for these options and neither exist. grep'd the
code, and didn't find an occurrence, outside can.txt, so I assume these two
options could be removed from the text?
Finally, for the moment, section 7 references:
http://developer.berlios.de/projects/socketcan
this link is no longer correct as it points to another URL, so perhaps this
reference could be updated?
I can attempt a patch but let me know against which git tree? Maybe that info
could go into can.txt as well.
jwhitmore
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Documentation/networking/can.txt
2013-12-02 22:49 Documentation/networking/can.txt John Whitmore
@ 2013-12-03 6:56 ` Oliver Hartkopp
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Hartkopp @ 2013-12-03 6:56 UTC (permalink / raw)
To: John Whitmore; +Cc: linux-can
On 02.12.2013 23:49, John Whitmore wrote:
> Been lurking on this list for a while trying to get a feel for it. First post,
> poking my head above the wall, so to speak.
>
Welcome! :-)
> I'll start with the Documentation in the Linux kernel. At the moment, on a
> netbook, running from the Linus' git tree so perhaps I'm on the wrong git tree
> for communicating with this mailing list, but given the number of different
> git trees, I can't keep my head straight. Let me know if I'd be better on a
> different git tree.
This is at least the correct mailing list for Documentation/networking/can.txt
Sometimes the Documentation URL is mentioned in the MAINTAINERS file, e.g.
http://lxr.linux.no/#linux+v3.12.2/MAINTAINERS#L123
We should add the documentation URL like this ...
diff --git a/MAINTAINERS b/MAINTAINERS
index 4afcfb4..5791d3d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2023,6 +2023,7 @@ L: linux-can@vger.kernel.org
W: http://gitorious.org/linux-can
T: git git://gitorious.org/linux-can/linux-can-next.git
S: Maintained
+F: Documentation/networking/can.txt
F: net/can/
F: include/linux/can/core.h
F: include/uapi/linux/can.h
... to answer the question which mailing list to use for can.txt .
You might add this change into your final patch.
>
> I've been reading (and re-reading) a few of the networking docs and specifically
> can.txt as I'm starting to do some work on Linux CAN. To date I've been
> working on MCP2515's connected to small micro-controllers creating my own
> networks. I'm now hoping to plug a RaspberryPi into my CAN Networks.
>
Many people tried this before. That should work.
> There are a few typos in can.txt that aren't a big deal, but I could try send
> a patch file for them. My bigger question is with regard to section 3.3 which
> mentions Kconfig options "CAN_RAW_USER" and "CAN_BCM_USER". I've searched in
> the linux "make menuconfig" for these options and neither exist. grep'd the
> code, and didn't find an occurrence, outside can.txt, so I assume these two
> options could be removed from the text?
Yes.
It's a remainder from a very early post of the CAN patch series.
>
> Finally, for the moment, section 7 references:
>
> http://developer.berlios.de/projects/socketcan
>
> this link is no longer correct as it points to another URL, so perhaps this
> reference could be updated?
I updated this URL list at Wikipedia some days ago:
http://en.wikipedia.org/wiki/SocketCAN#External_links
Doing this I was also thinking about section 7 but I did not find a good
solution so far.
We could add some of the URLs here too.
But I wonder if having the URLs to the project website and the mailing list in
the MAINTAINERS file only is better (to have only one single point of
reference). E.g. section 7 could point to the MAINTAINERS file then.
Any preference?
>
> I can attempt a patch but let me know against which git tree? Maybe that info
> could go into can.txt as well.
The different git trees (torvalds/linux.git, davem/net.git,
davem/net-next.git) and the two CAN trees located at gitorious.org are always
in different states depending on the current development phase.
Usually davem/net-next.git is the right place for new drivers and bigger
changes in the documentation.
For fixes and small documentation updates davem/net.git is the right tree to
send patched against. -> I would use this tree in your case.
Best regards,
Oliver
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-03 6:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 22:49 Documentation/networking/can.txt John Whitmore
2013-12-03 6:56 ` Documentation/networking/can.txt Oliver Hartkopp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).