Commit 1d4b111e authored by ROOL's avatar ROOL 🤖
Browse files

Allow the endpoint validation string to include a direction flag

However, internally we get that info from the descriptor, so mask it off.
Submission from Colin Granville.

No version number bump, it's already been incremented today.

Version 1.01. Tagged as 'NetBSD-1_01'
parent 2318e734
/* (1.00)
/* (1.01)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 1.00
#define Module_MajorVersion_CMHG 1.01
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 22 Aug 2015
#define Module_MajorVersion "1.00"
#define Module_Version 100
#define Module_MajorVersion "1.01"
#define Module_Version 101
#define Module_MinorVersion ""
#define Module_Date "22 Aug 2015"
......@@ -18,6 +18,6 @@
#define Module_ComponentName "NetBSD"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/USB/NetBSD"
#define Module_FullVersion "1.00"
#define Module_HelpVersion "1.00 (22 Aug 2015)"
#define Module_LibraryVersionInfo "1:0"
#define Module_FullVersion "1.01"
#define Module_HelpVersion "1.01 (22 Aug 2015)"
#define Module_LibraryVersionInfo "1:1"
......@@ -1960,6 +1960,9 @@ static _kernel_oserror* device_initialise
str->read_status = ReadStatus_Idle;
/* The supplied endpoint may include the direction, but mask it off internally */
if (valid->endpoint != 0xdeaddead) valid->endpoint = UE_GET_ADDR(valid->endpoint);
/* see if an interface was specified, if not then look for the interface
with the endpoint specified */
find_interface_and_endpoint
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment