2018-05-18 22:23:45 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-DNDIS50_MINIPORT
|
|
|
|
-DNDIS_MINIPORT_DRIVER
|
|
|
|
-DNDIS_LEGACY_MINIPORT)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
ndis.c
|
|
|
|
hardware.c
|
|
|
|
info.c
|
|
|
|
interrupt.c
|
|
|
|
nic.h
|
|
|
|
e1000hw.h
|
2018-05-27 22:09:10 +00:00
|
|
|
debug.c
|
2021-12-13 22:57:33 +00:00
|
|
|
debug.h
|
|
|
|
send.c)
|
2018-05-18 22:23:45 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(e1000 MODULE ${SOURCE} e1000.rc)
|
2018-05-18 22:23:45 +00:00
|
|
|
add_pch(e1000 nic.h SOURCE)
|
|
|
|
set_module_type(e1000 kernelmodedriver)
|
|
|
|
add_importlibs(e1000 ndis ntoskrnl hal)
|
|
|
|
add_cd_file(TARGET e1000 DESTINATION reactos/system32/drivers FOR all)
|
2020-04-26 16:50:44 +00:00
|
|
|
add_driver_inf(e1000 nete1000.inf)
|