update README.md

Signed-off-by: Jim Ma <majinjing3@gmail.com>
This commit is contained in:
Jim Ma 2022-11-15 01:20:33 +08:00
parent 1a7ddd01f0
commit dbeae8de9c
2 changed files with 30 additions and 2 deletions

View File

@ -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_

View File

@ -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)