Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Add to XXX comment for future reference.



details:   https://anonhg.NetBSD.org/src/rev/dd3e5b460b9e
branches:  trunk
changeset: 574786:dd3e5b460b9e
user:      darcy <darcy%NetBSD.org@localhost>
date:      Sat Mar 12 10:35:29 2005 +0000

description:
Add to XXX comment for future reference.

diffstat:

 sys/dev/ic/aac.c |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 502327edc259 -r dd3e5b460b9e sys/dev/ic/aac.c
--- a/sys/dev/ic/aac.c  Sat Mar 12 10:26:45 2005 +0000
+++ b/sys/dev/ic/aac.c  Sat Mar 12 10:35:29 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aac.c,v 1.17 2005/03/01 03:31:45 briggs Exp $  */
+/*     $NetBSD: aac.c,v 1.18 2005/03/12 10:35:29 darcy Exp $   */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aac.c,v 1.17 2005/03/01 03:31:45 briggs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aac.c,v 1.18 2005/03/12 10:35:29 darcy Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -155,7 +155,12 @@
        struct aac_fib *fib;
        bus_addr_t fibpa;
        int help[2];
-       locdesc_t *ldesc = (void *)help; /* XXX */
+       locdesc_t *ldesc = (void *)help; /* XXX - Not clean
+               The big plan is to let config(8) issue information
+               about the length of the locator array in a useful way.
+               Then the allocation can be centralized. See also
+               http://mail-index.netbsd.org/tech-kern/2005/02/09/0025.html
+       */
 
        SIMPLEQ_INIT(&sc->sc_ccb_free);
        SIMPLEQ_INIT(&sc->sc_ccb_queue);



Home | Main Index | Thread Index | Old Index