Commit ed078bac authored by John Ballance's avatar John Ballance
Browse files

Export missing Inet$EtherType Var Val

Detail:
Admin:


Version 0.28. Tagged as 'EtherTH-0_28'
parent 3acca2c0
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.27"
Module_Version SETA 27
Module_MajorVersion SETS "0.28"
Module_Version SETA 28
Module_MinorVersion SETS ""
Module_Date SETS "27 Apr 2017"
Module_ApplicationDate SETS "27-Apr-17"
Module_Date SETS "28 Apr 2017"
Module_ApplicationDate SETS "28-Apr-17"
Module_ComponentName SETS "EtherTH"
Module_ComponentPath SETS "mixed/RiscOS/Sources/Networking/Ethernet/EtherTH"
Module_FullVersion SETS "0.27"
Module_HelpVersion SETS "0.27 (27 Apr 2017)"
Module_FullVersion SETS "0.28"
Module_HelpVersion SETS "0.28 (28 Apr 2017)"
END
/* (0.27)
/* (0.28)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.27
#define Module_MajorVersion_CMHG 0.28
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 27 Apr 2017
#define Module_Date_CMHG 28 Apr 2017
#define Module_MajorVersion "0.27"
#define Module_Version 27
#define Module_MajorVersion "0.28"
#define Module_Version 28
#define Module_MinorVersion ""
#define Module_Date "27 Apr 2017"
#define Module_Date "28 Apr 2017"
#define Module_ApplicationDate "27-Apr-17"
#define Module_ApplicationDate "28-Apr-17"
#define Module_ComponentName "EtherTH"
#define Module_ComponentPath "mixed/RiscOS/Sources/Networking/Ethernet/EtherTH"
#define Module_FullVersion "0.27"
#define Module_HelpVersion "0.27 (27 Apr 2017)"
#define Module_LibraryVersionInfo "0:27"
#define Module_FullVersion "0.28"
#define Module_HelpVersion "0.28 (28 Apr 2017)"
#define Module_LibraryVersionInfo "0:28"
......@@ -388,6 +388,11 @@ _kernel_oserror* device_new(int unit, HalEtherDevice_t* hal_device, void* pw)
dev->hal_device->phy.clear(1, dev->hal_pw);
dev->hal_device->phy.enable(1, dev->hal_pw);
/* set our Inet$EtherType variable */
char dn[strlen(MODULE_DCI_NAME)+4];
sprintf(dn,"%s%1d",dev->dib.dib_name,dev->dib.dib_unit);
_swix(OS_SetVarVal,_INR(0,4),"Inet$EtherType",dn,strlen(dn),0,4);
/* Announce Driver */
_swix(OS_ServiceCall, _INR(0,3), &(dev->dib), Service_DCIDriverStatus, DCIDRIVER_STARTING, DCIVERSION);
dev->flags |= DF_I_DRIVER_STARTING;
......
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