mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
1a66bb1309
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.
12 lines
352 B
C
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) \
|