Search Linux Wireless

Re: [PATCH 3/3] b43: LCN-PHY: load TX gain table on init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux