diff options
Diffstat (limited to 'sys/dev/dec')
| -rw-r--r-- | sys/dev/dec/files.dec | 12 | ||||
| -rw-r--r-- | sys/dev/dec/if_le_dec.c | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/sys/dev/dec/files.dec b/sys/dev/dec/files.dec new file mode 100644 index 00000000000..5ed9feb342c --- /dev/null +++ b/sys/dev/dec/files.dec @@ -0,0 +1,12 @@ +# $NetBSD: files.dec,v 1.1 1997/07/22 04:32:20 jonathan Exp $ +# +# Config file and device description for machine-independent +# code for devices for Digital Equipment Corp. systems. +# Included by ports that need it. + +# Attribute for DEC lance padded-DMA copy functions. Lance attachments +# which need it should specify the le_de_subr attribute. +define le_dec_subr + +# DMA copy functions. Lance attachments qhich Decices +file dev/tc/if_le_dec.c le_dec_subr diff --git a/sys/dev/dec/if_le_dec.c b/sys/dev/dec/if_le_dec.c index 74a3250ad25..67769010508 100644 --- a/sys/dev/dec/if_le_dec.c +++ b/sys/dev/dec/if_le_dec.c @@ -1,6 +1,7 @@ -/* $NetBSD: if_le_dec.c,v 1.7 1997/06/16 03:46:35 jonathan Exp $ */ +/* $NetBSD: if_le_dec.c,v 1.8 1997/07/22 04:32:21 jonathan Exp $ */ /*- + * Copyright (c) 1997 Jonathan Stone. All rights reserved. * Copyright (c) 1995 Charles M. Hannum. All rights reserved. * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -154,7 +155,7 @@ le_dec_writereg(regptr, val) * 3 ways: * - contiguous (for the 3max and turbochannel option card) * - gap2, which means shorts (2 bytes) interspersed with short (2 byte) - * spaces (for the pmax) + * spaces (for the pmax, vax 3400, and ioasic LANCE descriptors) * - gap16, which means 16bytes interspersed with 16byte spaces * for buffers which must begin on a 32byte boundary (for 3min, maxine, * and alpha) |
