All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko
@ 2006-11-16 15:23 Frits de Klark
  2006-11-16 15:44 ` Jan Kiszka
  2006-11-16 18:39 ` Wolfgang Grandegger
  0 siblings, 2 replies; 6+ messages in thread
From: Frits de Klark @ 2006-11-16 15:23 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 261 bytes --]

Hello everyone,

I tried to load the xeno_rtcan_mem module. I got a message that parameter
'io' is unknown. After a modinfo I found out that the actual parameter
should be 'mem'. I suggest you fix this, since it can be somewhat confusing.

Best regards,

Frits

[-- Attachment #2: Type: text/html, Size: 289 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko
  2006-11-16 15:23 [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko Frits de Klark
@ 2006-11-16 15:44 ` Jan Kiszka
  2006-11-16 15:54   ` Frits de Klark
  2006-11-16 18:39 ` Wolfgang Grandegger
  1 sibling, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2006-11-16 15:44 UTC (permalink / raw)
  To: Frits de Klark; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

Frits de Klark wrote:
> Hello everyone,
> 
> I tried to load the xeno_rtcan_mem module. I got a message that parameter
> 'io' is unknown. After a modinfo I found out that the actual parameter
> should be 'mem'. I suggest you fix this, since it can be somewhat
> confusing.

I simple patch would explain better that you are referring to the
message in rtcan_mem_init(). And it would already fix the issue. :)

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko
  2006-11-16 15:44 ` Jan Kiszka
@ 2006-11-16 15:54   ` Frits de Klark
  2006-11-16 16:02     ` Jan Kiszka
  2006-11-16 19:05     ` Wolfgang Grandegger
  0 siblings, 2 replies; 6+ messages in thread
From: Frits de Klark @ 2006-11-16 15:54 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

Hi,

do you mean I should have better provided a patch? I'd love to do so, but
I'm not (yet) much of a Linux developer and I've never created a patch
before. But I guess there's no escaping the need of learning how to do so
very soon :)

Best regards,

Frits

On 11/16/06, Jan Kiszka <jan.kiszka@domain.hid> wrote:
>
> Frits de Klark wrote:
> > Hello everyone,
> >
> > I tried to load the xeno_rtcan_mem module. I got a message that
> parameter
> > 'io' is unknown. After a modinfo I found out that the actual parameter
> > should be 'mem'. I suggest you fix this, since it can be somewhat
> > confusing.
>
> I simple patch would explain better that you are referring to the
> message in rtcan_mem_init(). And it would already fix the issue. :)
>
> Jan
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1096 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko
  2006-11-16 15:54   ` Frits de Klark
@ 2006-11-16 16:02     ` Jan Kiszka
  2006-11-16 19:05     ` Wolfgang Grandegger
  1 sibling, 0 replies; 6+ messages in thread
From: Jan Kiszka @ 2006-11-16 16:02 UTC (permalink / raw)
  To: Frits de Klark; +Cc: xenomai

Frits de Klark wrote:
> Hi,
> 
> do you mean I should have better provided a patch? I'd love to do so, but
> I'm not (yet) much of a Linux developer and I've never created a patch
> before. But I guess there's no escaping the need of learning how to do so
> very soon :)

Than this is the optimal opportunity to train it (a trivial docu patch).
And as if I had known this in advance, I posted this yesterday:

http://www.xenomai.org/index.php/Xenomai:Contributing_Patches

Feel free to ask for missing pieces or fill in further useful
information - it's a wiki.

Jan


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko
  2006-11-16 15:23 [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko Frits de Klark
  2006-11-16 15:44 ` Jan Kiszka
@ 2006-11-16 18:39 ` Wolfgang Grandegger
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Grandegger @ 2006-11-16 18:39 UTC (permalink / raw)
  To: Frits de Klark; +Cc: xenomai

Frits de Klark wrote:
> Hello everyone,
> 
> I tried to load the xeno_rtcan_mem module. I got a message that 
> parameter 'io' is unknown. After a modinfo I found out that the actual 
> parameter should be 'mem'. I suggest you fix this, since it can be 
> somewhat confusing.

Thanks for reporting. It will be fixed with my next RT-Socket-CAN update.

Wolfgang.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko
  2006-11-16 15:54   ` Frits de Klark
  2006-11-16 16:02     ` Jan Kiszka
@ 2006-11-16 19:05     ` Wolfgang Grandegger
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Grandegger @ 2006-11-16 19:05 UTC (permalink / raw)
  To: Frits de Klark; +Cc: xenomai, Jan Kiszka

Frits de Klark wrote:
> Hi,
> 
> do you mean I should have better provided a patch? I'd love to do so, 
> but I'm not (yet) much of a Linux developer and I've never created a 
> patch before. But I guess there's no escaping the need of learning how 
> to do so very soon :)

You checkout Xenomai from the SVN repository, edit the file and then "$ 
svn diff" will printout the patch. I will fix the bug in the printk

	printk(KERN_ERR "ERROR! No devices specified! "
	       "Use io=<port1>[,...] irq=<irq1>[,...]\n");
	            ^^                		
a.s.a.p.

Wolfgang.


> 
> Best regards,
> 
> Frits
> 
> On 11/16/06, *Jan Kiszka* <jan.kiszka@domain.hid <mailto:jan.kiszka@domain.hid>> 
> wrote:
> 
>     Frits de Klark wrote:
>      > Hello everyone,
>      >
>      > I tried to load the xeno_rtcan_mem module. I got a message that
>     parameter
>      > 'io' is unknown. After a modinfo I found out that the actual
>     parameter
>      > should be 'mem'. I suggest you fix this, since it can be somewhat
>      > confusing.
> 
>     I simple patch would explain better that you are referring to the
>     message in rtcan_mem_init(). And it would already fix the issue. :)
> 
>     Jan
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-16 19:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-16 15:23 [Xenomai-help] invalid parameter for xeno_rtcan_mem.ko Frits de Klark
2006-11-16 15:44 ` Jan Kiszka
2006-11-16 15:54   ` Frits de Klark
2006-11-16 16:02     ` Jan Kiszka
2006-11-16 19:05     ` Wolfgang Grandegger
2006-11-16 18:39 ` Wolfgang Grandegger

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.