From 4ed74f05dbb0cab564f8f52695c5870290ab9521 Mon Sep 17 00:00:00 2001 From: Kamikaze94 Date: Sun, 18 Oct 2026 23:07:23 +0200 Subject: [PATCH] Add machine definition for HC-SWTG124AS --- doc/devices/SWTG024AS-A-V2.0.1_4C_2SFP.md | 9 +++++---- doc/supported_devices.md | 1 + machine/HC_SWTG124AS.c | 1 + machine/HC_SWTG124AS.h | 6 ++++++ 4 files changed, 13 insertions(+), 4 deletions(-) create mode 120000 machine/HC_SWTG124AS.c create mode 100644 machine/HC_SWTG124AS.h diff --git a/doc/devices/SWTG024AS-A-V2.0.1_4C_2SFP.md b/doc/devices/SWTG024AS-A-V2.0.1_4C_2SFP.md index 2189dd8b..e6c0a7bc 100644 --- a/doc/devices/SWTG024AS-A-V2.0.1_4C_2SFP.md +++ b/doc/devices/SWTG024AS-A-V2.0.1_4C_2SFP.md @@ -2,10 +2,11 @@ It is highly similar to SWTG024AS-V2.0, with the only difference being the GPIO configuration for the SFP port. ## Brands -|Brand|Type|Managed|PCB|Flash|Chip RTL| -|---|---|---|---|---|---| -| Horaco | ZX-SG4T2 | | PCB-SWTG024AS-A-V2.0.1_19650 | P25D40SH | ??? | -| GoodTop | GT-ST024M | Yes | PCB-SWTG024AS-A-V2.0.1 | 2M | ??? | +|Brand |Type |Managed|PCB |Flash |Chip RTL| +|---------|--------------|-------|------------------------------|----------|--------| +| Horaco | ZX-SG4T2 | | PCB-SWTG024AS-A-V2.0.1_19650 | P25D40SH | ??? | +| Horaco | HC-SWTG124AS | Yes | PCB-SWTG024AS-A-V2.0.1 | 2M | ??? | +| GoodTop | GT-ST024M | Yes | PCB-SWTG024AS-A-V2.0.1 | 2M | ??? | ### Label specifications diff --git a/doc/supported_devices.md b/doc/supported_devices.md index 9711d97e..5ebac0dc 100644 --- a/doc/supported_devices.md +++ b/doc/supported_devices.md @@ -16,6 +16,7 @@ The following devices have been tested and are fully working: | Hisource | Hi-K0402WS | No | [PCB-K0402WS-V3.0](devices/PCB-K0402WS-V3.0.md) | | 4 + 2 | | Hisource | Hi-K0801WS | No | [PCB-KO801W-V2.0](devices/HI-K0801WS.md) | | 8 + 1 | | hongyavision | LG-SG5T1 | No | [PCB-SWTG024AS-V2.0_16895](devices/SWTG024AS-V2.0.md) | 0.5M | 5 + 1 | +| Horaco | HC-SWTG124AS | Yes | [SWTG024AS-A-V2.0.1](devices/SWTG024AS-A-V2.0.1_4C_2SFP.md) | 2M | 4 + 2 | | Horaco | HC-SWTGW215AS | Yes | [SWTG024AS-A-V2.0.1_19650 5C 1SFP](devices/SWTG024AS-A-V2.0.1_5C_1SFP.md) | ? | 5 + 1 | | Horaco | HC-SWTGW218AS | Yes | [SWTG018AS-A V2.0](devices/SWTG018AS_A_V2_0.md) | | 8 + 1 | | Horaco | ZX310S-4T2XH | Yes | [PCB-SL310S-4T1T1X-V1.0.1-24107](devices/ZX310S-4T2XH.md) | 2M | 5 + 1 | diff --git a/machine/HC_SWTG124AS.c b/machine/HC_SWTG124AS.c new file mode 120000 index 00000000..f0f8441d --- /dev/null +++ b/machine/HC_SWTG124AS.c @@ -0,0 +1 @@ +PCB_SWTG024AS_A_2_0_1.c \ No newline at end of file diff --git a/machine/HC_SWTG124AS.h b/machine/HC_SWTG124AS.h new file mode 100644 index 00000000..8d4dd648 --- /dev/null +++ b/machine/HC_SWTG124AS.h @@ -0,0 +1,6 @@ +#ifndef _MACHINE_HC_SWTG124AS_H_ +#define _MACHINE_HC_SWTG124AS_H_ + +#define MACHINE_MODEL "Horaco HC-SWTG124AS" + +#endif