From owner-freebsd-doc Sun Jul 28 21:40:13 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A483537B405 for ; Sun, 28 Jul 2002 21:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC92C43E3B for ; Sun, 28 Jul 2002 21:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6T4e2JU062015 for ; Sun, 28 Jul 2002 21:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6T4e27a062014; Sun, 28 Jul 2002 21:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DC4237B400 for ; Sun, 28 Jul 2002 21:38:45 -0700 (PDT) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5DA443E31 for ; Sun, 28 Jul 2002 21:38:44 -0700 (PDT) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id g6T4cS1m042836; Mon, 29 Jul 2002 00:38:28 -0400 (EDT) Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.5/8.12.1/Submit) id g6T4cPWK042835; Mon, 29 Jul 2002 00:38:25 -0400 (EDT) (envelope-from hiten) Message-Id: <200207290438.g6T4cPWK042835@angelica.unixdaemons.com> Date: Mon, 29 Jul 2002 00:38:25 -0400 (EDT) From: Hiten Pandya Reply-To: Hiten Pandya To: FreeBSD-gnats-submit@FreeBSD.org Cc: hiten@uk.FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/41104: Stale comment removal from pccardd(8) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41104 >Category: docs >Synopsis: Stale comment removal from pccardd(8) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 28 21:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Hiten Pandya >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: Not Applicable. >Description: The pccardd(8) manual page holds a very stale comment, which notes some (old) facts about how things could mess up with a driver if a card was removed; such as freeing the private data structures etc. This note is pre-{lkm,kld} times, so it nows needs to be removed. NOTE: There is still a note in the BUGS section, about how things can really fry, if system resources have been allocated, for e.g. Network Mounted Filesystems; I _explicitly_ did not remove this comment, as I was not sure about this. Please do not hesitate to comment on this patch: hiten@uk.FreeBSD.org Thanks. -- Hiten -- http://www.unixdaemons.com/~hiten >How-To-Repeat: Visit the pccardd(8) man page. >Fix: Apply this patch to pccard(8), from 'src/'. This patch CAN be MFC'ed as it does apply to -STABLE releases as well. Heck!, it applies to any release which can do loadable kernel modules. :-) Index: usr.sbin/pccard/pccardd/pccardd.8 =================================================================== RCS file: /home/ncvs/src/usr.sbin/pccard/pccardd/pccardd.8,v retrieving revision 1.26 diff -u -r1.26 pccardd.8 --- usr.sbin/pccard/pccardd/pccardd.8 2002/07/14 14:44:49 1.26 +++ usr.sbin/pccard/pccardd/pccardd.8 2002/07/29 04:15:31 @@ -110,18 +110,6 @@ Once a card/driver instance is configured, the resources bound to that instance are remembered, and if the card is removed and reinserted, the same driver is allocated. -The primary reason -is that once a driver is associated with a card, the -driver's -.Fn probe -routine has been called, and this usually causes driver specific -data areas to be initialized with the I/O ports or memory resources -allocated to the card. -Most drivers are not designed to be -disassociated from the hardware and then reassociated with different -parameters. -This will change significantly when loadable kernel -modules are supported. .Pp SIGHUP causes .Nm >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message