1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00
Files
ports/net/intel-em-kmod/files/patch-e1000__osdep.h
T
Eugene Grosbein 1a66bb1309 net/intel-em-kmod: unbreak for FreeBSD 15+
FreeBSD 15 introduced some incompatible KAPI changes.
Apply some patches to this code dated back 2019.
This fixes build, so PORTREVISION not changed.

The change is run-tested using 15.0-RELEASE and 82574L-based
network adapters. Compile-tested only for recent 16.0-CURRENT.
2026-05-24 16:43:33 +07:00

12 lines
352 B
C

--- e1000_osdep.h.orig 2020-04-08 15:13:17 UTC
+++ e1000_osdep.h
@@ -134,7 +134,7 @@ struct e1000_osdep
bus_space_handle_t io_bus_space_handle;
bus_space_tag_t flash_bus_space_tag;
bus_space_handle_t flash_bus_space_handle;
- struct device *dev;
+ device_t dev;
};
#define E1000_REGISTER(hw, reg) (((hw)->mac.type >= e1000_82543) \