Ver Fonte

Merge pull request #104 from SatanicRaw/patch-1

Update rtl8821ce_halmac.c
Tomás Pinho há 6 anos atrás
pai
commit
7c4f8274d3
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      hal/rtl8821c/pci/rtl8821ce_halmac.c

+ 4 - 0
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;