Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 1996 15:24:16 -0800
From:      "Justin T. Gibbs" <gibbs@freefall.freebsd.org>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Good News :) 
Message-ID:  <199601102324.PAA11750@freefall.freebsd.org>
In-Reply-To: Your message of "Wed, 10 Jan 1996 23:40:31 %2B0100." <199601102240.XAA07466@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> "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
===========================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601102324.PAA11750>