Show
Ignore:
Timestamp:
06/08/07 17:35:42 (2 years ago)
Author:
tg
Message:

unbreak hotplugging buttons (and with that, failsafe, I think)
on brcm-2.4 – this change may break other platforms, and I don't
care the least little bit; this has cost me a whole f.cking day

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/broadcom-diag/diag.c

    r2504 r2749  
    2929#include <asm/uaccess.h> 
    3030 
    31 #define hotplug_path uevent_helper 
     31//#define hotplug_path uevent_helper 
    3232 
    3333#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) 
     
    711711 
    712712                        i = 0; 
    713                         //event->argv[i++] = hotplug_path; 
     713                        event->argv[i++] = hotplug_path; 
    714714                        event->argv[i++] = "button"; 
    715715                        event->argv[i] = 0;