Messages in this thread | | | Date | Tue, 6 Dec 2005 00:33:18 +0100 | From | Kay Sievers <> | Subject | Re: ide: MODALIAS support for autoloading of ide-cd, ide-disk, ... |
| |
On Tue, Dec 06, 2005 at 12:18:03AM +0100, Bartlomiej Zolnierkiewicz wrote: > On 12/5/05, Marco d'Itri <md@linux.it> wrote: > > On Dec 05, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> 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?
You mean if the hotplug script uses sysfs? It looks up the data in /proc (which is ugly, cause you have to loop until the /proc file arrives).
> > 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.
The correct way is probably to have the same MODULE_ALIAS() in ide-scsi and we just control the loaded module with the module-init-tools blacklist entry. Does that make sense to you?
Thanks, Kay - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |