Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Sauerland:hardware
r8125
leap155.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leap155.patch of Package r8125
diff -rNu r8125-9.013.02/src/r8125_n.c r8125-9.013.02n/src/r8125_n.c --- r8125-9.013.02/src/r8125_n.c 2024-03-14 13:14:51.000000000 +0100 +++ r8125-9.013.02n/src/r8125_n.c 2024-04-09 10:27:43.889705617 +0200 @@ -6975,7 +6975,7 @@ } #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) static void rtl8125_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, @@ -6983,7 +6983,7 @@ #else static void rtl8125_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring) -#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) +#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) { struct rtl8125_private *tp = netdev_priv(dev); @@ -6993,7 +6993,7 @@ ring->tx_pending = tp->tx_ring[0].num_tx_desc; } -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) static int rtl8125_set_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, @@ -7001,7 +7001,7 @@ #else static int rtl8125_set_ringparam(struct net_device *dev, struct ethtool_ringparam *ring) -#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) +#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) { struct rtl8125_private *tp = netdev_priv(dev); u32 new_rx_count, new_tx_count; @@ -14337,11 +14337,11 @@ static void rtl8125_hw_address_set(struct net_device *dev, u8 mac_addr[MAC_ADDR_LEN]) { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) eth_hw_addr_set(dev, mac_addr); #else memcpy(dev->dev_addr, mac_addr, MAC_ADDR_LEN); -#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) +#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) } static int
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor