conf.h (163529) | conf.h (166438) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2000 5 * Poul-Henning Kamp. All rights reserved. 6 * (c) UNIX System Laboratories, Inc. 7 * All or some portions of this file are derived from material licensed 8 * to the University of California by American Telephone and Telegraph --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)conf.h 8.5 (Berkeley) 1/9/95 | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2000 5 * Poul-Henning Kamp. All rights reserved. 6 * (c) UNIX System Laboratories, Inc. 7 * All or some portions of this file are derived from material licensed 8 * to the University of California by American Telephone and Telegraph --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)conf.h 8.5 (Berkeley) 1/9/95 |
37 * $FreeBSD: head/sys/sys/conf.h 163529 2006-10-20 07:59:50Z kib $ | 37 * $FreeBSD: head/sys/sys/conf.h 166438 2007-02-02 22:27:45Z bms $ |
38 */ 39 40#ifndef _SYS_CONF_H_ 41#define _SYS_CONF_H_ 42 43#ifdef _KERNEL 44#include <sys/eventhandler.h> 45#else --- 189 unchanged lines hidden (view full) --- 235}; \ 236DECLARE_MODULE(name, name##_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE) 237 238 239void clone_setup(struct clonedevs **cdp); 240void clone_cleanup(struct clonedevs **); 241#define CLONE_UNITMASK 0xfffff 242#define CLONE_FLAG0 (CLONE_UNITMASK + 1) | 38 */ 39 40#ifndef _SYS_CONF_H_ 41#define _SYS_CONF_H_ 42 43#ifdef _KERNEL 44#include <sys/eventhandler.h> 45#else --- 189 unchanged lines hidden (view full) --- 235}; \ 236DECLARE_MODULE(name, name##_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE) 237 238 239void clone_setup(struct clonedevs **cdp); 240void clone_cleanup(struct clonedevs **); 241#define CLONE_UNITMASK 0xfffff 242#define CLONE_FLAG0 (CLONE_UNITMASK + 1) |
243int clone_create(struct clonedevs **, struct cdevsw *, int *unit, struct cdev **dev, u_int extra); | 243int clone_create(struct clonedevs **, struct cdevsw *, int *unit, struct cdev **dev, int extra); |
244 245int count_dev(struct cdev *_dev); 246void destroy_dev(struct cdev *_dev); 247struct cdevsw *dev_refthread(struct cdev *_dev); 248struct cdevsw *devvn_refthread(struct vnode *vp, struct cdev **devp); 249void dev_relthread(struct cdev *_dev); 250void dev_depends(struct cdev *_pdev, struct cdev *_cdev); 251void dev_ref(struct cdev *dev); --- 59 unchanged lines hidden --- | 244 245int count_dev(struct cdev *_dev); 246void destroy_dev(struct cdev *_dev); 247struct cdevsw *dev_refthread(struct cdev *_dev); 248struct cdevsw *devvn_refthread(struct vnode *vp, struct cdev **devp); 249void dev_relthread(struct cdev *_dev); 250void dev_depends(struct cdev *_pdev, struct cdev *_cdev); 251void dev_ref(struct cdev *dev); --- 59 unchanged lines hidden --- |