1. NAME

scsi_host_lookup - get a reference to a Scsi_Host by host no

2. SYNOPSIS

struct Scsi_Host * scsi_host_lookup(unsigned short  hostnum );

3. ARGUMENTS

hostnum
    host number to locate

4. RETURN VALUE

A pointer to located Scsi_Host or NULL.

The caller must do a scsi_host_put to drop the reference that scsi_host_get took. The put_device below dropped the reference from class_find_device.

5. AUTHORS

James Bottomley <>
    Author.

Rob Landley <>
    Author.

6. COPYRIGHT