diff options
| author | Duncan Barclay <dmlb@FreeBSD.org> | 2001-05-08 23:57:32 +0000 |
|---|---|---|
| committer | Duncan Barclay <dmlb@FreeBSD.org> | 2001-05-08 23:57:32 +0000 |
| commit | 1fcaa98da53b2715361878c820594aa369830ade (patch) | |
| tree | 2a52390efe85756547f0c67fbc6418b2c8717e55 /sys/dev | |
| parent | 0a177c3dca1d775cecb8fc8e5c19441832eef05b (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/cnw/if_cnw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/cnw/if_cnw.c b/sys/dev/cnw/if_cnw.c index b291ff23af84..fdfb903ef95f 100644 --- a/sys/dev/cnw/if_cnw.c +++ b/sys/dev/cnw/if_cnw.c @@ -264,6 +264,7 @@ struct cfattach cnw_ca = { #include <net/bpf.h> +#include <dev/pccard/pccardvar.h> #include "card_if.h" #include <dev/cnw/if_cnwioctl.h> @@ -1701,7 +1702,7 @@ static int cnw_alloc(dev) } error = CARD_SET_RES_FLAGS(device_get_parent(dev), dev, - SYS_RES_MEMORY, rid, 2); + SYS_RES_MEMORY, rid, PCCARD_A_MEM_8BIT); if (error) { device_printf(dev, "CARD_SET_RES_FLAGS returned 0x%0x\n", error); |
