From owner-freebsd-doc@FreeBSD.ORG Thu Apr 12 07:10:10 2012 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 929671065673 for ; Thu, 12 Apr 2012 07:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4BB5D8FC19 for ; Thu, 12 Apr 2012 07:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3C7AAhT042583 for ; Thu, 12 Apr 2012 07:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3C7AAHj042582; Thu, 12 Apr 2012 07:10:10 GMT (envelope-from gnats) Resent-Date: Thu, 12 Apr 2012 07:10:10 GMT Resent-Message-Id: <201204120710.q3C7AAHj042582@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, fuzhli Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4F22106566B for ; Thu, 12 Apr 2012 07:03:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id CFEA08FC0A for ; Thu, 12 Apr 2012 07:03:24 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3C73OjK057430 for ; Thu, 12 Apr 2012 07:03:24 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q3C73Op2057425; Thu, 12 Apr 2012 07:03:24 GMT (envelope-from nobody) Message-Id: <201204120703.q3C73Op2057425@red.freebsd.org> Date: Thu, 12 Apr 2012 07:03:24 GMT From: fuzhli To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/166864: the swi_add prototype is not updated in swi(9) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2012 07:10:10 -0000 >Number: 166864 >Category: docs >Synopsis: the swi_add prototype is not updated in swi(9) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 12 07:10:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: fuzhli >Release: 7.0, and 9.0 >Organization: Array networks >Environment: %uname -a FreeBSD Array.arraynetworks.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: >From FreeBSD7.0, the prototype of function swi_add() is changed: the first parameter is "struct intr_event **eventp", not the "struct ithd **ithdp". But the mannual docs not update this change till the latest FreeBSD9.0. >How-To-Repeat: %man 9 swi SWI(9) FreeBSD Kernel Developer's Manual SWI(9) NAME swi_add, swi_sched -- register and schedule software interrupt handlers SYNOPSIS #include #include #include extern struct ithd *tty_ithd; extern struct ithd *clk_ithd; extern void *net_ih; extern void *softclock_ih; extern void *vm_ih; int swi_add(struct ithd **ithdp, const char *name, driver_intr_t handler, void *arg, int pri, enum intr_type flags, void **cookiep); void swi_sched(void *cookie, int flags); >Fix: >Release-Note: >Audit-Trail: >Unformatted: