ar7-atm: patch was against an older tarball, fixear7-atm: patch was against an older...
authorMatteo Croce <rootkit85@yahoo.it>
Tue, 11 Mar 2008 17:39:54 +0000 (17:39 +0000)
committerMatteo Croce <rootkit85@yahoo.it>
Tue, 11 Mar 2008 17:39:54 +0000 (17:39 +0000)
SVN-Revision: 10590

package/ar7-atm/patches/160-module-params.patch

index 6b758f558077a478627ed2fa5cbdbd920b59d030..d9f6e380e66cb2666da1a16d8fccdee2a9f2e28d 100644 (file)
@@ -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)
    {