You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/net-wireless/rtl8821ce/files/32bit.patch

17 lines
506 B

diff --git a/hal/rtl8821c/pci/rtl8821ce_halmac.c b/hal/rtl8821c/pci/rtl8821ce_halmac.c
index 1100cdf..f7ae7b0 100755
--- a/hal/rtl8821c/pci/rtl8821ce_halmac.c
+++ b/hal/rtl8821c/pci/rtl8821ce_halmac.c
@@ -24,7 +24,11 @@ static u8 pci_write_port_not_xmitframe(void *d, u32 size, u8 *pBuf, u8 qsel)
PADAPTER padapter = dvobj_get_primary_adapter(pobj);
u32 page_size = 0;
u8 *txbd;
+#ifdef CONFIG_64BIT
u64 txbd_dma;
+#else
+ dma_addr_t txbd_dma;
+#endif
u8 ret = _SUCCESS;
dma_addr_t mapping;