Re: ide: MODALIAS support for autoloading of ide-cd, ide-disk, ...

From: Bartlomiej Zolnierkiewicz
Date: Mon Dec 05 2005 - 18:36:27 EST


And after more careful inspection....

$ tree /sys/bus/ide/devices/0.0/
/sys/bus/ide/devices/0.0/
|-- block -> ../../../../../block/hda
|-- bus -> ../../../../../bus/ide
|-- driver -> ../../../../../bus/ide/drivers/ide-disk
|-- power
| |-- state
| `-- wakeup
`-- uevent

this is with the standard kernel without this patch.

Key, could you please explain what this patch actually *does*
(besides adding MODALIAS support) to such sysfs dummy as me?

Thanks,
Bartlomiej

On 12/6/05, Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx> wrote:
> On 12/5/05, Marco d'Itri <md@xxxxxxxx> wrote:
> > On Dec 05, Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx> wrote:
> >
> > > Looks fine but what about ide-scsi driver and ide_optical media?
> > The Debian hotplug script, which does the same thing, does not know
> > about these modules and nobody ever complained, so if some support is
>
> Does the hotplug script export kernel sysfs attributes?
>
> > needed it can be added later.
>
> The problem is that you get wrong data for "modalias" sysfs attribute
> for ide-scsi module (because "modalias" is based on the media type).
>
> Until this is issue solved I can't accept this patch.
>
> > (And ide-scsi is dead anyway...)
>
> ide-scsi is the only way to support some devices currently
>
> Bartlomiej
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/