From owner-freebsd-scsi Wed Jan 10 15:24:26 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA11816 for freebsd-scsi-outgoing; Wed, 10 Jan 1996 15:24:26 -0800 (PST) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA11750 Wed, 10 Jan 1996 15:24:19 -0800 (PST) Message-Id: <199601102324.PAA11750@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: Host localhost.cdrom.com [127.0.0.1] didn't use HELO protocol To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Good News :) In-reply-to: Your message of "Wed, 10 Jan 1996 23:40:31 +0100." <199601102240.XAA07466@uriah.heep.sax.de> Date: Wed, 10 Jan 1996 15:24:16 -0800 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk >> "scsi_device_register" can add a new device in an LKM init entry >> point, and then you must either reprobe the bus or poke around in >> the unknown devices for any we should adopt. This needs more work. > >Hmm, our reprobing is still broken. It turns on adapter polling, >which causes it to hang when used on a PCI adapter. Depends on the driver. The aic7xxx driver doesn't poll *ever* anymore since it is only an EISA/PCI driver and it has access to its interrupts from the get-go. This change went into the tree a week ago. >Anybody keen to revamp it? I think it requires minor changes (the >functions that are responsible for the bus probing must get passed an >argument that tells whether this is at system initialization time or >not), but they have to be done throughout the entire SCSI code. Actually, you could entirely remove the polling if ISA devices had access to their interrupts at attach time. I think this should happen regardless of what the SCSi code wants. The probes and attaches shouldn't be running at splhigh for ISA devices unless a particular device goes to splhigh. >-- >cheers, J"org > >joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE >Never trust an operating system you don't have sources for. ;-) -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================