aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/linedisc.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-06-25 11:28:07 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-06-25 11:28:07 +0000
commitb62591052cd21c57c2473af596c102447929bbce (patch)
tree97d5616f5980687f5558df06bdfb60b9819a60d8 /sys/sys/linedisc.h
parente379d366dd20b4b7d74dd6a40d33763942863535 (diff)
downloadsrc-b62591052cd21c57c2473af596c102447929bbce.tar.gz
src-b62591052cd21c57c2473af596c102447929bbce.zip
Remove bdevsw_add(), change the only two users to use bdevsw_add_generic().
Extend cdevsw to be superset of bdevsw. Remove non-functional bdev lkm support. Teach wcd what the open() args mean.
Notes
Notes: svn path=/head/; revision=37153
Diffstat (limited to 'sys/sys/linedisc.h')
-rw-r--r--sys/sys/linedisc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index 43096d391ddd..960cd22b75a2 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)conf.h 8.5 (Berkeley) 1/9/95
- * $Id: conf.h,v 1.40 1998/06/07 17:12:57 dfr Exp $
+ * $Id: conf.h,v 1.41 1998/06/17 14:58:04 bde Exp $
*/
#ifndef _SYS_CONF_H_
@@ -133,6 +133,11 @@ struct cdevsw {
char *d_name; /* see above */
struct bdevsw *d_bdev;
int d_maj;
+ d_dump_t *d_dump;
+ d_psize_t *d_psize;
+ u_int d_flags;
+ int d_maxio;
+ int d_bmaj;
};
#ifdef KERNEL
@@ -277,7 +282,6 @@ int bdevsw_module_handler __P((module_t mod, modeventtype_t what, void* arg));
#endif /* _SYS_MODULE_H_ */
-int bdevsw_add __P((dev_t *descrip,struct bdevsw *new,struct bdevsw **old));
int cdevsw_add __P((dev_t *descrip,struct cdevsw *new,struct cdevsw **old));
void bdevsw_add_generic __P((int bdev, int cdev, struct bdevsw *bdevsw));
dev_t chrtoblk __P((dev_t dev));