Home
last modified time | relevance | path

Searched refs:sysenv (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/sys/amd64/amd64/
H A Dmachdep.c248 char *sysenv; local
258 sysenv = kern_getenv("smbios.system.product");
259 if (sysenv != NULL) {
260 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
261 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
262 strncmp(sysenv, "MacBook4,1", 10) == 0 ||
267 strncmp(sysenv, "Macmini1,1", 10) == 0) {
273 freeenv(sysenv);
286 sysenv = kern_getenv("smbios.memory.enabled");
287 if (sysenv != NULL) {
[all …]
/freebsd-12.1/sys/i386/i386/
H A Dmachdep.c237 char *sysenv; local
247 sysenv = kern_getenv("smbios.system.product");
248 if (sysenv != NULL) {
249 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
250 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
251 strncmp(sysenv, "MacBook4,1", 10) == 0 ||
256 strncmp(sysenv, "Macmini1,1", 10) == 0) {
262 freeenv(sysenv);
279 sysenv = kern_getenv("smbios.memory.enabled");
280 if (sysenv != NULL) {
[all …]
/freebsd-12.1/sys/dev/mii/
H A Dbrgphy.c182 char *sysenv; in detect_hs21() local
186 sysenv = kern_getenv("smbios.system.product"); in detect_hs21()
187 if (sysenv == NULL) in detect_hs21()
191 strncmp(sysenv, hs21_type_lists[i].prod, in detect_hs21()
197 freeenv(sysenv); in detect_hs21()