usbparse.h (usbview-2.0) | : | usbparse.h (usbview-2.1) | ||
---|---|---|---|---|
/************************************************************************* | // SPDX-License-Identifier: GPL-2.0-only | |||
** usbparse.h for USBView - a USB device viewer | /* | |||
** Copyright (c) 1999, 2000 by Greg Kroah-Hartman, greg@kroah.com | * usbparse.h for USBView - a USB device viewer | |||
** | * Copyright (c) 1999, 2000, 2021 by Greg Kroah-Hartman, greg@kroah.com | |||
** This program is free software; you can redistribute it and/or modify | */ | |||
** it under the terms of the GNU General Public License as published by | ||||
** the Free Software Foundation; version 2 of the License. | ||||
** | ||||
** This program is distributed in the hope that it will be useful, | ||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
** GNU General Public License for more details. | ||||
** | ||||
** (See the included file COPYING) | ||||
*************************************************************************/ | ||||
#ifndef __USB_PARSE_H | #ifndef __USB_PARSE_H | |||
#define __USB_PARSE_H | #define __USB_PARSE_H | |||
/* should make these dynamic someday... */ | /* should make these dynamic someday... */ | |||
#define MAX_ENDPOINTS 32 | #define MAX_ENDPOINTS 32 | |||
#define MAX_INTERFACES 32 | #define MAX_INTERFACES 128 | |||
#define MAX_CONFIGS 32 | #define MAX_CONFIGS 32 | |||
#define MAX_CHILDREN 32 | #define MAX_CHILDREN 32 | |||
#define DEVICE_VERSION_SIZE 6 | #define DEVICE_VERSION_SIZE 6 | |||
#define DEVICE_CLASS_SIZE 10 | #define DEVICE_CLASS_SIZE 10 | |||
#define DEVICE_SUBCLASS_SIZE 3 | #define DEVICE_SUBCLASS_SIZE 3 | |||
#define DEVICE_PROTOCOL_SIZE 3 | #define DEVICE_PROTOCOL_SIZE 3 | |||
#define DEVICE_VENDOR_ID_SIZE 5 | #define DEVICE_VENDOR_ID_SIZE 5 | |||
#define DEVICE_PRODUCT_ID_SIZE 5 | #define DEVICE_PRODUCT_ID_SIZE 5 | |||
#define DEVICE_REVISION_NUMBER_SIZE 6 | #define DEVICE_REVISION_NUMBER_SIZE 6 | |||
End of changes. 2 change blocks. | ||||
17 lines changed or deleted | 6 lines changed or added |