The madwifi drivers don't work for the DLink dwl-ag530 wireless card as is. There is a workaround described in the url above. I think a possible solution might be to add a use flag for this card. Activation of the flag would do the following: After unpacking the source, the madwifi/ath/if_ath.c file would be modified appropriately. Then the modules would be compiled and inserted like normal. After installing and loading the modules, the ar5k utility would be run to change the country code(this would be difficult though since not everyone is in the USA) I don't know, maybe there is some greater reason why this wouldn't work, just a suggestion though. Reproducible: Always Steps to Reproduce: 1.make sure madwifi modules are loaded 2.ifconfig -a 3. Actual Results: ath0 is missing from the list of interfaces. Expected Results: I should see ath0 in the list. emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1500MHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 18:39:59)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi aim alsa apm avi bitmap-fonts cdr crypt cups curl doc dts dvd emboss encode ethereal ffmpeg flac foomaticdb freetype gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imlib ipv6 java jpeg junit lcms libg++ live mad matroska mikmod mmx mng motif mozilla mp3 mpeg msn nas ncurses nls nptl nptlonly offensive ogg oggvorbis openal opengl oss pam perl plotutils png posix ppds python quicktime readline samba scanner sdl slang slp sndfile snmp speex spell sse ssl svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis wmf wxwindows x86 xine xmms xosd xpm xprint xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Adding solar and horton to CC:
Please get the patch mentioned in the above URL accepted upstream and then reopen this bug. We will not add a patch which forces a function to return success where upstream has decided it should return a failure.