G/C <evbppc/obs405.h>.diff -r1.2 -r1.3 src/sys/arch/evbppc/include/obs200.h
(rin)
--- src/sys/arch/evbppc/include/obs200.h 2005/12/11 12:17:12 1.2
+++ src/sys/arch/evbppc/include/obs200.h 2021/03/30 03:45:34 1.3
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: obs200.h,v 1.2 2005/12/11 12:17:12 christos Exp $ */ | 1 | /* $NetBSD: obs200.h,v 1.3 2021/03/30 03:45:34 rin Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 2004 Shigeyuki Fukushima. | 4 | * Copyright 2004 Shigeyuki Fukushima. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Shigeyuki Fukushima for The NetBSD Project. | 7 | * Written by Shigeyuki Fukushima for The NetBSD Project. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above | 14 | * 2. Redistributions in binary form must reproduce the above | |
@@ -26,27 +26,25 @@ | @@ -26,27 +26,25 @@ | |||
26 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 26 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | |
28 | * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 28 | * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
29 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | 29 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
30 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 30 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | 31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | |
32 | * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | 32 | * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | |
33 | * DAMAGE. | 33 | * DAMAGE. | |
34 | */ | 34 | */ | |
35 | 35 | |||
36 | #ifndef _EVBPPC_OBS200_H_ | 36 | #ifndef _EVBPPC_OBS200_H_ | |
37 | #define _EVBPPC_OBS200_H_ | 37 | #define _EVBPPC_OBS200_H_ | |
38 | 38 | |||
39 | #include <machine/obs405.h> | |||
40 | ||||
41 | /* | 39 | /* | |
42 | * Device Properties for OpenBlockS S/R (IBM405GP 200MHz) | 40 | * Device Properties for OpenBlockS S/R (IBM405GP 200MHz) | |
43 | */ | 41 | */ | |
44 | 42 | |||
45 | /* UART Clock */ | 43 | /* UART Clock */ | |
46 | #define OBS200_COM_FREQ (COM_FREQ * 4) /* UART CLK 7.3728 MHz */ | 44 | #define OBS200_COM_FREQ (COM_FREQ * 4) /* UART CLK 7.3728 MHz */ | |
47 | 45 | |||
48 | /* | 46 | /* | |
49 | * extern variables and functions | 47 | * extern variables and functions | |
50 | */ | 48 | */ | |
51 | 49 | |||
52 | #endif /* _EVBPPC_OBS200_H_ */ | 50 | #endif /* _EVBPPC_OBS200_H_ */ |
--- src/sys/arch/evbppc/include/obs266.h 2005/12/11 12:17:12 1.2
+++ src/sys/arch/evbppc/include/obs266.h 2021/03/30 03:45:34 1.3
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: obs266.h,v 1.2 2005/12/11 12:17:12 christos Exp $ */ | 1 | /* $NetBSD: obs266.h,v 1.3 2021/03/30 03:45:34 rin Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 2004 Shigeyuki Fukushima. | 4 | * Copyright 2004 Shigeyuki Fukushima. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Shigeyuki Fukushima for The NetBSD Project. | 7 | * Written by Shigeyuki Fukushima for The NetBSD Project. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above | 14 | * 2. Redistributions in binary form must reproduce the above | |
@@ -26,28 +26,26 @@ | @@ -26,28 +26,26 @@ | |||
26 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 26 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | |
28 | * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 28 | * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
29 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | 29 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
30 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 30 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | 31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | |
32 | * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | 32 | * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | |
33 | * DAMAGE. | 33 | * DAMAGE. | |
34 | */ | 34 | */ | |
35 | 35 | |||
36 | #ifndef _EVBPPC_OBS266_H_ | 36 | #ifndef _EVBPPC_OBS266_H_ | |
37 | #define _EVBPPC_OBS266_H_ | 37 | #define _EVBPPC_OBS266_H_ | |
38 | 38 | |||
39 | #include <machine/obs405.h> | |||
40 | ||||
41 | /* | 39 | /* | |
42 | * Device Properties for OpenBlockS266 (IBM405GPr 266MHz) | 40 | * Device Properties for OpenBlockS266 (IBM405GPr 266MHz) | |
43 | */ | 41 | */ | |
44 | 42 | |||
45 | /* UART Clock */ | 43 | /* UART Clock */ | |
46 | #define OBS266_COM_FREQ (COM_FREQ * 4) /* UART CLK 7.3728 MHz */ | 44 | #define OBS266_COM_FREQ (COM_FREQ * 4) /* UART CLK 7.3728 MHz */ | |
47 | 45 | |||
48 | /* OpenBlockS266 GPIO LED */ | 46 | /* OpenBlockS266 GPIO LED */ | |
49 | #define OBS266_LED1 (1) | 47 | #define OBS266_LED1 (1) | |
50 | #define OBS266_LED2 (2) | 48 | #define OBS266_LED2 (2) | |
51 | #define OBS266_LED4 (4) | 49 | #define OBS266_LED4 (4) | |
52 | #define OBS266_LED_ON (OBS266_LED1 | OBS266_LED2 | OBS266_LED4) | 50 | #define OBS266_LED_ON (OBS266_LED1 | OBS266_LED2 | OBS266_LED4) | |
53 | #define OBS266_LED_OFF (~OBS266_LED1 & ~OBS266_LED2 & ~OBS266_LED4) | 51 | #define OBS266_LED_OFF (~OBS266_LED1 & ~OBS266_LED2 & ~OBS266_LED4) |
--- src/sys/arch/evbppc/include/obs600.h 2010/03/18 14:15:38 1.1
+++ src/sys/arch/evbppc/include/obs600.h 2021/03/30 03:45:34 1.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: obs600.h,v 1.1 2010/03/18 14:15:38 kiyohara Exp $ */ | 1 | /* $NetBSD: obs600.h,v 1.2 2021/03/30 03:45:34 rin Exp $ */ | |
2 | /* | 2 | /* | |
3 | * Copyright (c) 2009 KIYOHARA Takashi | 3 | * Copyright (c) 2009 KIYOHARA Takashi | |
4 | * All rights reserved. | 4 | * All rights reserved. | |
5 | * | 5 | * | |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without | |
7 | * modification, are permitted provided that the following conditions | 7 | * modification, are permitted provided that the following conditions | |
8 | * are met: | 8 | * are met: | |
9 | * 1. Redistributions of source code must retain the above copyright | 9 | * 1. Redistributions of source code must retain the above copyright | |
10 | * notice, this list of conditions and the following disclaimer. | 10 | * notice, this list of conditions and the following disclaimer. | |
11 | * 2. Redistributions in binary form must reproduce the above copyright | 11 | * 2. Redistributions in binary form must reproduce the above copyright | |
12 | * notice, this list of conditions and the following disclaimer in the | 12 | * notice, this list of conditions and the following disclaimer in the | |
13 | * documentation and/or other materials provided with the distribution. | 13 | * documentation and/or other materials provided with the distribution. | |
14 | * | 14 | * | |
@@ -25,20 +25,14 @@ | @@ -25,20 +25,14 @@ | |||
25 | * POSSIBILITY OF SUCH DAMAGE. | 25 | * POSSIBILITY OF SUCH DAMAGE. | |
26 | */ | 26 | */ | |
27 | 27 | |||
28 | #ifndef _EVBPPC_OBS600_H_ | 28 | #ifndef _EVBPPC_OBS600_H_ | |
29 | #define _EVBPPC_OBS600_H_ | 29 | #define _EVBPPC_OBS600_H_ | |
30 | 30 | |||
31 | /* | 31 | /* | |
32 | * Device Properties for OpenBlockS600 (AMCC 405EX 600MHz) | 32 | * Device Properties for OpenBlockS600 (AMCC 405EX 600MHz) | |
33 | */ | 33 | */ | |
34 | 34 | |||
35 | /* UART Clock */ | 35 | /* UART Clock */ | |
36 | #define OBS600_COM_FREQ (COM_FREQ * 4) /* UART CLK 7.3728 MHz */ | 36 | #define OBS600_COM_FREQ (COM_FREQ * 4) /* UART CLK 7.3728 MHz */ | |
37 | 37 | |||
38 | /* | |||
39 | * extern variables and functions | |||
40 | */ | |||
41 | ||||
42 | #include <machine/obs405.h> | |||
43 | ||||
44 | #endif /* _EVBPPC_OBS600_H_ */ | 38 | #endif /* _EVBPPC_OBS600_H_ */ |