Hi, Leszedtem a legujabb acx100-t a netrol forrasbol (DLink DWL-120+ USB-hez). Van benne egy Makefile: obj-$(CONFIG_ACX_MAC80211) += acx-mac80211.o
acx-mac80211-obj-$(CONFIG_ACX_MAC80211_PCI) += pci.o acx-mac80211-obj-$(CONFIG_ACX_MAC80211_USB) += usb.o #acx-mac80211-objs := wlan.o conv.o ioctl.o common.o $(acx-mac80211-obj-y) acx-mac80211-objs := common.o $(acx-mac80211-obj-y) # Use this if you have proper Kconfig integration: #obj-$(CONFIG_ACX) += acx.o # #acx-obj-$(CONFIG_ACX_PCI) += pci.o #acx-obj-$(CONFIG_ACX_USB) += usb.o # #acx-objs := wlan.o conv.o ioctl.o common.o $(acx-obj-y) A README: Build instructions: * Create drivers/net/wireless/acx subdirectory inside your kernel tree. * BTW, if your kernel has drivers/net/wireless/tiacx directory, you already may have acx driver (some different version). Decide which one do you want. * Unpack tarball into drivers/net/wireless/acx directory. * Add a line to drivers/net/wireless/Makefile: obj-m += acx/ * Build your modules as usual (perhaps "make modules modules_install"). This will create acx module. Remove "acx-obj-y += usb.o" line in Makefile and "#define CONFIG_ACX_USB 1" line in acx_config.h if you want PCI-only driver. Ditto for USB-only one. ... * If you're building for the currently running kernel, build the modules with the command: make -C /lib/modules/`uname -r`/build M=`pwd` * Install the modules (must be root for this step, so use 'su' if that's your preferred method of doing root stuff) with make -C /lib/modules/`uname -r`/build M=`pwd` modules_install # **** end of README **** A Makefile-be addtam: obj-m += acx/ Futtattam: make -C /lib/modules/`uname -r`/build M=`pwd` Erre: "make: Entering directory `/usr/src/kernels/2.6.23.1-42.fc8-i686' Building modules, stage 2. MODPOST 0 modules make: Leaving directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'" A modulok nem jottek letre, hibauzenet nincs (legalabbis ez nem hibauzi, ugye?). Mit hagyok ki? Gabor _________________________________________________ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux