[3509] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

release() has to release how many?

daemon@ATHENA.MIT.EDU (Juergen Gaertner)
Wed Mar 11 06:29:09 1998

Date: 	Wed, 11 Mar 1998 12:08:14 +0100 (MET)
From: Juergen Gaertner <Juergen.Gaertner@mbox.si.uni-hannover.de>
To: linux-scsi@vger.rutgers.edu

Hi,

I´m trying to write a driver for Western Digital PCI cards.
When unloading my module, scsi code seems to call my release function only
once, allthough there are two cards. Is this correct?

Why there is a return code set to 0 by most other drivers?

I use kernel 2.0.32 with a WD7193 and a WD7197. Both cards are detected and
initialized, but if one has no devices attached, release() is only called
once.

Rgs. Gärti



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post