Le lundi 17 juin 2013 21:38:42, Rafał Miłecki a écrit : > 2013/6/17 Rafał Miłecki <zajec5@xxxxxxxxx>: > > This data allow writing for example MTD driver. > > To make this a bit more clear: > > Up until now, we were detecting flash model in > driver_chipcommon_sflash.c, but nothing more than that. It was printed > and that's all. Noone could read it's details or/and use it. > > As providing an access to the flash is usually a good idea, we need an > additional MTD driver for it. Such MTD driver needs some basic info > about flash. It's mapping address and size at least. > With this patch we put all important data in struct ssb_sflash. It can > be accessed in two possible ways: > 1) With the: bus->mipscore.sflash path. How to get a reference to the > "bus"? It's an static exported symbols on some archs (bcm47xx). > 2) Directly, it "sflash" is registered as a platform driver data. My > next patch will address that. Ok, well this was probably worth a cover letter just for this, and the second patch to be posted too ;) Thanks for the explanation -- Florian -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html