1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Add additional enumeration types for CARD_SET_RES_FLAGS.

Approved by:	imp
MFC:	after 1 week
This commit is contained in:
Duncan Barclay 2001-05-08 23:56:47 +00:00
parent a31957707a
commit 0a177c3dca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76387

View File

@ -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)