[8278] in linux-scsi channel archive

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

Re: Driver reading from a file

daemon@ATHENA.MIT.EDU (Mark Veteikis)
Tue Feb 29 22:47:39 2000

From: Mark Veteikis <mark@iphase.com>
Message-Id: <200003010239.UAA00760@sw10.Iphase.COM>
To: yiding_wang@agilent.com ("WANG,YIDING (HP-SanJose,ex1)")
Date:   Tue, 29 Feb 2000 20:39:18 -0600 (CST)
Cc: schaefer@alphanet.ch ('Marc SCHAEFER'),
	linux-kernel@vger.rutgers.edu ('linux_kernel'),
	linux-scsi@vger.rutgers.edu ('linux_scsi')
In-Reply-To: <D53173D574D6D211945500A0C9E95BEBEE16FE@xsj02.sj.hp.com> from "WANG,YIDING (HP-SanJose,ex1)" at Feb 29, 2000 01:20:24 PM
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> 
> Marc,
> 
> Thanks for the valuable suggestion!  However, passing parameters to the
> driver will not do the work for me.  Basically what I am trying to do is to
> set up persistent binding environment for Linux.  This happens to Fibre
> Channel world when new device plugged into the loop or Fibric, the existing
> device address could change which leads to target id changes.  The persisten
> binding is to preserve all existing device target id unchanged.  This
> requires to put existing target id and the coresponding device world wide
> name pair somewhere in a file (or ROM), and be a refernece for the system
> next boot. 
> 
> If Linux has some system calls to allow driver access from a file during the
> loading process, the solution will be obvious.
> 
> Eddie Wang
> Agilent Technologies
> 350-370 West Trimble Road
> MS 90TZ
> San Jose, Ca 95131-1008
> Phone: (408) 435-4213
> Fax: (408) 435-5838

If you want, grab the Interphase 5526 Fibre Channel Driver off of our
Web Site (http://www.iphase.com/~linux) and see the technique I used. 
It uses a combination of ioctls and the proc filesystem for feedback.

As you probably know it uses the HP (now Agilent Technologies) Tachyon chip :)

Qlogics drivers typically use onboard Flash Rom for peristent configuration
storage.

-- 
Mark Veteikis     mark@iphase.com         1-214-654-5257
Interphase Corp.  13800 Senlac Dallas Tx. 75234

-
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