From dbeae8de9c52a7f7ec91c6d9059d66d3493c4b95 Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Tue, 15 Nov 2022 01:20:33 +0800 Subject: [PATCH] update README.md Signed-off-by: Jim Ma --- README.md | 30 +++++++++++++++++++++++++++++- igc_main.c | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e9cc9eb..4eb541a 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,29 @@ Eg: https://github.com/fbelavenuto/arpl-modules/blob/main/geminilake-4.4.180/igc Follow load module action: https://github.com/jim3ma/synology-igc#3-load-module -## Build +## Build in docker + +``` +mkdir -p output + +# avaliable platform: +# apollolake +# broadwell +# broadwellnk +# denverton +# geminilake +# v1000 +# I think the platform is not important for building `igc`, change it as your own +PLATFORM=geminilake + +docker run -u 1000 --rm -t -v "${PWD}":/input -v "${PWD}/output":/output fbelavenuto/syno-compiler compile-module ${PLATFORM} +``` + +The `output/igc.ko` is the module. + +And then lollow load module action: https://github.com/jim3ma/synology-igc#3-load-module + +## Build in Synology develop environment ### 1. Setup develop environment @@ -78,6 +100,12 @@ ip link set up eth1 # in my machine, the nic name is eth1 ## History +### 1.2.2 + +_Date 2022.11.15_ + +* Update defines for compile error + ### 1.2.1 _Date 2022.11.03_ diff --git a/igc_main.c b/igc_main.c index 1967154..c683e8e 100644 --- a/igc_main.c +++ b/igc_main.c @@ -20,7 +20,7 @@ #include "backport_overflow.h" #define DRV_SUMMARY "Intel(R) 2.5G Ethernet Linux Driver" -#define DRV_VERSION "1.2.1" +#define DRV_VERSION "1.2.2" #define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK)