Re: [PATCH] USB and Driver Core patches for 2.6.10

From: Greg KH (greg_at_kroah.com)
Date: 01/08/05

  • Next message: Greg KH: "Re: [PATCH] USB and Driver Core patches for 2.6.10"
    Date:	Fri, 7 Jan 2005 21:47:45 -0800
    To: linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
    
    

    ChangeSet 1.1938.446.19, 2004/12/15 16:34:18-08:00, david-b@pacbell.net

    [PATCH] USB: EHCI HCD and usb_dev->epmaxpacket (7/15)

    Makes EHCI stop referencing the udev->epmaxpacket[] arrays.

    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

     drivers/usb/host/ehci-sched.c | 3 +--
     1 files changed, 1 insertion(+), 2 deletions(-)

    diff -Nru a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
    --- a/drivers/usb/host/ehci-sched.c 2005-01-07 15:49:06 -08:00
    +++ b/drivers/usb/host/ehci-sched.c 2005-01-07 15:49:06 -08:00
    @@ -614,11 +614,10 @@
              */
             epnum = usb_pipeendpoint (pipe);
             is_input = usb_pipein (pipe) ? USB_DIR_IN : 0;
    + maxp = usb_maxpacket(dev, pipe, !is_input);
             if (is_input) {
    - maxp = dev->epmaxpacketin [epnum];
                     buf1 = (1 << 11);
             } else {
    - maxp = dev->epmaxpacketout [epnum];
                     buf1 = 0;
             }
     

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Greg KH: "Re: [PATCH] USB and Driver Core patches for 2.6.10"
    Loading