diff options
author | imp <imp@FreeBSD.org> | 2000-10-16 07:51:12 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-10-16 07:51:12 +0000 |
commit | 2fee85063566370ec64e81ecbdb472684befc0c7 (patch) | |
tree | 630d243d687c3dd53ccfcf0a684e0e0c5f7fc7da /sys/dev/pccard/pccardvar.h | |
parent | fa741b64760ab6b4cbad41f2e642a36f67a2476a (diff) | |
download | FreeBSD-src-2fee85063566370ec64e81ecbdb472684befc0c7.zip FreeBSD-src-2fee85063566370ec64e81ecbdb472684befc0c7.tar.gz |
First cut at allocating the resources from the CIS after the probe, but
before the attach. Things aren't completely working, but this is a good
checkpoint.
Also, initialize the dev member of the function as soon as we add it
to the parent.
Diffstat (limited to 'sys/dev/pccard/pccardvar.h')
-rw-r--r-- | sys/dev/pccard/pccardvar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pccard/pccardvar.h b/sys/dev/pccard/pccardvar.h index 5700f06..4b7cce4 100644 --- a/sys/dev/pccard/pccardvar.h +++ b/sys/dev/pccard/pccardvar.h @@ -103,6 +103,12 @@ struct pccard_config_entry { u_long hostaddr; } memspace[2]; /* XXX this could be as high as 8 */ int maxtwins; + struct resource *iores[4]; + int iorid[4]; + struct resource *irqres; + int irqrid; + struct resource *memres[2]; + int memrid[2]; STAILQ_ENTRY(pccard_config_entry) cfe_list; }; |