diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-05-12 18:19:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-05-12 18:19:55 +0000 |
commit | 17dc320291ccb98d89f1c757a0aaa5e578defed8 (patch) | |
tree | 88844dc3a9e39b21802c3a257fde7a30609e7ad9 /sys/dev/pci/if_mskvar.h | |
parent | b2fc971654a24defed9a6cea01be70d6652c2ba1 (diff) |
Take alignment restrictions into account when setting up RAM buffer addresses.
This makes Yukon-2 FE chips work reliably.
Pointed out by giovanni at gmail dot com.
Diffstat (limited to 'sys/dev/pci/if_mskvar.h')
-rw-r--r-- | sys/dev/pci/if_mskvar.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_mskvar.h b/sys/dev/pci/if_mskvar.h index ce9ab920aa9..014be904785 100644 --- a/sys/dev/pci/if_mskvar.h +++ b/sys/dev/pci/if_mskvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mskvar.h,v 1.4 2007/02/11 22:16:21 kettenis Exp $ */ +/* $OpenBSD: if_mskvar.h,v 1.5 2007/05/12 18:19:54 kettenis Exp $ */ /* $NetBSD: if_skvar.h,v 1.6 2005/05/30 04:35:22 christos Exp $ */ /*- @@ -33,7 +33,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -/* $OpenBSD: if_mskvar.h,v 1.4 2007/02/11 22:16:21 kettenis Exp $ */ +/* $OpenBSD: if_mskvar.h,v 1.5 2007/05/12 18:19:54 kettenis Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -198,7 +198,6 @@ struct sk_softc { u_int8_t sk_rev; u_int8_t sk_macs; /* # of MACs */ char *sk_name; - u_int32_t sk_rboff; /* RAMbuffer offset */ u_int32_t sk_ramsize; /* amount of RAM on NIC */ u_int32_t sk_intrmask; bus_dma_tag_t sc_dmatag; |