diff options
author | nate <nate@FreeBSD.org> | 1997-10-26 04:36:24 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-10-26 04:36:24 +0000 |
commit | c68183d0b8cb8cb595c0fac05b6d989132543595 (patch) | |
tree | 3e3880b90341465871c326ce768b275780757e2d /usr.sbin/pccard | |
parent | bc21da1f3f59930a96cd6829bfaf0147d28b7754 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/pccard/pccardc/enabler.c | 4 | ||||
-rw-r--r-- | usr.sbin/pccard/pccardd/cardd.c | 4 |
2 files changed, 4 insertions, 4 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; diff --git a/usr.sbin/pccard/pccardd/cardd.c b/usr.sbin/pccard/pccardd/cardd.c index d928d97..e2237f3 100644 --- a/usr.sbin/pccard/pccardd/cardd.c +++ b/usr.sbin/pccard/pccardd/cardd.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: cardd.c,v 1.18 1997/10/06 11:36:06 charnier Exp $"; #endif /* not lint */ #include <fcntl.h> @@ -553,7 +553,7 @@ setup_slot(struct slot *sp) { struct mem_desc mem; struct io_desc io; - struct drv_desc drv; + struct dev_desc drv; struct driver *drvp = sp->config->driver; char c; off_t offs; |