From owner-freebsd-scsi@FreeBSD.ORG Tue Jun 1 15:59:17 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B65CF16A4CE for ; Tue, 1 Jun 2004 15:59:17 -0700 (PDT) Received: from dragon.rutgers.edu (dragon.rutgers.edu [128.6.25.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6186443D46 for ; Tue, 1 Jun 2004 15:59:17 -0700 (PDT) (envelope-from bohra@cs.rutgers.edu) X-Virus-Scanned: by dragon-cgpav-clamav-v1.3b Received: from [165.230.44.70] (account bohra HELO cs.rutgers.edu) by dragon.rutgers.edu (CommuniGate Pro SMTP 4.1.8) with ESMTP id 15549613 for freebsd-scsi@freebsd.org; Tue, 01 Jun 2004 18:59:16 -0400 Message-ID: <40BD0982.9000708@cs.rutgers.edu> Date: Tue, 01 Jun 2004 18:56:02 -0400 From: Aniruddha Bohra User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040409 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: SCSI device question X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 22:59:17 -0000 Hello, All SCSI devices cam/scsi/scsi_xx.c do the following : /* * Install a global async callback. This callback will * receive async callbacks like "new device found". */ csa.event_enable = AC_FOUND_DEVICE; csa.callback = passasync; However, I did not find the code where the event is triggered. Is it automatically done by the rescan code? Is there a standard way to indicate to the peripheral drivers that there is a new device on the bus? Thanks Aniruddha