2007-03-18 Ralf Corsépius <ralf.corsepius@rtems.org>

* libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
This commit is contained in:
Ralf Corsepius
2007-03-18 07:56:34 +00:00
parent f0e48c55ff
commit 72cbfbb3cd
2 changed files with 1 additions and 65 deletions
+1
View File
@@ -1,5 +1,6 @@
2007-03-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
* libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw
instead of struct linesw (PR 1229)
* libnetworking/sys/systm.h: Comment out copyin/copyout to work
-65
View File
@@ -135,71 +135,6 @@ struct swdevt {
#define SW_SEQUENTIAL 0x02
#define sw_freed sw_flags /* XXX compat */
#ifdef _KERNEL
d_open_t noopen;
d_close_t noclose;
d_read_t noread;
d_write_t nowrite;
d_ioctl_t noioctl;
d_stop_t nostop;
d_reset_t noreset;
d_devtotty_t nodevtotty;
d_select_t noselect;
d_mmap_t nommap;
/* Bogus defines for compatibility. */
#define noioc noioctl
#define nostrat nostrategy
#define zerosize nopsize
/*
* XXX d_strategy seems to be unused for cdevs that aren't associated with
* bdevs and called without checking for it being non-NULL for bdevs.
*/
#define nostrategy ((d_strategy_t *)NULL)
d_dump_t nodump;
/*
* nopsize is little used, so not worth having dummy functions for.
*/
#define nopsize ((d_psize_t *)NULL)
d_open_t nullopen;
d_close_t nullclose;
#define nullstop nostop /* one void return is as good as another */
#define nullreset noreset /* one unused function is as good as another */
d_open_t nxopen;
d_close_t nxclose;
d_read_t nxread;
d_write_t nxwrite;
d_ioctl_t nxioctl;
#define nxstop nostop /* one void return is as good as another */
#define nxreset noreset /* one unused function is as good as another */
#define nxdevtotty nodevtotty /* one NULL return is as good as another */
d_select_t nxselect;
#define nxmmap nommap /* one -1 return is as good as another */
#define nxstrategy nostrategy /* one NULL value is as good as another */
d_dump_t nxdump;
#define nxpsize nopsize /* one NULL value is as good as another */
d_read_t rawread;
d_write_t rawwrite;
l_read_t l_noread;
l_write_t l_nowrite;
int bdevsw_add(dev_t *descrip,struct bdevsw *new,struct bdevsw **old);
int cdevsw_add(dev_t *descrip,struct cdevsw *new,struct cdevsw **old);
void cdevsw_make(struct bdevsw *from);
void bdevsw_add_generic(int bdev, int cdev, struct bdevsw *bdevsw);
dev_t chrtoblk(dev_t dev);
int isdisk(dev_t dev, int type);
int iskmemdev(dev_t dev);
int iszerodev(dev_t dev);
void setconf(void);
#endif /* _KERNEL */
#include <machine/conf.h>
#endif /* !_SYS_CONF_H_ */