]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/io/pci/v2_0/cdl/io_pci.cdl
Initial revision
[karo-tx-redboot.git] / packages / io / pci / v2_0 / cdl / io_pci.cdl
1 # ====================================================================
2 #
3 #      io_pci.cdl
4 #
5 #      eCos PCI library configuration data
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12 ##
13 ## eCos is free software; you can redistribute it and/or modify it under
14 ## the terms of the GNU General Public License as published by the Free
15 ## Software Foundation; either version 2 or (at your option) any later version.
16 ##
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20 ## for more details.
21 ##
22 ## You should have received a copy of the GNU General Public License along
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25 ##
26 ## As a special exception, if other files instantiate templates or use macros
27 ## or inline functions from this file, or you compile this file and link it
28 ## with other works to produce a work based on this file, this file does not
29 ## by itself cause the resulting work to be covered by the GNU General Public
30 ## License. However the source code for this file must still be made available
31 ## in accordance with section (3) of the GNU General Public License.
32 ##
33 ## This exception does not invalidate any other reasons why a work based on
34 ## this file might be covered by the GNU General Public License.
35 ##
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37 ## at http://sources.redhat.com/ecos/ecos-license/
38 ## -------------------------------------------
39 #####ECOSGPLCOPYRIGHTEND####
40 # ====================================================================
41 ######DESCRIPTIONBEGIN####
42 #
43 # Author(s):      jskov
44 # Contributors:
45 # Date:           1999-08-12
46 #
47 #####DESCRIPTIONEND####
48 #
49 # ====================================================================
50
51 cdl_package CYGPKG_IO_PCI {
52     display       "PCI configuration library"
53     doc           ref/io-pci.html
54     include_dir   cyg/io
55     parent        CYGPKG_IO
56     description   "
57            The PCI configuration library provides initialization of devices
58            on the PCI bus. Functions to find and access these devices are
59            also provided."
60
61     compile       pci.c pci_hw.c
62
63     cdl_component CYGPKG_IO_PCI_OPTIONS {
64         display "PCI build options"
65         flavor  none
66         description   "
67             Package specific build options including control over
68             compiler flags used only in building this package,
69             and details of which tests are built."
70
71
72         cdl_option CYGPKG_IO_PCI_CFLAGS_ADD {
73             display "Additional compiler flags"
74             flavor  data
75             no_define
76             default_value { "" }
77             description   "
78                 This option modifies the set of compiler flags for
79                 building the PCI configuration library. These flags are used in addition
80                 to the set of global flags."
81         }
82
83         cdl_option CYGPKG_IO_PCI_CFLAGS_REMOVE {
84             display "Suppressed compiler flags"
85             flavor  data
86             no_define
87             default_value { "" }
88             description   "
89                 This option modifies the set of compiler flags for
90                 building the PCI configuration library. These flags are removed from
91                 the set of global flags if present."
92         }
93
94         cdl_option CYGPKG_IO_PCI_DEBUG {
95             display "Enable debugging."
96             flavor  bool
97             default_value 0
98             description   "
99                 This option enables minimal debugging of the PCI library.
100                 In particular, it will print information about devices as the
101                 PCI bus is being scanned/searched."
102         }
103
104         cdl_option CYGPKG_IO_PCI_TESTS {
105             display "PCI tests"
106             flavor  data
107             no_define
108             calculated { "tests/pci1 tests/pci2" }
109             description   "
110                 This option specifies the set of tests for the PCI configuration library."
111         }
112
113         cdl_option CYGPKG_IO_PCI_CONFIGURE_INTLINE {
114             display "Writeback Interrupt Line register."
115             flavor  bool
116             default_value 0
117             description   "
118                 This option causes a PCI device interrupt vector to be
119                 written to the Interrupt Line register in config space.
120                 This is traditionally done by a BIOS so that device
121                 drivers can read the interrupt vector directly from
122                 device configuration space."
123         }
124     }
125 }