X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/84818f6c0ba663210f0f6de2659457c607118e69..5b0a7225a5c1363a5b86535248799f77c0ce4fbd:/package/ar7-atm/patches/160-module-params.patch?ds=inline diff --git a/package/ar7-atm/patches/160-module-params.patch b/package/ar7-atm/patches/160-module-params.patch index 6b758f558..d9f6e380e 100644 --- a/package/ar7-atm/patches/160-module-params.patch +++ b/package/ar7-atm/patches/160-module-params.patch @@ -164,8 +164,8 @@ diff -urN sangam_atm-07.02.01.00/tn7atm.c sangam_atm-07.02.01.00.mod/tn7atm.c char esi_addr[ESI_LEN] = { 0x00, 0x00, 0x11, 0x22, 0x33, 0x44 }; char *esiaddr_str = NULL; -- esiaddr_str = prom_getenv ("macc"); -+ esiaddr_str = mp_macc ? mp_macc : prom_getenv ("macc"); +- esiaddr_str = prom_getenv ("maca"); ++ esiaddr_str = mp_macc ? mp_macc : prom_getenv ("maca"); if (!esiaddr_str) {