]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rt3090: remove possible conflict with rt2860
authorAxel K <rain_maker@root-forum.org>
Thu, 3 Sep 2009 19:24:19 +0000 (21:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:34 +0000 (12:02 -0700)
commit67e542457a1e98c6f8ce004ae5abe2de7a88d2d6
tree007dc758f37c78483087899803f4874858167ac3
parenta83c34340a3b66600274033641ac99b914e1c0b3
Staging: rt3090: remove possible conflict with rt2860

Both drivers (rt2860 and rt3090) register themselves as "rt2860" on
loading the module.

In the very rare case of somebody having two cards in his machine, one
using rt3090 and the other one using the rt2860 driver, loading both
modules would be impossible, the second one will not be loaded as the
kernel will tell you that the driver is already registered.

This was also present with rt2870/rt3070 (with both driver registering
as "rt2870"), but the code has been merged to one driver recently.

The follwoing patch fixes this potential problem until merging of
rt2860/rt3090 code to a single driver.

Signed-off-by: Axel Koellhofer <rain_maker@root-forum.org>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt3090/pci_main_dev.c