Re: SCSI /dev/sg question

Osman (osman@Cable.EU.org)
Sun, 29 Aug 1999 18:54:49 +0200 (CEST)


On Wed, 25 Aug 1999, gokhan sozmen wrote:

> Hi folks,
>
> I was asked this question today and could not come up
> with an answer:
>
> Does a SCSI host adapter itself get mapped to a
> /dev/sgx device file? For example if you have an
> adapter (ID=7)with one SCSI disk (ID=0), after a
> SCSI bus scan do you get:
>
> /dev/sga -> disk
> /dev/sgb -> adapter ??
>
> If not, how can you talk to an adapter driver if
> there are no SCSI devices are attached to it?
>
> All responses appreciated.
> Cheers
> Gokhan Sozmen

I'm not a scsi-guru nor a kernel-guru or whatever but nevertheless:
I think it is very obvious that you are able to talk to the driver using
the functions defined for/by the driver.
If the driver is not compiled-in or included as a module you won't be able
to see the harddisks anyway...
Just my guess, maybe I'm wrong but that wouldn't matter.
You said to appreciate "All responses" so this is mine ;-)
TTYL.

-- 
                   Press every key to continue.

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