1 | # $Id: vboxguest.ioconf 70835 2018-01-31 14:49:25Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # NetBSD vboxguest module configuration
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2017 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # The contents of this file may alternatively be used under the terms
|
---|
18 | # of the Common Development and Distribution License Version 1.0
|
---|
19 | # (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | # VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | # CDDL are applicable instead of those of the GPL.
|
---|
22 | #
|
---|
23 | # You may elect to license modified versions of this file under the
|
---|
24 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | #
|
---|
26 |
|
---|
27 | # XXX:
|
---|
28 | #
|
---|
29 | # VBoxGuest-netbsd.c has manually edited copy of the config glue and
|
---|
30 | # we also provide stub "locators.h" in this directory. Both should
|
---|
31 | # really be generated by config(8) from this ioconf file but that runs
|
---|
32 | # into a couple of problems.
|
---|
33 | #
|
---|
34 | # We want to attach wsmouse(4) as a child, but we cannot expect the
|
---|
35 | # kernel that loads us to have "wsmouse* at wsmousedev?" attachment
|
---|
36 | # and in fact until recently x86 kernels didn't have it.
|
---|
37 | #
|
---|
38 | # But when we specify "wsmouse* at vboxguest?" attachment below
|
---|
39 | # config(8) thinks that this module defines wsmouse and generates
|
---|
40 | # CFDRIVER_DECL() for it and also includes it into cfdriver and
|
---|
41 | # cfattachinit arrays it emits.
|
---|
42 |
|
---|
43 | ioconf vboxguest
|
---|
44 |
|
---|
45 | include "conf/files"
|
---|
46 |
|
---|
47 | include "dev/i2o/files.i2o" # XXX: pci needs device iop
|
---|
48 | include "dev/pci/files.pci"
|
---|
49 |
|
---|
50 | device vboxguest: wsmousedev
|
---|
51 | attach vboxguest at pci
|
---|
52 |
|
---|
53 | pseudo-root pci*
|
---|
54 | vboxguest0 at pci? dev ? function ?
|
---|
55 |
|
---|
56 | wsmouse* at vboxguest?
|
---|