summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pccard/pccardc
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-10-26 04:36:24 +0000
committernate <nate@FreeBSD.org>1997-10-26 04:36:24 +0000
commitc68183d0b8cb8cb595c0fac05b6d989132543595 (patch)
tree3e3880b90341465871c326ce768b275780757e2d /usr.sbin/pccard/pccardc
parentbc21da1f3f59930a96cd6829bfaf0147d28b7754 (diff)
downloadFreeBSD-src-c68183d0b8cb8cb595c0fac05b6d989132543595.zip
FreeBSD-src-c68183d0b8cb8cb595c0fac05b6d989132543595.tar.gz
- 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
Diffstat (limited to 'usr.sbin/pccard/pccardc')
-rw-r--r--usr.sbin/pccard/pccardc/enabler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pccard/pccardc/enabler.c b/usr.sbin/pccard/pccardc/enabler.c
index c0b6049..ddd1dfd 100644
--- a/usr.sbin/pccard/pccardc/enabler.c
+++ b/usr.sbin/pccard/pccardc/enabler.c
@@ -26,7 +26,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: enabler.c,v 1.8 1997/10/06 11:35:54 charnier Exp $";
#endif /* not lint */
#include <err.h>
@@ -47,7 +47,7 @@ enabler_main(argc, argv)
int argc;
char *argv[];
{
- struct drv_desc drv;
+ struct dev_desc drv;
struct mem_desc mem;
struct io_desc io;
int fd, slot, i, card_addr;
OpenPOWER on IntegriCloud