rt73usb: support for wireless in Kohjinsha subnotebook

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: kernel list <linux-kernel@...>, <linux-wireless@...>, <rt2400-devel@...>, <mwallis@...>
Date: Saturday, October 20, 2007 - 2:41 pm

Hi!

Kohjinsha subnotebook seems to contain wifi with USB IDs 0x18e8,
0x6206... I hope that to be compatible with
net/wireless/rt2x00/rt73usb.c .

[Sidenote: could we add some real author info into rt73usb.c?]

I did this on 2.6.23-rc8-mm1 kernel (The RT hack may not be
neccessary), but then it oopses somewhere in softmac layer. I'll try
to play with it some more.

If you have any ideas, let me know.
								Pavel

--- clean-mm/drivers/net/wireless/rt2x00/rt73usb.c	2007-10-09 09:32:08.000000000 +0200
+++ linux-mm/drivers/net/wireless/rt2x00/rt73usb.c	2007-10-19 22:19:45.000000000 +0200
@@ -1580,7 +1580,6 @@
 
 	if (!rt2x00_rev(&rt2x00dev->chip, 0x25730)) {
 		ERROR(rt2x00dev, "Invalid RT chipset detected.\n");
-		return -ENODEV;
 	}
 
 	if (!rt2x00_rf(&rt2x00dev->chip, RF5226) &&
@@ -1588,7 +1587,6 @@
 	    !rt2x00_rf(&rt2x00dev->chip, RF5225) &&
 	    !rt2x00_rf(&rt2x00dev->chip, RF2527)) {
 		ERROR(rt2x00dev, "Invalid RF chipset detected.\n");
-		return -ENODEV;
 	}
 
 	/*
@@ -2080,6 +2078,7 @@
 	{ USB_DEVICE(0x148f, 0x2671), USB_DEVICE_DATA(&rt73usb_ops) },
 	/* Qcom */
 	{ USB_DEVICE(0x18e8, 0x6196), USB_DEVICE_DATA(&rt73usb_ops) },
+	{ USB_DEVICE(0x18e8, 0x6206), USB_DEVICE_DATA(&rt73usb_ops) },
 	{ USB_DEVICE(0x18e8, 0x6229), USB_DEVICE_DATA(&rt73usb_ops) },
 	{ USB_DEVICE(0x18e8, 0x6238), USB_DEVICE_DATA(&rt73usb_ops) },
 	/* Senao */

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
rt73usb: support for wireless in Kohjinsha subnotebook, Pavel Machek, (Sat Oct 20, 2:41 pm)
Re: rt73usb: support for wireless in Kohjinsha subnotebook, Arjan van de Ven, (Tue Oct 23, 12:13 pm)
Re: rt73usb: support for wireless in Kohjinsha subnotebook, Daniel Hazelton, (Mon Oct 22, 5:42 pm)
Re: rt73usb: support for wireless in Kohjinsha subnotebook, Daniel Hazelton, (Tue Oct 23, 1:07 pm)
Re: rt73usb: support for wireless in Kohjinsha subnotebook, Daniel Hazelton, (Tue Oct 23, 3:41 pm)
Re: rt73usb: support for wireless in Kohjinsha subnotebook, Daniel Hazelton, (Tue Oct 23, 6:19 pm)
Re: rt73usb: support for wireless in Kohjinsha subnotebook, Christoph Hellwig, (Tue Oct 23, 5:08 am)