On Wednesday 02 May 2007 17:07, Stephen Wille Padnos wrote: > Paul - do you know of any way to use the kernel firmware infrastructure > to load different firmware sets into multiple cards? I know the current > method of embedding the firmware in the HAL driver doesn't support that > either, but that's one goal for these cardds, to allow a user with > multiple cards in the PC to use different personalities for each card. > (at least, that's a goal of mine)
As each card matching the devce:vendor ID is claimed by your driver, simply call the firmware loader with a corresponding file name. How you determine the file name is up to you - This could be from a default list, or an array passed at load time. An alternative would be:... On Wednesday 02 May 2007 18:00, Peter C. Wallace wrote: > If you wanted the specific configuration to be associated with a specific > 5I20 card (not slot), there are some unused EEPROM locations on the 5I20 > that could be used as a driver hint. Useful - Would there be sufficient space for 16 or 32 characters ? Presumably, a trivial user space utility would be needed to "burn in" any file names.. On Wednesday 02 May 2007 18:11, John Kasunich wrote: > The new system will not have an FPGA bitfile embedded in the driver. A step in the right direction... > bfload foo.bit 0 <snip> > Load what you want, where you want it, using a simple userspace program. > Then load the driver. And as always, there is a multitude of wrong ways of doing something. This bfload is just one of them. Presumably the "what" and "where" also extends to "when" so a user can dump a new firmware blob on a live system.. Yet another example of user space binary that requires root permissions, ignores proven, stable libraries/methods in favour of NIH programming. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users