[tg3] Fix address truncation bug on 64-bit machines

Signed-off-by: Leendert van Doorn <leendert@paramecium.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Leendert van Doorn
2016-06-10 15:45:19 +01:00
committed by Michael Brown
parent b42e71921f
commit 5c2a959a72
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2788,7 +2788,7 @@ struct tg3_hw_stats {
u8 __reserved4[0xb00-0x9c8];
};
typedef u32 dma_addr_t;
typedef unsigned long dma_addr_t;
/* 'mapping' is superfluous as the chip does not write into
* the tx/rx post rings so we could just fetch it from there.