summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-05-24 10:51:47 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-05-24 10:51:47 +0000
commit489b24a92de71e947b8ddb6905cc691a60d69e77 (patch)
tree16320271f2d89e3cb19dd288a7e33b5f7e6626ad /sys
parent3760370250bd96855927cc1d312c88d06a33aaf3 (diff)
Increase the number of segments in a dma map to make sure a packet fits.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/socppc/dev/if_tsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c
index b3e76e618fa..1c5ff465706 100644
--- a/sys/arch/socppc/dev/if_tsec.c
+++ b/sys/arch/socppc/dev/if_tsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tsec.c,v 1.3 2008/05/24 09:49:55 kettenis Exp $ */
+/* $OpenBSD: if_tsec.c,v 1.4 2008/05/24 10:51:46 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -213,7 +213,7 @@ struct tsec_buf {
};
#define TSEC_NTXDESC 256
-#define TSEC_NTXSEGS 4
+#define TSEC_NTXSEGS 16
#define TSEC_NRXDESC 256