source: projects/specs/trunk/nonfree/self-build-broadcom-wl/5_100_82_38.patch @ 4607

Revision 4607, 414 bytes checked in by shaolin, 13 years ago (diff)
  • kernel
    • updated to 3.0.1
    • TODO: still many things to get done
  • linux-firmware
    • updated to 20110731
  • nonfree/self-build-broadcom-wl
    • add a patch to fix build failure on linux > 2.6.37
  • src/wl/sys/wl_linux.c

    a b  
    482482#ifdef WL_ALL_PASSIVE 
    483483                spin_lock_init(&wl->txq_lock); 
    484484#endif  
     485#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37) 
     486                sema_init(&wl->sem, 1); 
     487#else 
    485488                init_MUTEX(&wl->sem); 
     489#endif 
    486490        } 
    487491 
    488492        if (!(wl->wlc = wlc_attach((void *) wl, vendor, device, unit, wl->piomode, 
Note: See TracBrowser for help on using the repository browser.