MCA and scsi autorecognition

Shaw Carruthers (shaw@shawc.demon.co.uk)
Mon, 19 Oct 1998 15:50:48 +0100 (GMT+0100)


Following our exchange of email on the above problem, I though I would
post this to the list so other MCA users could comment.

> Line 1563 of ibmmca.c has:
>
> if ((pos2 & 1) == 0)
>

which is the opposite of what is required on 8556 & 9556, which have 1 & 5
respectively in pos2,

There is this comment in the sourcecode of ibmmca.c:

Dec 14 1996: More improvements to the ldn mapping. See check_devices
for details. Did more fiddling with the integrated SCSI detection,
but I think it's ultimately hopeless without actually testing the
model of the machine. The 56, 57, 76 and 95 (ultimedia) all have
different integrated SCSI register configurations. However, the 56
and 57 are the only ones that have problems with forced detection.
- Chris Beauregard

One way of tackling this would be to make use of the
machine_id:

Say:

int int_scsi_found = 0 ;

switch( machine_id){
case (0xf8):
int_scsi_found = (pos2&1);
break;
default :
int_scsi_found = ((pos2 & 1) == 0);
}

if int_scsi_found ...

My 8556 is an 0xf8, I don't know the codes for the other machines.

What do the MCA gurus think?

--
Shaw Carruthers - shaw@shawc.demon.co.uk
London SW14 7JW UK
This is not a sig( with homage to Magritte).
  

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/