patch-2.4.9 linux/drivers/usb/serial/io_usbvend.h
Next file: linux/drivers/usb/storage/datafab.c
Previous file: linux/drivers/usb/pwc.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Aug 15 01:22:16 2001
- Orig file:
v2.4.8/linux/drivers/usb/serial/io_usbvend.h
- Orig date:
Mon Mar 19 17:21:54 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/usb/serial/io_usbvend.h linux/drivers/usb/serial/io_usbvend.h
@@ -115,7 +115,7 @@
// TxCredits value below which driver won't bother sending (to prevent too many small writes).
// Send only if above 25%
-#define EDGE_FW_GET_TX_CREDITS_SEND_THRESHOLD(InitialCredit) (max( ((InitialCredit) / 4), EDGE_FW_BULK_MAX_PACKET_SIZE ))
+#define EDGE_FW_GET_TX_CREDITS_SEND_THRESHOLD(InitialCredit) (max(int, ((InitialCredit) / 4), EDGE_FW_BULK_MAX_PACKET_SIZE))
#define EDGE_FW_BULK_MAX_PACKET_SIZE 64 // Max Packet Size for Bulk In Endpoint (EP1)
#define EDGE_FW_BULK_READ_BUFFER_SIZE 1024 // Size to use for Bulk reads
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)