mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Comment out duplicate device entry
@ 2008-06-26 15:57 Ben Collins
  2008-06-26 16:11 ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Collins @ 2008-06-26 15:57 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: kernel list

Left it commented instead of removing since it referenced a different
model name. Just avoid it getting back in by mistake, and to document
that it is supported.

Signed-off-by: Ben Collins <ben.collins@canonical.com>

diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c
index 1610a73..f0369d0 100644
--- a/drivers/net/wireless/p54/p54usb.c
+++ b/drivers/net/wireless/p54/p54usb.c
@@ -60,7 +60,7 @@ static struct usb_device_id p54u_table[] __devinitdata = {
 	{USB_DEVICE(0x0915, 0x2002)},	/* Cohiba Proto board */
 	{USB_DEVICE(0x0baf, 0x0118)},   /* U.S. Robotics U5 802.11g Adapter*/
 	{USB_DEVICE(0x0bf8, 0x1009)},   /* FUJITSU E-5400 USB D1700*/
-	{USB_DEVICE(0x0cde, 0x0006)},   /* Medion MD40900 */
+// DUPE	{USB_DEVICE(0x0cde, 0x0006)},   /* Medion MD40900 */
 	{USB_DEVICE(0x0cde, 0x0008)},	/* Sagem XG703A */
 	{USB_DEVICE(0x0d8e, 0x3762)},	/* DLink DWL-G120 Cohiba */
 	{USB_DEVICE(0x09aa, 0x1000)},	/* Spinnaker Proto board */



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Comment out duplicate device entry
  2008-06-26 15:57 [PATCH] Comment out duplicate device entry Ben Collins
@ 2008-06-26 16:11 ` Adrian Bunk
  2008-06-30  3:04   ` Michael Wu
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-06-26 16:11 UTC (permalink / raw)
  To: Ben Collins; +Cc: Linus Torvalds, kernel list, flamingice, linux-wireless

On Thu, Jun 26, 2008 at 11:57:18AM -0400, Ben Collins wrote:
> Left it commented instead of removing since it referenced a different
> model name. Just avoid it getting back in by mistake, and to document
> that it is supported.

No, it's the same the same model name (MD stands for Medion).

But it shouldn't be listed as both version 1 and version 2 device.

I've added the driver maintainer to the Cc.

> Signed-off-by: Ben Collins <ben.collins@canonical.com>
> 
> diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c
> index 1610a73..f0369d0 100644
> --- a/drivers/net/wireless/p54/p54usb.c
> +++ b/drivers/net/wireless/p54/p54usb.c
> @@ -60,7 +60,7 @@ static struct usb_device_id p54u_table[] __devinitdata = {
>  	{USB_DEVICE(0x0915, 0x2002)},	/* Cohiba Proto board */
>  	{USB_DEVICE(0x0baf, 0x0118)},   /* U.S. Robotics U5 802.11g Adapter*/
>  	{USB_DEVICE(0x0bf8, 0x1009)},   /* FUJITSU E-5400 USB D1700*/
> -	{USB_DEVICE(0x0cde, 0x0006)},   /* Medion MD40900 */
> +// DUPE	{USB_DEVICE(0x0cde, 0x0006)},   /* Medion MD40900 */
>  	{USB_DEVICE(0x0cde, 0x0008)},	/* Sagem XG703A */
>  	{USB_DEVICE(0x0d8e, 0x3762)},	/* DLink DWL-G120 Cohiba */
>  	{USB_DEVICE(0x09aa, 0x1000)},	/* Spinnaker Proto board */

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Comment out duplicate device entry
  2008-06-26 16:11 ` Adrian Bunk
@ 2008-06-30  3:04   ` Michael Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Wu @ 2008-06-30  3:04 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Ben Collins, Linus Torvalds, kernel list, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

On Thursday 26 June 2008 12:11:52 Adrian Bunk wrote:
> But it shouldn't be listed as both version 1 and version 2 device.
>
It could be both! They're a bit lazy about changing usb/pci ids with different 
cards anyway so I wouldn't be surprised. The driver differentiates the device 
version using a more reliable method anyway so it doesn't matter. This device 
id list was just copied from the islsm driver so I can't say for sure if 
there's both version 1 and version 2 devices sharing the same usb id.

-Michael Wu

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-30  3:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-26 15:57 [PATCH] Comment out duplicate device entry Ben Collins
2008-06-26 16:11 ` Adrian Bunk
2008-06-30  3:04   ` Michael Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®