Re: Linux v2.5.47

Michael Still (mikal@stillhq.com)
Wed, 13 Nov 2002 23:03:56 +1100


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/