From: Johann D. <jo...@do...> - 2002-07-07 09:15:30
|
On Sun, 7 Jul 2002, Brad Hards wrote: > The iforce code in 2.5.25 won't compile unless both USB and RS232 versions are > built into the kernel. Indeed. A user reported that bug this week, and I fixed it in the version for 2.4.18. I have yet to include the fix in linuxconsole CVS. > > This patch fixes the two issues: > 1. IFORCE_232 and IFORCE_USB are used in iforce-packet.c without testing if > they exist. Those symbols were both used as "enums" for bus types and as configuration options. Now IFORCE_{232,USB} is used for the bus type only, and CONFIG_JOYSTICK_IFORCE_{232,USB}. > 2. IFORCE_232 needs to be defined when the Config.in option is set as a module > or when built into the kernel. Same for IFORCE_USB. The Config.in option can only be set to "y" or "n". iforce.o is a multi-part driver, and the choice for RS232 in Config.in just tells if iforce-serio.o should be included in iforce.o. Another option decides whether iforce.o should be a module or not. > > Brad > > -- Johann Deneux |