(E-Mail Removed) (Dr. Nikolaus Schaller) wrote in message news:<(E-Mail Removed). com>...
> * what does the "to 1" mean? I could not find a description in the
> config manual
> * as the card has to load two drivers (the ide and the wifi), how do I
> specify?
I have reverse engineered the sources (yacc_config.y) of cardmgr and
here is the BNF:
list: /* nothing */
| list adjust
| list device
| list mtd
| list card
| list opts
| list mtd_opts
| list error
adjust: "include" resource
| "exclude" resource
| "reserve" resource
| adjust ',' resource
resource: "irq" NUMBER
| "port" NUMBER '-' NUMBER
| "memory" NUMBER '-' NUMBER
device: "device" STRING
| needs_mtd
| module
| class
card: "card" STRING
| anonymous
| tuple
| manfid
| pci
| version
| function
| bind
| cis
anonymous: card "anonymous"
tuple: card "tuple" NUMBER ',' NUMBER ',' STRING
manfid: card "manfid" NUMBER ',' NUMBER
pci: card "pci" NUMBER ',' NUMBER
version: card "version" STRING
| version ',' STRING
function: card "function" NUMBER
cis: card "cis" STRING
bind: card "bind" STRING
| card "bind" STRING "to" NUMBER
| bind ',' STRING
| bind ',' STRING "to" NUMBER
needs_mtd: device "needs_mtd"
opts: "module" STRING "opts" STRING
module: device "module" STRING
| module "opts" STRING
| module ',' STRING
class: device "class" STRING
region: "region" STRING
| dtype
| jedec
| default
dtype: region "dtype" NUMBER
jedec: region "jedec" NUMBER NUMBER
default: region "default"
mtd: region "mtd" STRING
| mtd "opts" STRING
mtd_opts: "mtd" STRING "opts" STRING
So, I can either write:
card "xxx" bind "x" to n, "y", "z"
or
card "xxx" bind "x" to n bind "y" bind "z"
A missing "to" clause means bind "x" to 0
The "to" clause specifies binding to a specific function (which I
don't understand yet).
-- hns