From owner-p4-projects@FreeBSD.ORG Sun Dec 23 18:59:49 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8BC0216A469; Sun, 23 Dec 2007 18:59:49 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49DA316A421 for ; Sun, 23 Dec 2007 18:59:49 +0000 (UTC) (envelope-from thioretic@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE8713C448 for ; Sun, 23 Dec 2007 18:59:49 +0000 (UTC) (envelope-from thioretic@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBNIxnPk068996 for ; Sun, 23 Dec 2007 18:59:49 GMT (envelope-from thioretic@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBNIxnF5068993 for perforce@freebsd.org; Sun, 23 Dec 2007 18:59:49 GMT (envelope-from thioretic@FreeBSD.org) Date: Sun, 23 Dec 2007 18:59:49 GMT Message-Id: <200712231859.lBNIxnF5068993@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to thioretic@FreeBSD.org using -f From: Maxim Zhuravlev To: Perforce Change Reviews Cc: Subject: PERFORCE change 131484 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2007 18:59:49 -0000 http://perforce.freebsd.org/chv.cgi?CH=131484 Change 131484 by thioretic@thioretic on 2007/12/23 18:59:25 Some TODO notes Affected files ... .. //depot/projects/soc2007/thioretic_gidl2/TODO#2 edit Differences ... ==== //depot/projects/soc2007/thioretic_gidl2/TODO#2 (text+ko) ==== @@ -166,4 +166,24 @@ # value returned to a caller. # func - the method from bus_if or driver_if being applied to drivers # memb - the object from driverinfo, which contains the method - # implementation.+ # implementation. +GENERIC NOTES SECTION +--------------------- +TODO: +* Let filter drivers to create iors, that are to be processed by a parent(child) + device, without being processed by other drivers in current device's stack. + Ex. syscons. It includes some private implemented functions from tty interface + and some functions that just call a generic tty functions. + This can be implemented in several ways: + 1) Some kinda *virtual* inheritance of tty driver kobj. + 2) Some library of tty helper functions. + 3) Stacking of syscons driver over generic tty driver. + As for the first way it's a more generic way, but then we won't be able to implement + functions that mix own code and call(s) to generic functions. + As for the second way tty helper functions need some way to know about attached + devices. + As for the third - the optional ior stack propagation is required. +* Trigger infrastructure. A parent(child device) must be able to set a trigger on + its child(parent) state modification (attached, detached...). The trigger events + should be queued so that drivers added to stack later can receive events + for triggers they set.