Messages in this thread | | | From | Mark Veteikis <> | Subject | Re: Driver reading from a file | Date | Tue, 29 Feb 2000 20:39:18 -0600 (CST) |
| |
> > 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-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |