Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
S
Sources
N
Networking
Ethernet
EtherTH
Commits
ed078bac
Commit
ed078bac
authored
7 years ago
by
John Ballance
Browse files
Options
Download
Email Patches
Plain Diff
Export missing Inet$EtherType Var Val
Detail: Admin: Version 0.28. Tagged as 'EtherTH-0_28'
parent
3acca2c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
16 deletions
+21
-16
VersionASM
VersionASM
+6
-6
VersionNum
VersionNum
+10
-10
c/device
c/device
+5
-0
No files found.
VersionASM
View file @
ed078bac
...
...
@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.2
7
"
Module_Version SETA 2
7
Module_MajorVersion SETS "0.2
8
"
Module_Version SETA 2
8
Module_MinorVersion SETS ""
Module_Date SETS "2
7
Apr 2017"
Module_ApplicationDate SETS "2
7
-Apr-17"
Module_Date SETS "2
8
Apr 2017"
Module_ApplicationDate SETS "2
8
-Apr-17"
Module_ComponentName SETS "EtherTH"
Module_ComponentPath SETS "mixed/RiscOS/Sources/Networking/Ethernet/EtherTH"
Module_FullVersion SETS "0.2
7
"
Module_HelpVersion SETS "0.2
7
(2
7
Apr 2017)"
Module_FullVersion SETS "0.2
8
"
Module_HelpVersion SETS "0.2
8
(2
8
Apr 2017)"
END
This diff is collapsed.
Click to expand it.
VersionNum
View file @
ed078bac
/* (0.2
7
)
/* (0.2
8
)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.2
7
#define Module_MajorVersion_CMHG 0.2
8
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 2
7
Apr 2017
#define Module_Date_CMHG 2
8
Apr 2017
#define Module_MajorVersion "0.2
7
"
#define Module_Version 2
7
#define Module_MajorVersion "0.2
8
"
#define Module_Version 2
8
#define Module_MinorVersion ""
#define Module_Date "2
7
Apr 2017"
#define Module_Date "2
8
Apr 2017"
#define Module_ApplicationDate "2
7
-Apr-17"
#define Module_ApplicationDate "2
8
-Apr-17"
#define Module_ComponentName "EtherTH"
#define Module_ComponentPath "mixed/RiscOS/Sources/Networking/Ethernet/EtherTH"
#define Module_FullVersion "0.2
7
"
#define Module_HelpVersion "0.2
7
(2
7
Apr 2017)"
#define Module_LibraryVersionInfo "0:2
7
"
#define Module_FullVersion "0.2
8
"
#define Module_HelpVersion "0.2
8
(2
8
Apr 2017)"
#define Module_LibraryVersionInfo "0:2
8
"
This diff is collapsed.
Click to expand it.
c/device
View file @
ed078bac
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment