Lines Matching refs:buf1
238 char buf1[30];
245 if (bcm47xx_nvram_getenv("model_name", buf1, sizeof(buf1)) >= 0) {
247 if (!strcmp(buf1, e1->value1))
252 if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0) {
254 if (strstarts(buf1, e1->value1))
259 if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0 &&
262 if (!strstarts(buf1, e2->value1) &&
268 if (bcm47xx_nvram_getenv("productid", buf1, sizeof(buf1)) >= 0) {
270 if (!strcmp(buf1, e1->value1))
275 if (bcm47xx_nvram_getenv("ModelId", buf1, sizeof(buf1)) >= 0) {
277 if (!strcmp(buf1, e1->value1))
282 if (bcm47xx_nvram_getenv("melco_id", buf1, sizeof(buf1)) >= 0 ||
283 bcm47xx_nvram_getenv("buf1falo_id", buf1, sizeof(buf1)) >= 0) {
286 if (!strcmp(buf1, e1->value1))
291 if (bcm47xx_nvram_getenv("boot_hw_model", buf1, sizeof(buf1)) >= 0 &&
294 if (!strcmp(buf1, e2->value1) &&
300 if (bcm47xx_nvram_getenv("board_id", buf1, sizeof(buf1)) >= 0) {
302 if (!strcmp(buf1, e1->value1))
307 if (bcm47xx_nvram_getenv("boardtype", buf1, sizeof(buf1)) >= 0 &&
311 if (!strcmp(buf1, e3->value1) &&
318 if (bcm47xx_nvram_getenv("boardtype", buf1, sizeof(buf1)) >= 0 &&
322 if (!strcmp(buf1, e2->value1) &&
329 if (bcm47xx_nvram_getenv(e2->value1, buf1, sizeof(buf1)) >= 0) {
330 if (!strcmp(buf1, e2->value2))