summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-11-02 23:32:17 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-11-02 23:32:17 +0000
commit51b72d30bfd957d874f169232d7ade211ebc3869 (patch)
treef4dbcf2212bcf82657ac4b7151bd71438d23af70 /sys
parent09ce569071443d626b02e75e6837b9bb81258274 (diff)
pointers in hardware structures are stupid. shame on you vmware.
this should have a chance at running on amd64 now. can anyone test?
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_vic.c6
1 files 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 <reyk@openbsd.org>
@@ -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;