Skip to contentSkip to conversation

i2c-parport, ELV documentation

DISCUSSION Karel Kulhavy 1 participant 1 message Oct 14, 2004

lore
Share & tools
lore
#0 lore raw

Hello

Documentation/i2c/i2c-parport reads:
"These devices use different pinout configurations, so you have to tell the driver what you have, using the type module parameter."

I would like to tell that my adapter is of type ELV.

The i2c-parport doesn't say anything how to tell the kernel "ELV" during the startup, without using any modules. I would strongly prefer compiling in the driver directly. I would like to be sure the adaptor works from the very boot of the system and not only after some startup scripts of unknown quality (I already have experienced a problem with startup scripts that were wrong, I am using gentoo) load up the module.

How to tell the kernel that my adapter is "ELV" using the append="ether=0,0,0x3,0,eth0"-style way?

Another question is: if I had to resort to using the
modules (say it would show up that the driver doesn't support non-module configuration at all, as was with 3COM 3c900 card which was fixed later by Jeff Garzik), how do I tell the kernel the module parameters exactly? I have been looking at various places where I would expect this information, however did't find any syntax description:

* i2c-parport doc file doesn't tell this
* Documentation directory of Linux source tree doesn't contain modules,
* modules.txt, Modules,
Modules.txt, module, module.txt, Module, Module.txt file, module, modules, Module, Modules directory
* make menuconfig, Loadable modules support, Enable loadable modules support, Help doesn't contain the information. However points to man modprobe, lsmod, modinfo, insmod and rmmod.
* man modprobe says "If any arguments are given after the modulename, they are passed to the kernel (in addition to any options listed in the configuration file)."
However, the syntax is not described. Is it type=elv, type elv, type=ELV, type ELV, type:elv, type:ELV, type: elv, type: ELV or whatever?
* man lsmod, modinfo, insmod, rmmod don't comment on this topic at all too.

linux kernel version 2.6.8.1

Cl<