diff options
author | bde <bde@FreeBSD.org> | 1995-11-04 13:25:33 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-04 13:25:33 +0000 |
commit | 336a6f070b228b59f25b26ea4de3ac0ff1c7160f (patch) | |
tree | 6f35ae0e7caade790223565873d04a0f034c5822 /sys/pccard | |
parent | 246c28b0f93b97b2c3c8dd1984ec68e01343a509 (diff) | |
download | FreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.zip FreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.tar.gz |
Moved prototypes for devswitch functions from conf.c and driver sources
to <machine/conf.h>. conf.h was mechanically generated by
`grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The
prototypes should be moved back to the driver sources when the functions
are staticalized.
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pccard.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index d5dfb0c..f15288c 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -73,19 +73,6 @@ struct kern_devconf kdc_pccard0 = { #define MIN(a,b) ((a)<(b)?(a):(b)) -/* - * cdevsw entry points - */ -int crdopen __P((dev_t dev, int oflags, int devtype, - struct proc *p)); -int crdclose __P((dev_t dev, int fflag, int devtype, - struct proc *p)); -int crdread __P((dev_t dev, struct uio *uio, int ioflag)); -int crdwrite __P((dev_t dev, struct uio *uio, int ioflag)); -int crdioctl __P((dev_t dev, int cmd, caddr_t data, - int fflag, struct proc *p)); -int crdselect __P((dev_t dev, int rw, struct proc *p)); - static int allocate_driver(struct slot *, struct drv_desc *); static void inserted(void *); static void disable_slot(struct slot *); |