1SCSI_HOST_ALLOC(9)              SCSI mid layer              SCSI_HOST_ALLOC(9)
2
3
4

NAME

6       scsi_host_alloc - register a scsi host adapter instance.
7

SYNOPSIS

9       struct Scsi_Host * scsi_host_alloc(struct scsi_host_template * sht,
10                                          int privsize);
11

ARGUMENTS

13       sht
14           pointer to scsi host template
15
16       privsize
17           extra bytes to allocate for driver
18

NOTE

20       Allocate a new Scsi_Host and perform basic initialization. The host is
21       not published to the scsi midlayer until scsi_add_host is called.
22

RETURN VALUE

24       Pointer to a new Scsi_Host
25

AUTHORS

27       James Bottomley <James.Bottomley@hansenpartnership.com>
28           Author.
29
30       Rob Landley <rob@landley.net>
31           Author.
32
34Kernel Hackers Manual 2.6.       November 2011              SCSI_HOST_ALLOC(9)
Impressum