Re: [PATCH 2/2] usb: whci-hcd: support urbs with scatter-gather lists

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

 



On Mon, 24 Aug 2009 15:54:17 +0000 David Vrabel <david.vrabel@xxxxxxx> wrote:

> +			if (std->len + dma_len > QTD_MAX_XFER_SIZE) {
> +				dma_len = QTD_MAX_XFER_SIZE - std->len;
> +				ep = ((dma_addr + dma_len) / qset->max_packet) * qset->max_packet;
> +				dma_len = ep - dma_addr;
> +			}

Generates a call to __udivdi3 on i386, which doesn't exist.

I'm reluctant to convert it to do_div() because I can't conceive of any
situation in which it makes sense to perform division on a physical bus
address :(
--
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