basic - how to reset ?
George Locke
george.locke.physics at gmail.com
Tue Mar 4 17:31:52 UTC 2008
Hi again,
So i'm going through the aic7xxx header files and I find this routine:
ahc_reset <http://www.gelato.unsw.edu.au/lxr/ident?i=ahc_reset>(struct
ahc_softc <http://www.gelato.unsw.edu.au/lxr/ident?i=ahc_softc> *ahc,
int reinit <http://www.gelato.unsw.edu.au/lxr/ident?i=reinit>)
(see
http://www.gelato.unsw.edu.au/lxr/source/drivers/scsi/aic7xxx/aic7xxx_core.c#L3992)
this routine seems to be the function i'm looking for, but it takes a
ahc_softc as an argument, which is a struct defined in aic7xxx.h (
http://www.gelato.unsw.edu.au/lxr/source/drivers/scsi/aic7xxx/aic7xxx.h#L915)
this struct is huge and contains about a gagillion data-members. There has
to be some way that I can create one in some automated way, right? or do i
have to fill in each blank myself?
thanks,
George
On Tue, Mar 4, 2008 at 11:50 AM, George Locke <
george.locke.physics at gmail.com> wrote:
> Hi,
>
> I'm trying to track down a problem i'm having talking to this archaic
> hardware, and among the tasks is to make sure my scsi controller is
> working. (the archaic hardware is a CAMAC crate, which in this case
> communicates to the computer on the scsi bus.)
>
> I'm running current fedora on a brand new dell tower, using an adaptec
> aha-2940u pci card.
>
> I would be happy to hear RTFM replies if they are accompanied by a link to
> the manual! haven't found a basic resource explaining the aic7xxx routines,
> etc.
>
> So all i want to do is write a little C++ (or other) program that i can
> run to just reset the scsi bus to see if the driver is working properly.
>
> thanks!
>
More information about the aic7xxx
mailing list