Gentoo Archives: gentoo-dev

From: "Chad M. Huneycutt" <chad.huneycutt@×××.org>
To: gentoo-dev@g.o
Cc: Ben Lutgens <lamer@g.o>
Subject: Re: [gentoo-dev] orinoco drivers not compiling: Guinea Pig Tester Request
Date: Tue, 16 Jul 2002 00:57:40
Message-Id: 3D33B5D1.8090304@acm.org
In Reply to: [gentoo-dev] orinoco drivers not compiling: Guinea Pig Tester Request by Ben Lutgens
1 Ben Lutgens wrote:
2 > I'd like to solicit your help in testing something to make sure I'm not
3 > losing my mind :-)
4 >
5 > I was getting this wierd thing where no matter what I did, i was getting no
6 > orinoco drivers compiled or installed. A little investigation showed me the
7 > following code in the wireless/Makefile in the toplevel of the source tree.
8 >
9 > ifdef DO_ORINOCO
10 > MODULES += hermes.o orinoco.o orinoco_cs.o
11 > SRCS += hermes.c orinoco.c orinoco_cs.c
12 > endif
13
14 Ben,
15 I think you are just missing a couple kernel configuration options. If
16 you take a look at the Configure script in the top-level pcmcia-cs source
17 directory, you will see that DO_ORINOCO is set based on the following
18 conditions (I didn't bother to fully track down the logic, but this should
19 get you started):
20
21 1. (most likely) -- CONFIG_NET_RADIO is configured in your kernel's .config
22 file. This is the "Wireless LAN (non-hamradio)" option in the "Network
23 Device Support" submenu.
24
25 2. [ -r /proc/net/wireless ]
26
27 3. [ ! -r ${LINUX}/include/linux/wireless.h ] ; then
28 CONFIG_NET_PCMCIA_RADIO=n
29 fi
30 (this indirectly turns DO_ORINOCO off)
31
32 The first thing above is like the alsa procedure of enabling sound but not
33 selecting any drivers. You have to configure the kernel for wireless/radio
34 support, and then pcmcia-cs's configure script enables building of the
35 orinoco modules.
36
37 I hope that clears it up for you.
38
39 --
40 Chad Huneycutt