|
0
|
1 #ifndef CYGONCE_PKGCONF_SERIAL_MN10300_H |
|
|
2 #define CYGONCE_PKGCONF_SERIAL_MN10300_H |
|
|
3 // ==================================================================== |
|
|
4 // |
|
|
5 // pkgconf/serial_mn10300.h |
|
|
6 // |
|
|
7 // Device configuration file for mn10300 serial devices |
|
|
8 // |
|
|
9 // ==================================================================== |
|
|
10 //####COPYRIGHTBEGIN#### |
|
|
11 // |
|
|
12 // ------------------------------------------- |
|
|
13 // The contents of this file are subject to the Cygnus eCos Public License |
|
|
14 // Version 1.0 (the "License"); you may not use this file except in |
|
|
15 // compliance with the License. You may obtain a copy of the License at |
|
|
16 // http://sourceware.cygnus.com/ecos |
|
|
17 // |
|
|
18 // Software distributed under the License is distributed on an "AS IS" |
|
|
19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
|
20 // License for the specific language governing rights and limitations under |
|
|
21 // the License. |
|
|
22 // |
|
|
23 // The Original Code is eCos - Embedded Cygnus Operating System, released |
|
|
24 // September 30, 1998. |
|
|
25 // |
|
|
26 // The Initial Developer of the Original Code is Cygnus. Portions created |
|
|
27 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. |
|
|
28 // ------------------------------------------- |
|
|
29 // |
|
|
30 //####COPYRIGHTEND#### |
|
|
31 // ==================================================================== |
|
|
32 //#####DESCRIPTIONBEGIN#### |
|
|
33 // |
|
|
34 // Author(s): bartv |
|
|
35 // Contributors: bartv |
|
|
36 // Date: 1998-04-24 |
|
|
37 // Purpose: To allow the user to edit device configuration |
|
|
38 // options for the mn10300 serial devices |
|
|
39 // Description: |
|
|
40 // |
|
|
41 //####DESCRIPTIONEND#### |
|
|
42 // |
|
|
43 // ==================================================================== |
|
|
44 |
|
|
45 #include <pkgconf/system.h> |
|
|
46 |
|
|
47 /* Only define options if the driver is to be present. */ |
|
|
48 #if defined( CYGPKG_HAL_MN10300 ) && \ |
|
|
49 !defined( CYGPKG_HAL_MN10300_SIM ) && \ |
|
|
50 defined( CYGPKG_DEVICES_SERIAL_RS232_MN10300 ) |
|
|
51 |
|
|
52 /* ---------------------------------------------------------------------------- |
|
|
53 {{CFG_DATA |
|
|
54 |
|
|
55 cdl_package CYGPKG_DEVICES_SERIAL_RS232_MN10300 { |
|
|
56 display "MN10300 serial devices" |
|
|
57 parent CYGPKG_DEVICES_SERIAL_RS232_COMMON |
|
|
58 # requires CYGPKG_HAL_MN10300_STDEVAL1 |
|
|
59 requires CYGPKG_KERNEL |
|
|
60 description " |
|
|
61 Drivers for the on-chip RS232 devices." |
|
|
62 } |
|
|
63 |
|
|
64 cdl_component CYGPKG_DEVICES_SERIAL_RS232_MN10300_1 { |
|
|
65 display "On-chip serial device 1" |
|
|
66 parent CYGPKG_DEVICES_SERIAL_RS232_MN10300 |
|
|
67 requires CYGPKG_KERNEL |
|
|
68 description " |
|
|
69 Driver for the first on-chip RS232 device." |
|
|
70 } |
|
|
71 |
|
|
72 cdl_component CYGPKG_DEVICES_SERIAL_RS232_MN10300_2 { |
|
|
73 display "On-chip serial device 2" |
|
|
74 parent CYGPKG_DEVICES_SERIAL_RS232_MN10300 |
|
|
75 requires CYGPKG_KERNEL |
|
|
76 description " |
|
|
77 Driver for the second on-chip RS232 device." |
|
|
78 } |
|
|
79 |
|
|
80 }}CFG_DATA |
|
|
81 */ |
|
|
82 |
|
|
83 #define CYGPKG_DEVICES_SERIAL_RS232_MN10300_1 |
|
|
84 #define CYGPKG_DEVICES_SERIAL_RS232_MN10300_2 |
|
|
85 |
|
|
86 #endif /* ifdef CYGPKG_DEVICES_SERIAL_RS232_MN10300 et al */ |
|
|
87 |
|
|
88 #endif /* CYGONCE_PKGCONF_SERIAL_MN10300_H */ |
|
|
89 /* EOF serial_mn10300.h */ |