W dniu 3 września 2011 21:01 użytkownik Rafał Miłecki <zajec5@xxxxxxxxx> napisał: > Values and ops were taken from MMIO dump of wl. struct was copied from > brcmsmac. To get table I've simply used vim and RegExp plus find&replace: :%s/phy_write(0x0455) <- 0x....\n phy_read(0x0456) -> 0x....\n phy_read(0x0457) -> 0x....\n\(.*\n.*\n.*\n\)/\1\r/ :%s/phy_write(0x0455) <- 0x....\nphy_write(0x0457) <- 0x\(....\)\nphy_write(0x0456) <- 0x\(....\)/0x\1\2/ :%s/0x\(..\)\(..\)\(..\)\(..\)\n0x\(.\)\(..\).....\n/\t{ 0x\4, 0x\3, 0x\2, 0x\5, 0x\6 },/ -- Rafał -- 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