Solved: Need help with scsi-generic

David Miller (dmiller@search.sparks.net)
Wed, 24 Mar 1999 21:27:44 -0500 (EST)


On Wed, 24 Mar 1999, David Miller wrote:

> Hi all:)
>
> I'm trying to make a Vela scsi decoder be recognized as a generic scsi
> device under RH 5.2 (2.0.36)
[snip]

>
> So far I've:

[snip]

> In sg.c I added TYPE_VELA to:
>
> static int sg_detect(Scsi_Device * SDp){
>
> switch (SDp->type) {
> case TYPE_DISK:

Mistake -> case TYPE_VELA:

> case TYPE_MOD:
> case TYPE_ROM:
> case TYPE_WORM:
> case TYPE_TAPE: break;
> default:
> printk("Detected scsi generic sg%c at scsi%d, channel %d, id %d,
> lun %d\n",

Uhm, I'd like to formally apologize for my public display of sleep
deprivation.....

The code above says to *not* assign sgN if it's type tape, disk, VELA,
etc. Oops:(

Sorry to waste everyone's time and bandwidth.

--- David Miller

-
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/