diff --git a/sys/arch/sandpoint/stand/netboot/kse.c b/sys/arch/sandpoint/stand/netboot/kse.c index 570f305214b0..c2f1534b9ece 100644 --- a/sys/arch/sandpoint/stand/netboot/kse.c +++ b/sys/arch/sandpoint/stand/netboot/kse.c @@ -1,4 +1,4 @@ -/* $NetBSD: kse.c,v 1.5 2011/01/11 09:45:25 nisimura Exp $ */ +/* $NetBSD: kse.c,v 1.6 2011/01/11 10:10:48 nisimura Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -130,7 +130,7 @@ kse_init(unsigned tag, void *data) unsigned i, val, fdx; uint8_t *en; - l = ALLOC(struct local, sizeof(struct desc)); /* desc alignment */ + l = ALLOC(struct local, 32); /* desc alignment */ memset(l, 0, sizeof(struct local)); l->csr = DEVTOV(pcicfgread(tag, 0x10)); diff --git a/sys/arch/sandpoint/stand/netboot/nvt.c b/sys/arch/sandpoint/stand/netboot/nvt.c index 3633724a11e7..f8f04e13ce57 100644 --- a/sys/arch/sandpoint/stand/netboot/nvt.c +++ b/sys/arch/sandpoint/stand/netboot/nvt.c @@ -1,4 +1,4 @@ -/* $NetBSD: nvt.c,v 1.19 2011/01/11 09:45:25 nisimura Exp $ */ +/* $NetBSD: nvt.c,v 1.20 2011/01/11 10:10:48 nisimura Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -175,7 +175,7 @@ nvt_init(unsigned tag, void *data) struct desc *txd, *rxd; uint8_t *en; - l = ALLOC(struct local, sizeof(struct desc)); /* desc alignment */ + l = ALLOC(struct local, 32); /* desc alignment */ memset(l, 0, sizeof(struct local)); l->csr = ~01 & DEVTOV(pcicfgread(tag, 0x10)); /* use IO space */ diff --git a/sys/arch/sandpoint/stand/netboot/pcn.c b/sys/arch/sandpoint/stand/netboot/pcn.c index 3fd0ac12379f..a330d174d1b8 100644 --- a/sys/arch/sandpoint/stand/netboot/pcn.c +++ b/sys/arch/sandpoint/stand/netboot/pcn.c @@ -1,4 +1,4 @@ -/* $NetBSD: pcn.c,v 1.18 2011/01/11 09:45:25 nisimura Exp $ */ +/* $NetBSD: pcn.c,v 1.19 2011/01/11 10:10:48 nisimura Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -149,7 +149,7 @@ pcn_init(unsigned tag, void *data) uint8_t *en; struct pcninit initblock, *ib; - l = ALLOC(struct local, sizeof(struct desc)); /* desc alignment */ + l = ALLOC(struct local, 32); /* desc alignment */ memset(l, 0, sizeof(struct local)); l->csr = DEVTOV(pcicfgread(tag, 0x14)); /* use mem space */ diff --git a/sys/arch/sandpoint/stand/netboot/sip.c b/sys/arch/sandpoint/stand/netboot/sip.c index 54f619bbbd60..54c7e7bfa68a 100644 --- a/sys/arch/sandpoint/stand/netboot/sip.c +++ b/sys/arch/sandpoint/stand/netboot/sip.c @@ -1,4 +1,4 @@ -/* $NetBSD: sip.c,v 1.18 2011/01/11 09:45:25 nisimura Exp $ */ +/* $NetBSD: sip.c,v 1.19 2011/01/11 10:10:48 nisimura Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -142,7 +142,7 @@ sip_init(unsigned tag, void *data) if (PCI_DEVICE(0x100b, 0x0020) != val) return NULL; - l = ALLOC(struct local, sizeof(struct desc)); /* desc alignment */ + l = ALLOC(struct local, 32); /* desc alignment */ memset(l, 0, sizeof(struct local)); l->csr = DEVTOV(pcicfgread(tag, 0x14)); /* use mem space */ diff --git a/sys/arch/sandpoint/stand/netboot/sme.c b/sys/arch/sandpoint/stand/netboot/sme.c index 1491ab8e03a5..7ececb4457ce 100644 --- a/sys/arch/sandpoint/stand/netboot/sme.c +++ b/sys/arch/sandpoint/stand/netboot/sme.c @@ -1,4 +1,4 @@ -/* $NetBSD: sme.c,v 1.4 2011/01/11 09:45:25 nisimura Exp $ */ +/* $NetBSD: sme.c,v 1.5 2011/01/11 10:10:48 nisimura Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -123,7 +123,7 @@ sme_init(unsigned tag, void *data) unsigned mac32, mac16, val, fdx; uint8_t *en; - l = ALLOC(struct local, sizeof(struct desc)); /* desc alignment */ + l = ALLOC(struct local, 32); /* desc alignment */ memset(l, 0, sizeof(struct local)); l->csr = DEVTOV(pcicfgread(tag, 0x1c)); /* BAR3 mem space, LE */ l->phy = 1; /* 9420 internal PHY */ diff --git a/sys/arch/sandpoint/stand/netboot/wm.c b/sys/arch/sandpoint/stand/netboot/wm.c index f5f8b05a0bb0..016bd45de0f0 100644 --- a/sys/arch/sandpoint/stand/netboot/wm.c +++ b/sys/arch/sandpoint/stand/netboot/wm.c @@ -1,4 +1,4 @@ -/* $NetBSD: wm.c,v 1.12 2011/01/11 09:45:25 nisimura Exp $ */ +/* $NetBSD: wm.c,v 1.13 2011/01/11 10:10:48 nisimura Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -141,7 +141,7 @@ wm_init(unsigned tag, void *data) struct rdesc *rxd; uint8_t *en; - l = ALLOC(struct local, sizeof(struct tdesc)); /* desc alignment */ + l = ALLOC(struct local, 32); /* desc alignment */ memset(l, 0, sizeof(struct local)); l->csr = pcicfgread(tag, 0x10); /* use mem space */