correct modalias for vio devices

From: Bastian Blank
Date: Wed Oct 12 2005 - 09:06:53 EST


Hi Rusty, Dave, Santiago

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

The modules already specifies a device table, which contains two values,
type and compat. At least for pSeries they seems to be filed from the
compatible and device_type properties in the openfirmware tree. The
pSeries code checks both values, while iSeries only checks the type.

As they need a complete match, the generated modalias string for them
may:
vio:T<type>
or
vio:T<type>C<compat>

Bastian

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

Attachment: signature.asc
Description: Digital signature