Skip to contentSkip to conversation

modalias entries for ccw devices

DISCUSSION Bastian Blank 2 participants 5 messages Oct 12, 2005

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
There is a multi-legged creature crawling on your shoulder.
		-- Spock, "A Taste of Armageddon", stardate 3193.9
#1 lore raw

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

Hi Bastian,

Quoted 2 lines

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.

Quoted 1 line

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.

Signature · 6 lines
blue skies,
   Martin

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH
#2 lore raw
Quoted 2 lines · Martin Schwidefsky

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.

Quoted 2 lines

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

Signature · 2 lines
Emotions are alien to me.  I'm a scientist.
		-- Spock, "This Side of Paradise", stardate 3417.3
#3 lore raw
Quoted 5 lines · Bastian Blank
Quoted 2 lines

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.

Quoted 3 lines

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).

Signature · 6 lines
blue skies,
   Martin

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH
#4 lore raw
Quoted 3 lines · Martin Schwidefsky

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

Signature · 2 lines
There are always alternatives.
		-- Spock, "The Galileo Seven", stardate 2822.3