Subject: Re: scsibus capabilities.
To: Matt Thomas <matt@3am-software.com>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 05/15/2002 17:43:44
What is this? The LSI MPT chipset?


On Wed, 15 May 2002, Matt Thomas wrote:

> Analagous to the pcibus_attach_hook in the MI pci code, I'd
> to propose that a scsibus_attach_hook be added.
> 
> This would be a function in the scsipi_channel structure that
> if non-null would be called in scsiconf.c:scsibusattach().
> 
> The reason for asking for this is that I'm writing a driver
> for a new SCSI HBA which is fronted by a embedded processor
> (like an I2O IOP but not an I2O IOP) and it presents an
> abstracted HBA interface to the host driver.  It also tells
> things about each SCSI bus (SE, LVD, HVD, FC) that really
> should be printed and/or obtained in the scsibusattach.
> 
> The alternative would be to add a chan_cap field to the
> scsipi_channel and various SCSIBUS_CAP_ bits to describe the
> capability of the channels and then let scsibusattach print
> those out.
> 
> -- 
> Matt Thomas               Internet:   matt@3am-software.com
> 3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
> Cupertino, CA             Disclaimer: I avow all knowledge of this message
> 
>