Kernel 4.9 now correctly identifies the hardware for the Raspberry Pi 3
as "BCM2835", /proc/cpuinfo contains:
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
[...]
Hardware : BCM2835
Revision : a02082
Serial : 00000000307c1569
added a function to determine the revision of the pi the program is
running on from "Revision" field in /proc/cpuinfo, also made the rev2
gpio pinmap the default