Bugzilla – Bug 104670
ide_cs writes wrong sysfs device link
Last modified: 2005-08-26 10:13:52 UTC
pci ide devices have a device link in bus/ide that points to devices/pci/... With ide_cs this link points to devices/ide/... and not to devices/pci/....<pcmcia_bridge>/<pcmcia_device> Can this be changed? Note: Up to now we fetched that info from /var/lib/pcmcia/stab, but since we don't have cardmgr any longer, this file does not exist anymore.
I do not have any ide_cs devices, so I can not make this change (well, can't test it at least.) Try asking upstream.
Greg, you could have asked first.
Created attachment 46282 [details] ide-cs-correct-device-link Patch to add the correct device link for ide-cs.
Christian, can you test the above patch?
Jens, can this patch go in?
patch works nice for me: UDEV [1124292378] add@/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0 UDEV [1124292378] add@/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/0.0/ide2/2.0 UDEV [1124292378] add@/block/hde
Yes, looks good! Ok to commit from my pov.
Patch added to kernel CVS, is part of Beta3.