Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#15 rtl8180 for 2.6.22

open
nobody
None
5
2007-08-29
2007-08-29
No

This is a port of Ivan Majhen's mods to recent svn. It works for me on update kernels for Fedora 7 wihout removing any original modules.

Please test.

Discussion

  • gils0040
    gils0040
    2007-08-31

    Logged In: YES
    user_id=1880184
    Originator: NO

    Hi,
    Thanks for this! I am getting many build errors, however. They are all the same:
    localhost rtl8180-0.22_pre20070726 # make
    make -C /lib/modules/2.6.22-suspend2-r1/build SUBDIRS=/home/ben/rtl8180-0.22_pre20070726 M=/home/ben/rtl8180-0.22_pre20070726 modules
    make[1]: Entering directory `/usr/src/linux-2.6.22-suspend2-r1'
    CC [M] /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.o
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'rtl_ieee80211_associate_abort':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:888: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:888: error: (Each undeclared identifier is reported only once
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:888: error: for each function it appears in.)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'rtl_ieee80211_associate_step1':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:913: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'rtl_ieee80211_auth_challenge':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:950: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'rtl_ieee80211_associate_step2':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:968: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'rtl_ieee80211_associate_complete':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:1008: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'auth_parse':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:1145: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'auth_rq_parse':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:1170: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'assoc_rq_parse':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:1228: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'assoc_parse':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:1243: error: 'ieee80211_debug_level' undeclared (first use in this function)
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c: In function 'rtl_ieee80211_rx_frame_softmac':
    /home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.c:1511: error: 'ieee80211_debug_level' undeclared (first use in this function)
    make[2]: *** [/home/ben/rtl8180-0.22_pre20070726/rtl_ieee80211_softmac.o] Error 1
    make[1]: *** [_module_/home/ben/rtl8180-0.22_pre20070726] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.22-suspend2-r1'
    make: *** [modules] Error 2

    Thanks

     
  • Logged In: NO

    I have the same errors.
    Can you fix it? I can't compile rtl8180-0.21 driver at my gentoo-kernel (2.6.22).

     
  • Logged In: YES
    user_id=286510
    Originator: YES

    Please try to add a rtl_ prefix to the variable ieee80211_debug_level in line 119 of ieee80211.h .
    The line should read:
    ...
    do { if (rtl_ieee80211_debug_level & (level)) \ ...
    This line is inside #ifdef, and my Fedora 7 uses the other option.
    Let me know the results.

     
  • Robert Havens
    Robert Havens
    2007-09-30

    Logged In: YES
    user_id=1902446
    Originator: NO

    Thank you Wojciech,

    This got me up and running again!

    (I have a Linksys WPC11 ver.4 on a Gentoo laptop)