Deleted Added
sdiff udiff text old ( 195121 ) new ( 195960 )
full compact
1/* $FreeBSD: head/sys/dev/usb/usb_transfer.c 195121 2009-06-27 21:23:30Z thompsa $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

--- 2838 unchanged lines hidden (view full) ---

2848 if (xfer1->error == USB_ERR_CANCELLED) {
2849 return (0);
2850 }
2851 break;
2852 }
2853 return (1); /* Clear Stall Finished */
2854}
2855
2856void
2857usbd_transfer_poll(struct usb_xfer **ppxfer, uint16_t max)
2858{
2859 static uint8_t once = 0;
2860 /* polling is currently not supported */
2861 if (!once) {
2862 once = 1;
2863 printf("usbd_transfer_poll: USB polling is "
2864 "not supported!\n");
2865 }
2866}
2867
2868static void
2869usbd_get_std_packet_size(struct usb_std_packet_size *ptr,
2870 uint8_t type, enum usb_dev_speed speed)
2871{
2872 static const uint16_t intr_range_max[USB_SPEED_MAX] = {

--- 142 unchanged lines hidden ---