From c68183d0b8cb8cb595c0fac05b6d989132543595 Mon Sep 17 00:00:00 2001 From: nate Date: Sun, 26 Oct 1997 04:36:24 +0000 Subject: - Do a bunch of gratuitous changes intended to make the code easier to follow. * Rename/reorder all of the pccard structures, change many of the member names to be descriptive, and follow more closely other 'bus' drivers naming schemes. * Rename a bunch of parameter and local variable names to be more consistant in the code. * Renamed the PCCARD 'crd' device to be the 'card' device * KNF and make the code consistant where it was obvious. * ifdef'd out some unused code --- sys/pccard/cardinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/pccard/cardinfo.h') diff --git a/sys/pccard/cardinfo.h b/sys/pccard/cardinfo.h index 7076c95..8be4c25 100644 --- a/sys/pccard/cardinfo.h +++ b/sys/pccard/cardinfo.h @@ -41,7 +41,7 @@ #define PIOCSMEM _IOW('P', 3, struct mem_desc) /* Set memory map */ #define PIOCGIO _IOWR('P', 4, struct io_desc) /* Get I/O map */ #define PIOCSIO _IOW('P', 5, struct io_desc) /* Set I/O map */ -#define PIOCSDRV _IOW('P', 6, struct drv_desc) /* Set driver */ +#define PIOCSDRV _IOW('P', 6, struct dev_desc) /* Set driver */ #define PIOCRWFLAG _IOW('P', 7, int) /* Set flags for drv use */ #define PIOCRWMEM _IOWR('P', 8, unsigned long) /* Set mem for drv use */ #define PIOCSPOW _IOW('P', 9, struct power) /* Set power structure */ @@ -94,7 +94,7 @@ struct io_desc { /* * Device descriptor for allocation of driver. */ -struct drv_desc { +struct dev_desc { char name[16]; /* Driver name */ int unit; /* Driver unit number */ unsigned long mem; /* Memory address of driver */ -- cgit v1.1