Re: [OOPS/HACK] atmel_cs and the latest changes in sysfs/symlink.c

Marcel Holtmann
2004-04-23T21:03:11Z

Hi Russell,

> > Much nicer (well, in a wierd way at least.) It seems that the pcmcia
> > system is intregrated into the driver model. Why not push it down into
> > the individual pcmcia drivers so you don't have to do this GetSysDevice
> > kind of hack still?
>
> They're actually getting at is the PCI device, or statically allocated
> platform device, rather than anything specific to the card.
>
> Obviously this is going to create the silly scenario where people
> can attach PCMCIA device attributes to the bridge device, which
> provides the wrong API to userspace.

do you have any proposals how to fix this now? We only need the device
for loading the firmware.

Regards

Marcel