Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF:Kernel
r8168
leap155.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leap155.patch of Package r8168
--- a/src/r8168_n.c 2023-09-26 16:26:06.000000000 +0200 +++ b/src/r8168_n.c 2023-11-06 14:07:12.273825050 +0100 @@ -6967,7 +6967,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 rtl8168_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, @@ -6975,7 +6975,7 @@ #else static void rtl8168_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 rtl8168_private *tp = netdev_priv(dev); @@ -6985,7 +6985,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 rtl8168_set_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, @@ -6993,7 +6993,7 @@ #else static int rtl8168_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 rtl8168_private *tp = netdev_priv(dev); u32 new_rx_count, new_tx_count; @@ -26625,11 +26625,11 @@ static void rtl8168_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 @@ -27447,7 +27447,7 @@ } #endif //ETHTOOL_OPS_COMPAT -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,15,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) static int rtl8168_siocdevprivate(struct net_device *dev, struct ifreq *ifr, void __user *data, int cmd) { @@ -27511,7 +27511,7 @@ return ret; } -#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,15,0) +#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) static int rtl8168_do_ioctl(struct net_device *dev, @@ -28215,12 +28215,12 @@ .ndo_tx_timeout = rtl8168_tx_timeout, .ndo_change_mtu = rtl8168_change_mtu, .ndo_set_mac_address = rtl8168_set_mac_address, -#if LINUX_VERSION_CODE < KERNEL_VERSION(5,15,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5,14,0) .ndo_do_ioctl = rtl8168_do_ioctl, #else .ndo_siocdevprivate = rtl8168_siocdevprivate, .ndo_eth_ioctl = rtl8168_do_ioctl, -#endif //LINUX_VERSION_CODE < KERNEL_VERSION(5,15,0) +#endif //LINUX_VERSION_CODE < KERNEL_VERSION(5,14,0) #if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0) .ndo_set_multicast_list = rtl8168_set_rx_mode, #else
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