summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/mpiireg.h
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-03-24 12:06:58 +0000
committerdlg <dlg@openbsd.org>2014-03-24 12:06:58 +0000
commita83d183933027d7262852a379898abc8b26e4912 (patch)
treee75478aab0ec6d71b40c4b709b615ca679dbbe71 /sys/dev/pci/mpiireg.h
parentdon't proceed in case of permission errors (diff)
downloadwireguard-openbsd-a83d183933027d7262852a379898abc8b26e4912.tar.xz
wireguard-openbsd-a83d183933027d7262852a379898abc8b26e4912.zip
make mpii_sge look like mpi_sge, and provide a wrapper for setting the
address in it like the one in mpi too. shrinks load_xs a bit
Diffstat (limited to 'sys/dev/pci/mpiireg.h')
-rw-r--r--sys/dev/pci/mpiireg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/mpiireg.h b/sys/dev/pci/mpiireg.h
index cfb537e25d5..a1689255a3d 100644
--- a/sys/dev/pci/mpiireg.h
+++ b/sys/dev/pci/mpiireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpiireg.h,v 1.3 2012/09/28 12:46:41 mikeb Exp $ */
+/* $OpenBSD: mpiireg.h,v 1.4 2014/03/24 12:06:58 dlg Exp $ */
/*
* Copyright (c) 2010 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -124,8 +124,8 @@
struct mpii_sge {
u_int32_t sg_hdr;
- u_int32_t sg_lo_addr;
- u_int32_t sg_hi_addr;
+ u_int32_t sg_addr_lo;
+ u_int32_t sg_addr_hi;
} __packed;
struct mpii_fw_tce {