![]() ![]() +#if LINUX_VERSION_CODE dev, DMA_BIT_MASK(64)) & +#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) Memcpy(dev->dev_addr, addr->sa_data, dev->addr_len) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0) ![]() Static void rtl8101_tx_desc_init(struct rtl8101_private *tp) Static void rtl8101_desc_addr_fill(struct rtl8101_private *) Void rtl8101_rar_set(struct rtl8101_private *tp, uint8_t *addr) +void rtl8101_rar_set(struct rtl8101_private *tp, const u8 *addr) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,18,0) Static int rtl8101_set_mac_address(struct net_device *dev, void *p) if anyone can improve on it or add to it, please let everyone here know. i modeled my code changes on similar updates made to r8168-dkms. to get it to install, i had to create an additional patch for 5.18.x (as well as continuing to use the linux517 patch file). R8101 is not building against the 5.18.x kernel in a 32-bit environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |