On Wed, 2011-02-09 at 23:03 +0200, George Kashperko wrote: > 1) > if (sb_bus) > ssb_write32(dev, (ssb_read32(dev, SSB_TMSLOW) & ~(mask << 16)) | (flags << 16)); > else > ssb_write32(dev, (ssb_read32(dev, SSB_AI_IOCTL) & ~mask) | flags)); > 2) > ssb_core_ctl_flags(dev, mask, flags, NULL); 3) The non-obfuscated way; in the driver: if (sb_bus) ssb_write32(dev, (ssb_read32(dev, SSB_TMSLOW) & ~(mask << 16)) | (flags << 16)); else ai_write32(dev, (ai_read32(dev, AI_IOCTL) & ~mask) | flags)); -- Greetings Michael. -- 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