some question about USB host driver

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

 



Dear all:
I have some questions about host driver:
1. why we use *dummy = *qtd instead of memcpy(dummy,qtd,sizeof(struct ehci_qtd)?
    Since *dummy = *qtd tried to copy the content of qtd which points
to to where dummy pointed to, right?

2. why we set a limitation about usbdevfs_urb, MAX_USBFS_BUFFER_SIZE (16K)?
    we don't do so with kernel urb, and why the size is 16k instead of
20k, the limitation of an qtd?

appreciate your help in advance,
miloody
--
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