From 51b72d30bfd957d874f169232d7ade211ebc3869 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Thu, 2 Nov 2006 23:32:17 +0000 Subject: pointers in hardware structures are stupid. shame on you vmware. this should have a chance at running on amd64 now. can anyone test? --- sys/dev/pci/if_vic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c index 47f879979ce..6405dde224e 100644 --- a/sys/dev/pci/if_vic.c +++ b/sys/dev/pci/if_vic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vic.c,v 1.27 2006/11/02 23:29:04 dlg Exp $ */ +/* $OpenBSD: if_vic.c,v 1.28 2006/11/02 23:32:16 dlg Exp $ */ /* * Copyright (c) 2006 Reyk Floeter @@ -143,7 +143,7 @@ struct vic_rxdesc { u_int32_t rx_length; u_int16_t rx_owner; u_int16_t rx_flags; - void *rx_priv; + u_int32_t rx_priv; } __packed; #define VIC_RX_FLAGS_CSUMHW_OK 0x0001 @@ -151,7 +151,7 @@ struct vic_rxdesc { struct vic_txdesc { u_int16_t tx_flags; u_int16_t tx_owner; - void *tx_priv; + u_int32_t tx_priv; u_int32_t tx_tsomss; struct vic_sgarray tx_sa; } __packed; -- cgit v1.2.3