Search Linux Wireless

Re: [PATCH V2 1/2] brcmutil: add helper function to format board revision

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

 



On 11/25/14 21:39, Rafał Miłecki wrote:
On 25 November 2014 at 20:55, Arend van Spriel<arend@xxxxxxxxxxxx>  wrote:
+/* Produce a human-readable string for boardrev */
+char *brcmu_boardrev_str(u32 brev, char *buf)
+{
+       char c;
+
+       if (brev<  0x100) {
+               snprintf(buf, 8, "%d.%d", (brev&  0xf0)>>  4, brev&  0xf);
+       } else {
+               c = (brev&  0xf000) == 0x1000 ? 'P' : 'A';
+               snprintf(buf, 8, "%c%03x", c, brev&  0xfff);
+       }
+       return buf;
+}

Is this known what do 'P' and 'A' mean? Just curious.

Me too, but never found out ;-) The test boards I have over here all have 'P' prefix.

Regards,
Arend
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux