mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-11-01 01:05:25 +00:00
Compare commits
No commits in common. "e49409f22ceea0d5b5ef431e6170580028b84c9d" and "83d0da5eaeae9a8860ac867c6e7ec2225b59c2a6" have entirely different histories.
e49409f22c
...
83d0da5eae
@ -79,11 +79,6 @@ uint loadparam(_adapter *adapter);
|
|||||||
#ifdef PLATFORM_LINUX
|
#ifdef PLATFORM_LINUX
|
||||||
int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|
int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|
||||||
|
|
||||||
#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && defined(CONFIG_MP_INCLUDED))
|
|
||||||
int rtw_siocdevprivate(struct net_device *dev, struct ifreq *ifr,
|
|
||||||
void __user *data, int cmd);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
|
int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
|
||||||
struct net_device *rtw_init_netdev(_adapter *padapter);
|
struct net_device *rtw_init_netdev(_adapter *padapter);
|
||||||
|
|
||||||
|
@ -13058,14 +13058,3 @@ int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && defined(CONFIG_MP_INCLUDED))
|
|
||||||
int rtw_siocdevprivate(struct net_device *dev, struct ifreq *ifr,
|
|
||||||
void __user *data, int cmd)
|
|
||||||
{
|
|
||||||
if (cmd != SIOCDEVPRIVATE)
|
|
||||||
return -EOPNOTSUPP;
|
|
||||||
|
|
||||||
return rtw_ioctl_standard_wext_private(dev, ifr);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
@ -1849,9 +1849,6 @@ static const struct net_device_ops rtw_netdev_ops = {
|
|||||||
.ndo_set_mac_address = rtw_net_set_mac_address,
|
.ndo_set_mac_address = rtw_net_set_mac_address,
|
||||||
.ndo_get_stats = rtw_net_get_stats,
|
.ndo_get_stats = rtw_net_get_stats,
|
||||||
.ndo_do_ioctl = rtw_ioctl,
|
.ndo_do_ioctl = rtw_ioctl,
|
||||||
#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && defined(CONFIG_MP_INCLUDED))
|
|
||||||
.ndo_siocdevprivate = rtw_siocdevprivate,
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -3350,9 +3347,6 @@ static const struct net_device_ops rtw_netdev_vir_if_ops = {
|
|||||||
.ndo_set_mac_address = rtw_net_set_mac_address,
|
.ndo_set_mac_address = rtw_net_set_mac_address,
|
||||||
.ndo_get_stats = rtw_net_get_stats,
|
.ndo_get_stats = rtw_net_get_stats,
|
||||||
.ndo_do_ioctl = rtw_ioctl,
|
.ndo_do_ioctl = rtw_ioctl,
|
||||||
#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && defined(CONFIG_MP_INCLUDED))
|
|
||||||
.ndo_siocdevprivate = rtw_siocdevprivate,
|
|
||||||
#endif
|
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
|
||||||
.ndo_select_queue = rtw_select_queue,
|
.ndo_select_queue = rtw_select_queue,
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user