diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-21 16:01:48 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-21 16:01:48 +0000 |
commit | f05b2ac0bc4626e854afc6e6a5d1b88071adbd7c (patch) | |
tree | 4150010cec9b6b51100f183b435955cd847679b4 /c/src/lib/libbsp/powerpc/shared/motorola | |
parent | Remove stray white spaces. (diff) | |
download | rtems-f05b2ac0bc4626e854afc6e6a5d1b88071adbd7c.tar.bz2 |
Remove duplicate white lines.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/motorola')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/motorola/motorola.c | 28 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/motorola/motorola.h | 8 |
2 files changed, 0 insertions, 36 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/motorola/motorola.c b/c/src/lib/libbsp/powerpc/shared/motorola/motorola.c index f30cfc5d2d..c196228776 100644 --- a/c/src/lib/libbsp/powerpc/shared/motorola/motorola.c +++ b/c/src/lib/libbsp/powerpc/shared/motorola/motorola.c @@ -12,13 +12,11 @@ * $Id$ */ - #include <bsp/motorola.h> #include <rtems/bspIo.h> #include <libcpu/io.h> #include <string.h> - /* ** Board-specific table that maps interrupt names to onboard pci ** peripherals as well as local pci busses. This table is used at @@ -67,8 +65,6 @@ #define NULL_PINMAP {-1,{-1,-1,-1,-1}} #define NULL_INTMAP {-1,-1,-1,{}} - - static struct _int_map mcp750_intmap[] = { { 0, 16, 0, {{1, {5, 19,-1,-1}}, /* pmc slot */ @@ -85,9 +81,6 @@ static struct _int_map mcp750_intmap[] = { NULL_INTMAP }; - - - static struct _int_map mtx603_intmap[] = { {0, 14, 0, {{1, {10,16,-1,-1}}, /* onboard ethernet */ @@ -116,13 +109,6 @@ static struct _int_map mtx603_intmap[] = { NULL_INTMAP }; - - - - - - - /* * This table represents the standard PCI swizzle defined in the * PCI bus specification. Table taken from Linux 2.4.18, prep_pci.c, @@ -141,14 +127,6 @@ static int prep_pci_swizzle(int slot, int pin) return prep_pci_intpins[ slot % 4 ][ pin-1 ]; } - - - - - - - - typedef struct { /* * 0x100 mask assumes for Raven and Hawk boards @@ -163,7 +141,6 @@ typedef struct { int (*swizzler)(int, int); } mot_info_t; - static const mot_info_t mot_boards[] = { {0x300, 0x00, "MVME 2400", NULL, NULL}, {0x010, 0x00, "Genesis", NULL, NULL}, @@ -188,8 +165,6 @@ static const mot_info_t mot_boards[] = { {0x000, 0x00, ""} }; - - prep_t currentPrepType; motorolaBoard currentBoard; prep_t checkPrepBoardType(RESIDUAL *res) @@ -250,21 +225,18 @@ motorolaBoard getMotorolaBoard() return currentBoard; } - const char* motorolaBoardToString(motorolaBoard board) { if (board == MOTOROLA_UNKNOWN) return "Unknown motorola board"; return (mot_boards[board].name); } - const struct _int_map *motorolaIntMap(motorolaBoard board) { if (board == MOTOROLA_UNKNOWN) return NULL; return mot_boards[board].intmap; } - const void *motorolaIntSwizzle(motorolaBoard board) { if (board == MOTOROLA_UNKNOWN) return NULL; diff --git a/c/src/lib/libbsp/powerpc/shared/motorola/motorola.h b/c/src/lib/libbsp/powerpc/shared/motorola/motorola.h index 11d3fff4c4..f690f9ea24 100644 --- a/c/src/lib/libbsp/powerpc/shared/motorola/motorola.h +++ b/c/src/lib/libbsp/powerpc/shared/motorola/motorola.h @@ -18,13 +18,6 @@ #include <bsp/residual.h> #include <bsp/pci.h> - - - - - - - typedef enum { PREP_IBM = 0, PREP_Radstone = 1, @@ -72,5 +65,4 @@ extern const char* motorolaBoardToString(motorolaBoard); extern const struct _int_map *motorolaIntMap(motorolaBoard board); extern const void *motorolaIntSwizzle(motorolaBoard board); - #endif /* LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H */ |