Changeset 1a26f53b in rtems


Ignore:
Timestamp:
Mar 19, 2007, 7:01:40 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
63a5c63
Parents:
cf9fd567
Message:

Don't include machine/conf.h.
Update copyright notice.
Remove unused/non-implemented declarations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/sys/conf.h

    rcf9fd567 r1a26f53b  
    22 * Copyright (c) 1990, 1993
    33 *      The Regents of the University of California.  All rights reserved.
     4 * Copyright (c) 2000
     5 *      Poul-Henning Kamp.  All rights reserved.
    46 * (c) UNIX System Laboratories, Inc.
    57 * All or some portions of this file are derived from material licensed
     
    1618 *    notice, this list of conditions and the following disclaimer in the
    1719 *    documentation and/or other materials provided with the distribution.
    18  * 3. All advertising materials mentioning features or use of this software
    19  *    must display the following acknowledgement:
    20  *      This product includes software developed by the University of
    21  *      California, Berkeley and its contributors.
    2220 * 4. Neither the name of the University nor the names of its contributors
    2321 *    may be used to endorse or promote products derived from this software
     
    3735 *
    3836 *      @(#)conf.h      8.5 (Berkeley) 1/9/95
     37 * $FreeBSD: src/sys/sys/conf.h,v 1.231 2007/02/02 22:27:45 bms Exp $
     38 */
     39
     40/*
    3941 * $Id$
    4042 */
     
    4244#ifndef _SYS_CONF_H_
    4345#define _SYS_CONF_H_
     46
     47#ifdef _KERNEL
    4448
    4549/*
     
    5256struct uio;
    5357struct vnode;
    54 
    55 typedef int d_open_t(dev_t dev, int oflags, int devtype, struct proc *p);
    56 typedef int d_close_t(dev_t dev, int fflag, int devtype, struct proc *p);
    57 typedef void d_strategy_t(struct buf *bp);
    58 typedef int d_ioctl_t(dev_t dev, int cmd, caddr_t data,
    59                            int fflag, struct proc *p);
    60 typedef int d_dump_t(dev_t dev);
    61 typedef int d_psize_t(dev_t dev);
    62 
    63 typedef int d_read_t(dev_t dev, struct uio *uio, int ioflag);
    64 typedef int d_write_t(dev_t dev, struct uio *uio, int ioflag);
    65 typedef void d_stop_t(struct tty *tp, int rw);
    66 typedef int d_reset_t(dev_t dev);
    67 typedef struct tty *d_devtotty_t(dev_t dev);
    68 typedef int d_select_t(dev_t dev, int which, struct proc *p);
    69 typedef int d_mmap_t(dev_t dev, int offset, int nprot);
    70 
    71 typedef int l_open_t(dev_t dev, struct tty *tp);
    72 typedef int l_close_t(struct tty *tp, int flag);
    73 typedef int l_read_t(struct tty *tp, struct uio *uio, int flag);
    74 typedef int l_write_t(struct tty *tp, struct uio *uio, int flag);
    75 typedef int l_ioctl_t(struct tty *tp, int cmd, caddr_t data,
    76                            int flag, struct proc *p);
    77 typedef int l_rint_t(int c, struct tty *tp);
    78 typedef int l_start_t(struct tty *tp);
    79 typedef int l_modem_t(struct tty *tp, int flag);
    80 
    81 #include <machine/conf.h>
     58#endif /* _KERNEL */
    8259
    8360#endif /* !_SYS_CONF_H_ */
Note: See TracChangeset for help on using the changeset viewer.