summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam Alford <liam@smithmyers.com>2013-11-21 13:55:42 +0000
committerSimon Josefsson <simon@josefsson.org>2014-08-10 13:45:02 +0200
commitb0848274dde56559e6966d5f8f8ab4df1a6f53d7 (patch)
tree7e2f227e31bbed80c80c60ffa034d8cb29edc7c5
parent538f11523390abda1e6a6a62c4faf7c909b9b3b2 (diff)
downloadhardware_samsung-replicant-4.2.zip
hardware_samsung-replicant-4.2.tar.gz
hardware_samsung-replicant-4.2.tar.bz2
After finding some i9300 devices who's MAC addresses were missing from the list, i searched for all murata MAC's and thought it wise to add them. Change-Id: I9e0db81cf2b1809b37b1660a4763db82699dd452
-rw-r--r--macloader/macloader.cpp26
1 files changed, 20 insertions, 6 deletions
diff --git a/macloader/macloader.cpp b/macloader/macloader.cpp
index 16b0e1b..313de60 100644
--- a/macloader/macloader.cpp
+++ b/macloader/macloader.cpp
@@ -61,14 +61,28 @@ int main() {
return -1;
}
- /* murata */
- if (strncasecmp(mac_addr_half, "00:37:6d", 9) == 0 ||
- strncasecmp(mac_addr_half, "88:30:8a", 9) == 0 ||
+ /* murata
+ ref: http://hwaddress.com/?q=ACT */
+ if (strncasecmp(mac_addr_half, "00:0e:6d", 9) == 0 ||
+ strncasecmp(mac_addr_half, "00:13:e0", 9) == 0 ||
+ strncasecmp(mac_addr_half, "00:21:e8", 9) == 0 ||
+ strncasecmp(mac_addr_half, "00:26:e8", 9) == 0 ||
+ strncasecmp(mac_addr_half, "00:37:6d", 9) == 0 ||
+ strncasecmp(mac_addr_half, "00:60:57", 9) == 0 ||
+ strncasecmp(mac_addr_half, "04:46:65", 9) == 0 ||
+ strncasecmp(mac_addr_half, "10:5f:06", 9) == 0 ||
+ strncasecmp(mac_addr_half, "10:a5:D0", 9) == 0 ||
+ strncasecmp(mac_addr_half, "1c:99:4c", 9) == 0 ||
+ strncasecmp(mac_addr_half, "14:7d:c5", 9) == 0 ||
strncasecmp(mac_addr_half, "20:02:af", 9) == 0 ||
- strncasecmp(mac_addr_half, "5c:f8:a1", 9) == 0 ||
strncasecmp(mac_addr_half, "40:f3:08", 9) == 0 ||
- strncasecmp(mac_addr_half, "f0:27:65", 9) == 0 ||
- strncasecmp(mac_addr_half, "60:21:c0", 9) == 0) {
+ strncasecmp(mac_addr_half, "44:a7:cf", 9) == 0 ||
+ strncasecmp(mac_addr_half, "5c:da:d4", 9) == 0 ||
+ strncasecmp(mac_addr_half, "5c:f8:a1", 9) == 0 ||
+ strncasecmp(mac_addr_half, "78:4B:87", 9) == 0 ||
+ strncasecmp(mac_addr_half, "60:21:c0", 9) == 0 ||
+ strncasecmp(mac_addr_half, "88:30:8a", 9) == 0 ||
+ strncasecmp(mac_addr_half, "f0:27:65", 9) == 0) {
type = MURATA;
}