Commit e6be710e authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Set aside Dib slot numbers for up to 16 USB buses.

Remove definition of "Bad SWI" (0x1E6) since it's not a TCPIPLib error.
Add defines for the protocol & driver starting/dying service calls.
This corresponds to DCI 4.06.

Version 5.55. Tagged as 'TCPIPLibs-5_55'
parent 1f3fcbfe
/* (5.54)
/* (5.55)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 5.54
#define Module_MajorVersion_CMHG 5.55
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 09 May 2012
#define Module_Date_CMHG 18 May 2012
#define Module_MajorVersion "5.54"
#define Module_Version 554
#define Module_MajorVersion "5.55"
#define Module_Version 555
#define Module_MinorVersion ""
#define Module_Date "09 May 2012"
#define Module_Date "18 May 2012"
#define Module_ApplicationDate "09-May-12"
#define Module_ApplicationDate "18-May-12"
#define Module_ComponentName "TCPIPLibs"
#define Module_ComponentPath "mixed/RiscOS/Sources/Lib/TCPIPLibs"
#define Module_FullVersion "5.54"
#define Module_HelpVersion "5.54 (09 May 2012)"
#define Module_LibraryVersionInfo "5:54"
#define Module_FullVersion "5.55"
#define Module_HelpVersion "5.55 (18 May 2012)"
#define Module_LibraryVersionInfo "5:55"
......@@ -65,7 +65,7 @@
#if !defined(__sys_dcistructs_h)
#define __sys_dcistructs_h
#define DCIVERSION 405
#define DCIVERSION 406
/*
* DCI 4 service calls
......@@ -120,9 +120,9 @@
/*
* official DCI4 error block.
*
* the bottom 128 bytes are used to hold UNIX style error
* the bottom 128 numbers are used to hold UNIX style error
* numbers, e.g. 12 = ENOMEM, 65 = EHOSTUNREACH. the top
* 128 bytes hold various special error numbers
* 128 numbers hold various special error numbers
*
* 950112 KWelton
*
......@@ -163,7 +163,6 @@
#define INETERR_MLCFAIL (SPECIFICERRORBASE + 5)
#define INETERR_TXBLOCKED (SPECIFICERRORBASE + 6)
#define INETERR_FILTERGONE (SPECIFICERRORBASE + 7)
#define INETERR_INVALIDSWI 0x1e6
/*
* offsets into driver's SWI chunk
......@@ -186,6 +185,13 @@ typedef struct slot
sl_minor:8,
sl_pcmciaslot:5,
sl_mbz:11;
#define DIB_SLOT_PODULE(n) (0 +((n) & 0xF)) /* Podules = 0-7 and NIC = 8 */
#define DIB_SLOT_PCI(n) (16+((n) & 0xF))
#define DIB_SLOT_USB_BUS(n) (32+((n) & 0xF)) /* sl_minor = device number on that bus */
#define DIB_SLOT_PARALLEL 128
#define DIB_SLOT_SERIAL 129
#define DIB_SLOT_ECONET 130
#define DIB_SLOT_PCMCIA 131 /* sl_pcmciaslot = slot on that interface */
} Slot, *SlotRef;
/*
......@@ -212,6 +218,14 @@ typedef struct chaindib
struct dib *chd_dib;
} ChDib, *ChDibRef;
/*
* reasons to driver and protocol status service calls
*/
#define DCIDRIVER_STARTING 0
#define DCIDRIVER_DYING 1
#define DCIPROTOCOL_STARTING 0
#define DCIPROTOCOL_DYING 1
/*
* structure of header passed into Rx frame handler
*/
......
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