On Mon, Mar 23, 2009 at 05:26:12PM -0700, Christian Lamparter wrote: > On Monday 23 March 2009 15:29:11 Johannes Berg wrote: > > > > I think it would make sense to link them into the same module as long as > > we don't have a second user of the common code. I actually doubt we will > > see a second user of the common code at all, even if it is in theory > > possible with the hardware design. > Shh, there's a secret plan, see ar9170/main.c > > /* > * BIG FAT TODO: > * > * By the looks of things: these devices share a lot of things like > * EEPROM layout/design and PHY code with other Atheros WIFI products. > * So this driver/library will eventually become ath9k code... or vice versa ;-) > */ The MACs are completely different so if there is some code sharing possible it may be difficult to find but it would certainly be welcomed! > And the ath5k<->ath9k merge could provide some "helper" function for this > driver as well... (wishful thinking, but anyway...) Yeah we'll see. > Meanwhile, what about a config option that can be enabled to > integrate everything into the front-end module (ar9170usb)? > ( However, I don't think this config solution will stand a chance ;-) > and we all come to the same "all-in-one works best" conclusion. ) Future Atheros 11n USB devices will use a different MAC and therefore expect them to be different. I am not sure if in the future we can share but I won't know for sure for a little while. Its your driver though so your call. I also just don't see where things can be immediately shared right now but do welcome the work to do so. Luis -- 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