DORMANTno replies

[PATCH] add correct device link to ide-cs

From: Hannes Reinecke <hare@suse.de>
Date: 2005-08-17 13:21:01

Hi Jens,

the ide-cs driver does not create the correct device link; instead of
being connected to the appropriate PCMCIA slot it just sits und
/sys/devices. Clearly unsatisfactory.

To fix I've added a field 'dev' to include/linux/ide.h:hw_regs_t.
This is being passed over as the 'gendev.parent' link for hwif, thus
allowing us to set the device link even for non-PCI devices.

I think it's a quite sensible approach, but it's probably not for me to
decide.

Comments etc welcome.
Otherwise, please apply.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare@suse.de
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help