sample: eliminate clever code to determine which proc file is accessed
[madwifi/.git] / patch-kernel / README
1 This directory contains the bits needed to integrate the Madwifi source
2 distribution into a Linux kernel source tree.  This is only recommended
3 on embedded systems with no kernel module support.  For standard
4 installation, please refer to the files in the top level directory.
5
6 To integrate MadWifi into the Linux kernel, unpack the kernel sources if
7 needed, then run the install.sh script from this directory.
8
9 If you want to patch the currently running system you can run install.sh
10 without arguments, otherwise specify the source tree location on the
11 command line:
12
13 ./install.sh /usr/src/linux
14
15 The driver sources will be copied into drivers/net/wireless/madwifi in
16 the kernel sources.  Some kernel files will be patched to know about
17 this directory.  Files called Makefile.kernel will be renamed to
18 Makefile.
19
20 Now you can run "make menuconfig" or similar command and configure the
21 driver as you would normally do.  If the kernel is already configured,
22 run "make oldconfig", and you'll be asked only about Atheros driver.
23
24 It's possible to build Madwifi modules when the driver is integrated
25 into the Linux kernel, but most users should not need that.