summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/skge.h
diff options
context:
space:
mode:
authorPiotr Jaroszyński2010-03-30 15:33:20 +0200
committerMichael Brown2010-05-27 11:23:06 +0200
commit7c6d3752c966758b0fb369d73bae59909aaa9ec1 (patch)
tree50dcb0312a5c9430445413d09f5ac6e6f68829f7 /src/drivers/net/skge.h
parent[dhcp] Don't consider invalid offers to be duplicates (diff)
downloadipxe-7c6d3752c966758b0fb369d73bae59909aaa9ec1.tar.gz
ipxe-7c6d3752c966758b0fb369d73bae59909aaa9ec1.tar.xz
ipxe-7c6d3752c966758b0fb369d73bae59909aaa9ec1.zip
[compiler] Fix 64bit compile time errors
Apart from format specifier fixes there are two changes in proper code: - Change type of regs in skge_hw to unsigned long - Cast result of sizeof in myri10ge to uint32_t Both don't change anything for i386 and should be fine on x86_64. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Joshua Oreman <oremanj@rwcr.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/skge.h')
-rwxr-xr-xsrc/drivers/net/skge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/skge.h b/src/drivers/net/skge.h
index 94088248..8a6ba6b2 100755
--- a/src/drivers/net/skge.h
+++ b/src/drivers/net/skge.h
@@ -2461,7 +2461,7 @@ struct skge_ring {
struct skge_hw {
- u32 regs;
+ unsigned long regs;
struct pci_device *pdev;
u32 intr_mask;
struct net_device *dev[2];