Commit 3b8081aa authored by Alistair Rodger's avatar Alistair Rodger
Browse files

added definitions for calling the ioctl OS_Args (9) interface to get the...

added definitions for calling the ioctl OS_Args (9) interface to get the device id from the parallel port peripheral.

Detail:
  added a new group identification, and reasons within that group.
Admin:
  the operation of this requires version 0.63 or greater of the parallel
  device driver.  This has been tested using a simple application.

Version 1.07. Tagged as 'HdrSrc-1_07'
parent 1041f2fb
/* (1.06)
/* (1.07)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 1.06
#define Module_MajorVersion_CMHG 1.07
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 20 Oct 2000
#define Module_Date_CMHG 01 Nov 2000
#define Module_MajorVersion "1.06"
#define Module_Version 106
#define Module_MajorVersion "1.07"
#define Module_Version 107
#define Module_MinorVersion ""
#define Module_Date "20 Oct 2000"
#define Module_Date "01 Nov 2000"
#define Module_ApplicationDate2 "20-Oct-00"
#define Module_ApplicationDate4 "20-Oct-2000"
#define Module_ApplicationDate2 "01-Nov-00"
#define Module_ApplicationDate4 "01-Nov-2000"
#define Module_FullVersion "1.06"
#define Module_HelpVersion "1.06 (20 Oct 2000)"
#define Module_ComponentName "HdrSrc"
#define Module_ComponentPath "RiscOS/Sources/Programmer/HdrSrc"
#define Module_FullVersion "1.07"
#define Module_HelpVersion "1.07 (01 Nov 2000)"
......@@ -29,8 +29,9 @@
/*
* IOCtl groups
*/
#define IOCTL_GROUP_SERIAL (0)
#define IOCTL_GROUP_GENERIC (255)
#define IOCTL_GROUP_SERIAL (0)
#define IOCTL_GROUP_PARALLEL (1)
#define IOCTL_GROUP_GENERIC (255)
/*
......@@ -51,6 +52,11 @@
#define IOCTL_SERIAL_READ_IR (11)
#define IOCTL_SERIAL_SET_IR_STATUS (12)
/* Parallel - Group 1 */
#define IOCTL_PARALLEL_DEVICEID_SIZE (1) /* returns the size as an integer in data */
#define IOCTL_PARALLEL_DEVICEID_DATA (2) /* returns the size as an int, then the device id data
(excluding the size) as bytes into the memory following data */
/* Generic - Group 255 */
#define IOCTL_GENERIC_NON_BLOCKING (1)
#define IOCTL_GENERIC_BUFFER_THRES (2)
......
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