Home
last modified time | relevance | path

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

/freebsd-13.1/sys/amd64/amd64/
H A Dmachdep.c231 char *sysenv; local
241 sysenv = kern_getenv("smbios.system.product");
242 if (sysenv != NULL) {
243 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
244 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
245 strncmp(sysenv, "MacBook4,1", 10) == 0 ||
250 strncmp(sysenv, "Macmini1,1", 10) == 0) {
256 freeenv(sysenv);
269 sysenv = kern_getenv("smbios.memory.enabled");
270 if (sysenv != NULL) {
[all …]
/freebsd-13.1/sys/i386/i386/
H A Dmachdep.c213 char *sysenv; local
223 sysenv = kern_getenv("smbios.system.product");
224 if (sysenv != NULL) {
225 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
226 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
227 strncmp(sysenv, "MacBook4,1", 10) == 0 ||
232 strncmp(sysenv, "Macmini1,1", 10) == 0) {
238 freeenv(sysenv);
255 sysenv = kern_getenv("smbios.memory.enabled");
256 if (sysenv != NULL) {
[all …]
/freebsd-13.1/sys/dev/mii/
H A Dbrgphy.c185 char *sysenv; in detect_hs21() local
189 sysenv = kern_getenv("smbios.system.product"); in detect_hs21()
190 if (sysenv == NULL) in detect_hs21()
194 strncmp(sysenv, hs21_type_lists[i].prod, in detect_hs21()
200 freeenv(sysenv); in detect_hs21()