All of lore.kernel.org
 help / color / mirror / Atom feed
* modalias entries for ccw devices
@ 2005-10-12 14:12 Bastian Blank
  2005-10-12 14:36 ` Martin Schwidefsky
  0 siblings, 1 reply; 5+ messages in thread
From: Bastian Blank @ 2005-10-12 14:12 UTC (permalink / raw)
  To: Martin Schwidefsky; +Cc: linux-kernel

Hi Martin

The ccw devices currently don't have a modalias spec in sysfs. This
makes it impossible to ask udev for loading the modules.

Are there any patches pending?

Bastian

-- 
There is a multi-legged creature crawling on your shoulder.
		-- Spock, "A Taste of Armageddon", stardate 3193.9

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

* Re: modalias entries for ccw devices
  2005-10-12 14:12 modalias entries for ccw devices Bastian Blank
@ 2005-10-12 14:36 ` Martin Schwidefsky
  2005-10-12 15:48   ` Bastian Blank
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Schwidefsky @ 2005-10-12 14:36 UTC (permalink / raw)
  To: Bastian Blank; +Cc: linux-kernel

On Wed, 2005-10-12 at 16:12 +0200, Bastian Blank wrote:

Hi Bastian,

> The ccw devices currently don't have a modalias spec in sysfs. This
> makes it impossible to ask udev for loading the modules.

Hmm, never heard of modalias. Arnd has done the module loading for ccw
devices. That must be something rather new.

> Are there any patches pending?

No, but as far as I can tell after glancing at the modalias
implementation in usb this would make sense for ccw as well.

-- 
blue skies,
   Martin

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH



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

* Re: modalias entries for ccw devices
  2005-10-12 14:36 ` Martin Schwidefsky
@ 2005-10-12 15:48   ` Bastian Blank
  2005-10-12 16:11     ` Martin Schwidefsky
  0 siblings, 1 reply; 5+ messages in thread
From: Bastian Blank @ 2005-10-12 15:48 UTC (permalink / raw)
  To: Martin Schwidefsky; +Cc: linux-kernel

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

On Wed, Oct 12, 2005 at 04:36:58PM +0200, Martin Schwidefsky wrote:
> Hmm, never heard of modalias. Arnd has done the module loading for ccw
> devices. That must be something rather new.

Yes, it is rather new.

> No, but as far as I can tell after glancing at the modalias
> implementation in usb this would make sense for ccw as well.

Hmm, I don't find device tables in ctc.ko and lcs.ko, can that be fixed
at the same time?

Hmm, something else. Wasn't there a cu type or device type clash between
escon and lcs, or was that only related to chan types reported by the
2.4 kernels?

Bastian

-- 
Emotions are alien to me.  I'm a scientist.
		-- Spock, "This Side of Paradise", stardate 3417.3

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: modalias entries for ccw devices
  2005-10-12 15:48   ` Bastian Blank
@ 2005-10-12 16:11     ` Martin Schwidefsky
  2005-10-12 16:37       ` Bastian Blank
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Schwidefsky @ 2005-10-12 16:11 UTC (permalink / raw)
  To: Bastian Blank; +Cc: linux-kernel

On Wed, 2005-10-12 at 17:48 +0200, Bastian Blank wrote:
> > No, but as far as I can tell after glancing at the modalias
> > implementation in usb this would make sense for ccw as well.
> 
> Hmm, I don't find device tables in ctc.ko and lcs.ko, can that be fixed
> at the same time?

That is because ctc and lcs are group device drivers. The ccw device
driver is the cu3088 driver. You'll get an lcs/ctc device by "grouping"
two of the cu3088 device together.

> Hmm, something else. Wasn't there a cu type or device type clash between
> escon and lcs, or was that only related to chan types reported by the
> 2.4 kernels?

Yes, the 2.6 group devices have emerged from the 2.4 chandev devices
(and thank god that we got rid of that junk).

-- 
blue skies,
   Martin

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH



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

* Re: modalias entries for ccw devices
  2005-10-12 16:11     ` Martin Schwidefsky
@ 2005-10-12 16:37       ` Bastian Blank
  0 siblings, 0 replies; 5+ messages in thread
From: Bastian Blank @ 2005-10-12 16:37 UTC (permalink / raw)
  To: Martin Schwidefsky; +Cc: linux-kernel

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

On Wed, Oct 12, 2005 at 06:11:12PM +0200, Martin Schwidefsky wrote:
> That is because ctc and lcs are group device drivers. The ccw device
> driver is the cu3088 driver. You'll get an lcs/ctc device by "grouping"
> two of the cu3088 device together.

Okay. But should work anyway.

I implemented it half through, will test that tomorrow.

Bastian

-- 
There are always alternatives.
		-- Spock, "The Galileo Seven", stardate 2822.3

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2005-10-12 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-12 14:12 modalias entries for ccw devices Bastian Blank
2005-10-12 14:36 ` Martin Schwidefsky
2005-10-12 15:48   ` Bastian Blank
2005-10-12 16:11     ` Martin Schwidefsky
2005-10-12 16:37       ` Bastian Blank

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.