Re: Linux v2.5.47

From: Michael Still (mikal@stillhq.com)
Date: Wed Nov 13 2002 - 07:03:56 EST


On Wed, 13 Nov 2002, Christoph Hellwig wrote:

> You can convert it easily into a new-style pci driver with the following
> probe routine:

Remembering of course that a scsi_register() can fail...

> [do basic setup]
> sdev = scsi_register();

        if(sdev == NULL){
          /* Handle error */
          }

> [do more setup]
> return scsi_add_host();

Cheers,
Mikal

-- 

Michael Still (mikal@stillhq.com) UTC +10 hours

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



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:28 EST