Projects
home:bitstreamout:Essentials
r8168
r8168-support-linux-L15.5.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r8168-support-linux-L15.5.patch of Package r8168 (Revision 31)
Currently displaying revision
31
,
Show latest
--- src/r8168_n.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- src/r8168_n.c +++ src/r8168_n.c 2023-05-10 10:40:25.454736974 +0000 @@ -5964,7 +5964,7 @@ rtl8168_wait_for_quiescence(struct net_d } #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, @@ -5972,7 +5972,7 @@ static void rtl8168_get_ringparam(struct #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); @@ -5982,7 +5982,7 @@ static void rtl8168_get_ringparam(struct ring->tx_pending = tp->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, @@ -5990,7 +5990,7 @@ static int rtl8168_set_ringparam(struct #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; @@ -25420,11 +25420,11 @@ rtl8168_release_board(struct pci_dev *pd 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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.