netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcin Juszkiewicz <linux-arm@hrw.one.pl>
To: Pavel Roskin <proski@gnu.org>, netdev@vger.kernel.org
Cc: Jeff Garzik <jeff@garzik.org>, Jouni Malinen <jkmaline@cc.hut.fi>,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [PATCH 3/6] new pcmcia IDs for hostap
Date: Wed, 17 May 2006 10:36:03 +0200	[thread overview]
Message-ID: <200605171036.05164.linux-arm@hrw.one.pl> (raw)
In-Reply-To: <1147814144.14914.38.camel@dv>

Dnia wtorek, 16 maja 2006 23:15, Pavel Roskin napisał:
> On Tue, 2006-05-16 at 17:24 +0200, Marcin Juszkiewicz wrote:

> >   product info: "D-Link", "DCF-660W", "", ""
> >   manfid: 0xd601, 0x0005

> This manfid is in the driver already,

dropped then

> >   product info: "NETGEAR", "MA701 Wireless CF Card", ""
> >   manfid: 0xd601, 0x0002

> This manfid is in the driver too.

dropped

> >   product info:"PLANEX COMMUNICATION INC", "PLANEX GW-CF11X Wireless CF Card", "", ""
> >   manfid: 0xd601, 0x0010 

> This manfid is in the driver.

dropped

> >   product info: "U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02", ""
> >   manfid: 0x0156, 0x0002 

> Yes, that's needed.  I was thinking maybe we could have a macro to match
> manfid and the third string.  0x0156, 0x0002 and "Version 01.02" only
> appear for Prism based cards.

> > +	PCMCIA_DEVICE_PROD_ID1234("ASUS", "802_11B_CF_CARD_25", "Version 01.00", "",
> > +		0x78fc06ee, 0x45a50c1e, 0xa57adb8c, 0x00000000), 

> I think it would be better to omit the empty string.  It's mostly a
> matter of taste, but if there are cards with the same ID except the
> fourth string, they would be almost definitely compatible.
>
> This entry shouldn't be needed because the manfid 0x02aa, 0x0002 is
> already in the driver.

dropped

> > +	PCMCIA_DEVICE_PROD_ID123(
> > +		"Pretec", "CompactWLAN Card 802.11b", "2.5",
> > +		0x1cadd3e5, 0xe697636c, 0x7a5bfcf1),
>
> That's a good one.

That one I sent to You, lkml over month ago but you had it already in 
24-hostap_cs_id.diff patch (which you told later to ignore).

> > +	PCMCIA_DEVICE_PROD_ID1234(
> > +		"U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02", ""
> > +		0xc7b8df9d, 0x1700d087, 0x4b74baa0, 0x00000000),
>
> Another useful entry, but please don't match the empty string.

updated:

Platform: Sharp Zaurus C760 running 2.6.16 and pcmciautils 013.

root@c7x0:~# pccardctl ident
Socket 0:
  product info: "Pretec", "CompactWLAN Card 802.11b", "2.5"
  manfid: 0x0156, 0x0002
  function: 6 (network)

==========================================================================
From: Jochen Friedrich 

Yet another card known to work OK with hostap_cs:

# pccardctl ident
Socket 0:
  no product info available
Socket 1:
  product info: "U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02", ""
  manfid: 0x0156, 0x0002
  function: 6 (network)

==========================================================================

Signed-off-by: Marcin Juszkiewicz <openembedded@hrw.one.pl>

 drivers/net/wireless/hostap/hostap_cs.c |    6 ++++++
 1 file changed, 6 insertions(+)

Index: linux/drivers/net/wireless/hostap/hostap_cs.c
===================================================================
--- linux.orig/drivers/net/wireless/hostap/hostap_cs.c	2006-05-17 10:23:00.000000000 +0200
+++ linux/drivers/net/wireless/hostap/hostap_cs.c	2006-05-17 10:25:45.000000000 +0200
@@ -923,6 +923,12 @@
 	PCMCIA_DEVICE_PROD_ID12(
 		"ZoomAir 11Mbps High", "Rate wireless Networking",
 		0x273fe3db, 0x32a1eaee),
+	PCMCIA_DEVICE_PROD_ID123(
+		"Pretec", "CompactWLAN Card 802.11b", "2.5",
+		0x1cadd3e5, 0xe697636c, 0x7a5bfcf1),
+	PCMCIA_DEVICE_PROD_ID123(
+		"U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02",
+		0xc7b8df9d, 0x1700d087, 0x4b74baa0),
 	PCMCIA_DEVICE_NULL
 };
 MODULE_DEVICE_TABLE(pcmcia, hostap_cs_ids);


-- 
JID: hrw-jabber.org
Sharp Zaurus C-760 (OZ 3.5.x)
OpenEmbedded/OpenZaurus/OPIE developer

   Fear leads to anger, anger leads to hate, hate... leads to suffering.
   		-- Yoda

  reply	other threads:[~2006-05-17  8:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 14:21 [PATCH 3/6] new pcmcia IDs for hostap - NETGEAR MA701 Marcin Juszkiewicz
2006-05-16 14:38 ` Jeff Garzik
2006-05-16 14:48   ` Marcin Juszkiewicz
2006-05-16 15:01     ` Jeff Garzik
2006-05-16 15:24   ` [PATCH 3/6] new pcmcia IDs for hostap Marcin Juszkiewicz
2006-05-16 21:15     ` Pavel Roskin
2006-05-17  8:36       ` Marcin Juszkiewicz [this message]
2006-05-17 18:45         ` John W. Linville
2006-05-17 22:03         ` Pavel Roskin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200605171036.05164.linux-arm@hrw.one.pl \
    --to=linux-arm@hrw.one.pl \
    --cc=jeff@garzik.org \
    --cc=jkmaline@cc.hut.fi \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    --cc=proski@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).