add MACHINE_CHIPSET in header files, and add common settings in machine_defs.h

This commit is contained in:
HL Yi committed 2026-10-20 07:49:34 -05:00
1 parent b28ead65dc
commit b06ff76a21
91 files changed
+161 -155

No files matched your search

+1 -4
View File
@@ -2,11 +2,8 @@
__code const struct machine machine = {
.machine_name = MACHINE_MODEL,
.isRTL8373 = 1,
MACHINE_COMMON_SETTING,
.mac_flash_offset = 0x1FC000,
.min_port = 0,
.max_port = 8,
.n_sfp = 1,
.log_to_phys_port = {1, 2, 3, 4, 5, 6, 7, 8, 9},
.phys_to_log_port = {0, 1, 2, 3, 4, 5, 6, 7, 8},