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 /sys/pccard/driver.h | |
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 'sys/pccard/driver.h')
-rw-r--r-- | sys/pccard/driver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pccard/driver.h b/sys/pccard/driver.h index 7b70b14..3f501e2 100644 --- a/sys/pccard/driver.h +++ b/sys/pccard/driver.h @@ -8,15 +8,15 @@ #define _PCCARD_DRIVER_H_ struct lkm_table; -struct pccard_drv; +struct pccard_device; -void pccard_add_driver __P((struct pccard_drv *)); +void pccard_add_driver __P((struct pccard_device *)); #ifdef _I386_ISA_ISA_DEVICE_H_ /* XXX actually if inthand2_t is declared */ int pccard_alloc_intr __P((u_int imask, inthand2_t *hand, int unit, u_int *maskp, u_int *pcic_imask)); #endif void pccard_configure __P((void)); -void pccard_remove_driver __P((struct pccard_drv *dp)); +void pccard_remove_driver __P((struct pccard_device *)); int pcic_probe __P((void)); /* XXX should be linker set */ #endif /* !_PCCARD_DRIVER_H_ */ |