diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-01-22 06:59:30 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-02-01 04:00:22 -0500 |
commit | 7034228792cc561e79ff8600f02884bd4c80e287 (patch) | |
tree | 89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/sgi-ip27/ip27-hubio.c | |
parent | 405ab01c70e18058d9c01a1256769a61fc65413e (diff) |
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this
once and for all rather than dealing with this kind of patches trickling
in forever.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-hubio.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-hubio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/sgi-ip27/ip27-hubio.c b/arch/mips/sgi-ip27/ip27-hubio.c index cd0d5b06cd83..328ceb3c86ec 100644 --- a/arch/mips/sgi-ip27/ip27-hubio.c +++ b/arch/mips/sgi-ip27/ip27-hubio.c | |||
@@ -17,11 +17,11 @@ | |||
17 | static int force_fire_and_forget = 1; | 17 | static int force_fire_and_forget = 1; |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * hub_pio_map - establish a HUB PIO mapping | 20 | * hub_pio_map - establish a HUB PIO mapping |
21 | * | 21 | * |
22 | * @hub: hub to perform PIO mapping on | 22 | * @hub: hub to perform PIO mapping on |
23 | * @widget: widget ID to perform PIO mapping for | 23 | * @widget: widget ID to perform PIO mapping for |
24 | * @xtalk_addr: xtalk_address that needs to be mapped | 24 | * @xtalk_addr: xtalk_address that needs to be mapped |
25 | * @size: size of the PIO mapping | 25 | * @size: size of the PIO mapping |
26 | * | 26 | * |
27 | **/ | 27 | **/ |
@@ -78,8 +78,8 @@ unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget, | |||
78 | /* | 78 | /* |
79 | * hub_setup_prb(nasid, prbnum, credits, conveyor) | 79 | * hub_setup_prb(nasid, prbnum, credits, conveyor) |
80 | * | 80 | * |
81 | * Put a PRB into fire-and-forget mode if conveyor isn't set. Otherwise, | 81 | * Put a PRB into fire-and-forget mode if conveyor isn't set. Otherwise, |
82 | * put it into conveyor belt mode with the specified number of credits. | 82 | * put it into conveyor belt mode with the specified number of credits. |
83 | */ | 83 | */ |
84 | static void hub_setup_prb(nasid_t nasid, int prbnum, int credits) | 84 | static void hub_setup_prb(nasid_t nasid, int prbnum, int credits) |
85 | { | 85 | { |
@@ -125,12 +125,12 @@ static void hub_setup_prb(nasid_t nasid, int prbnum, int credits) | |||
125 | * so we turn off access to all widgets for the duration of the function. | 125 | * so we turn off access to all widgets for the duration of the function. |
126 | * | 126 | * |
127 | * XXX - This code should really check what kind of widget we're talking | 127 | * XXX - This code should really check what kind of widget we're talking |
128 | * to. Bridges can only handle three requests, but XG will do more. | 128 | * to. Bridges can only handle three requests, but XG will do more. |
129 | * How many can crossbow handle to widget 0? We're assuming 1. | 129 | * How many can crossbow handle to widget 0? We're assuming 1. |
130 | * | 130 | * |
131 | * XXX - There is a bug in the crossbow that link reset PIOs do not | 131 | * XXX - There is a bug in the crossbow that link reset PIOs do not |
132 | * return write responses. The easiest solution to this problem is to | 132 | * return write responses. The easiest solution to this problem is to |
133 | * leave widget 0 (xbow) in fire-and-forget mode at all times. This | 133 | * leave widget 0 (xbow) in fire-and-forget mode at all times. This |
134 | * only affects pio's to xbow registers, which should be rare. | 134 | * only affects pio's to xbow registers, which should be rare. |
135 | **/ | 135 | **/ |
136 | static void hub_set_piomode(nasid_t nasid) | 136 | static void hub_set_piomode(nasid_t nasid) |
@@ -167,7 +167,7 @@ static void hub_set_piomode(nasid_t nasid) | |||
167 | } | 167 | } |
168 | 168 | ||
169 | /* | 169 | /* |
170 | * hub_pio_init - PIO-related hub initialization | 170 | * hub_pio_init - PIO-related hub initialization |
171 | * | 171 | * |
172 | * @hub: hubinfo structure for our hub | 172 | * @hub: hubinfo structure for our hub |
173 | */ | 173 | */ |