Re: [PATCH] USB: net2272: driver for PLX NET2272 USB device controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 May 2011, Mike Frysinger wrote:

> From: Seth Levy <seth.levy@xxxxxxxxxxx>
> 
> This is based on the last release from PLX:
> 	http://www.plxtech.com/files/products/net2000/software/selectiontool/RE061204-net2272-linux2.6.18.tgz
> 
> I've managed to contact them and they've confirmed that this driver was
> wholly written by PLX (Seth Levy).  While they have no problem with it
> being merged (and they've already licensed it as GPL), they don't have
> any interest in doing so themselves as this is an old part for them.
> 
> ADI has long had an add-on card which has this part on it, so we've been
> keeping it up-to-date out of tree.  But now that PLX has confirmed the
> source of the driver, we can can take the next step of cleaning it up and
> getting it merged.
> 
> So here we are!  I've done quite a large clean up of the driver and
> attempted to address all the common issues.  Hopefully in the process,
> I haven't broken anything.  While it seems to still work with the board
> that I have access to, it is not a PCI variant.  So I have not tested
> any of the PCI logic myself (beyond clean compile).  Perhaps someone who
> actually has a card and cares can do so.

...

> +static struct usb_ep_ops net2272_ep_ops = {
> +	.enable        = net2272_enable,
> +	.disable       = net2272_disable,
> +
> +	.alloc_request = net2272_alloc_request,
> +	.free_request  = net2272_free_request,
> +
> +	.queue         = net2272_queue,
> +	.dequeue       = net2272_dequeue,
> +
> +	.set_halt      = net2272_set_halt,
> +	.fifo_status   = net2272_fifo_status,
> +	.fifo_flush    = net2272_fifo_flush,
> +};

The driver needs to have a .set_wedge method.  It's not hard to 
implement; you should be able to adapt the code in net2280.c.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux