* [PATCH wireless-dev] add p54 driver
@ 2006-10-17 15:05 Michael Wu
2006-10-17 15:43 ` Dan Williams
0 siblings, 1 reply; 3+ messages in thread
From: Michael Wu @ 2006-10-17 15:05 UTC (permalink / raw)
To: netdev
[-- Attachment #1.1: Type: text/plain, Size: 630 bytes --]
(originally sent to John Linville, forgot to CC netdev..)
Hi,
The attached patch adds support for 3887 based prism54 usb wireless adaptors.
It is partially based on the islsm driver by Jean-Baptiste Note, but most of
the code is new (and uses d80211 instead of madwifi). It doesn't work
perfectly yet, but it can connect to an unsecure AP and send/receive packets
as long as you don't hit the tx code too hard. Further hardware support for
pci and net2280 usb will follow later. Also, I am unable to make it crash.
Thus, it should be in a suitable state for other developers to hack on.
Thanks,
-Michael Wu
[-- Attachment #1.2: p54patch.bz2 --]
[-- Type: application/x-bzip2, Size: 11452 bytes --]
[-- Attachment #1.3: p54-ptreg-removal --]
[-- Type: text/x-diff, Size: 1321 bytes --]
p54usb: remove struct pt_regs *
This patch is necessary to compile once the changes from 2.6.19-rc2 are merged.
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
---
drivers/net/wireless/d80211/p54/prism54usb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/d80211/p54/prism54usb.c b/drivers/net/wireless/d80211/p54/prism54usb.c
index 9427786..c38e378 100644
--- a/drivers/net/wireless/d80211/p54/prism54usb.c
+++ b/drivers/net/wireless/d80211/p54/prism54usb.c
@@ -72,7 +72,7 @@ static struct usb_device_id p54u_table[]
MODULE_DEVICE_TABLE(usb, p54u_table);
-static void p54u_rx_cb(struct urb *urb, struct pt_regs *regs)
+static void p54u_rx_cb(struct urb *urb)
{
struct sk_buff *skb = (struct sk_buff *) urb->context;
struct p54u_priv *priv = ieee80211_dev_hw_data(((struct sk_buff *)urb->context)->dev);
@@ -105,12 +105,12 @@ static void p54u_rx_cb(struct urb *urb,
usb_submit_urb(urb, GFP_ATOMIC);
}
-static void p54u_tx_cb(struct urb *urb, struct pt_regs *regs)
+static void p54u_tx_cb(struct urb *urb)
{
usb_free_urb(urb);
}
-static void p54u_tx_free_cb(struct urb *urb, struct pt_regs *regs)
+static void p54u_tx_free_cb(struct urb *urb)
{
kfree(urb->transfer_buffer);
usb_free_urb(urb);
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH wireless-dev] add p54 driver
2006-10-17 15:05 [PATCH wireless-dev] add p54 driver Michael Wu
@ 2006-10-17 15:43 ` Dan Williams
2006-10-17 15:51 ` Michael Wu
0 siblings, 1 reply; 3+ messages in thread
From: Dan Williams @ 2006-10-17 15:43 UTC (permalink / raw)
To: Michael Wu; +Cc: netdev
On Tue, 2006-10-17 at 11:05 -0400, Michael Wu wrote:
> (originally sent to John Linville, forgot to CC netdev..)
>
> Hi,
>
> The attached patch adds support for 3887 based prism54 usb wireless adaptors.
> It is partially based on the islsm driver by Jean-Baptiste Note, but most of
> the code is new (and uses d80211 instead of madwifi). It doesn't work
> perfectly yet, but it can connect to an unsecure AP and send/receive packets
> as long as you don't hit the tx code too hard. Further hardware support for
> pci and net2280 usb will follow later. Also, I am unable to make it crash.
> Thus, it should be in a suitable state for other developers to hack on.
I'm assuming this is for the softmac prism54 chipset, right?
Dan
> Thanks,
> -Michael Wu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH wireless-dev] add p54 driver
2006-10-17 15:43 ` Dan Williams
@ 2006-10-17 15:51 ` Michael Wu
0 siblings, 0 replies; 3+ messages in thread
From: Michael Wu @ 2006-10-17 15:51 UTC (permalink / raw)
To: Dan Williams; +Cc: netdev
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
On Tuesday 17 October 2006 11:43, Dan Williams wrote:
> On Tue, 2006-10-17 at 11:05 -0400, Michael Wu wrote:
> > The attached patch adds support for 3887 based prism54 usb wireless
> > adaptors. It is partially based on the islsm driver by Jean-Baptiste
> > Note, but most of the code is new (and uses d80211 instead of madwifi).
> > It doesn't work perfectly yet, but it can connect to an unsecure AP and
> > send/receive packets as long as you don't hit the tx code too hard.
> > Further hardware support for pci and net2280 usb will follow later. Also,
> > I am unable to make it crash. Thus, it should be in a suitable state for
> > other developers to hack on.
>
> I'm assuming this is for the softmac prism54 chipset, right?
>
Yes.
-Michael Wu
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-17 15:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17 15:05 [PATCH wireless-dev] add p54 driver Michael Wu
2006-10-17 15:43 ` Dan Williams
2006-10-17 15:51 ` Michael Wu
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).