diff options
author | dmlb <dmlb@FreeBSD.org> | 2001-05-08 23:56:47 +0000 |
---|---|---|
committer | dmlb <dmlb@FreeBSD.org> | 2001-05-08 23:56:47 +0000 |
commit | 073481bfe460b5c3e8e404662589ecca867a94e0 (patch) | |
tree | bac1834e59acf6de0d951a3ab5b39a96d43b8a31 /sys | |
parent | 7879220c01bc02894bebf8bc0efd7e32aefd4b07 (diff) | |
download | FreeBSD-src-073481bfe460b5c3e8e404662589ecca867a94e0.zip FreeBSD-src-073481bfe460b5c3e8e404662589ecca867a94e0.tar.gz |
Add additional enumeration types for CARD_SET_RES_FLAGS.
Approved by: imp
MFC: after 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pccard/pccardvar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pccard/pccardvar.h b/sys/dev/pccard/pccardvar.h index e53e811..6d5178c 100644 --- a/sys/dev/pccard/pccardvar.h +++ b/sys/dev/pccard/pccardvar.h @@ -337,8 +337,12 @@ PCCARD_ACCESSOR(vendor_str, VENDOR_STR, char *) PCCARD_ACCESSOR(product_str, PRODUCT_STR, char *) PCCARD_ACCESSOR(cis3_str, CIS3_STR, char *) +/* shared memory flags */ enum { - PCCARD_A_MEM_ATTR = 0x1 + PCCARD_A_MEM_COM, /* common */ + PCCARD_A_MEM_ATTR, /* attribute */ + PCCARD_A_MEM_8BIT, /* 8 bit */ + PCCARD_A_MEM_16BIT /* 16 bit */ }; #define PCCARD_SOFTC(d) (struct pccard_softc *) device_get_softc(d) |