Rev 4668 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4668 | Rev 4688 | ||
---|---|---|---|
Line 200... | Line 200... | ||
200 | } else { |
200 | } else { |
201 | printf(NAME ": Error waiting on %s\n", vc); |
201 | printf(NAME ": Error waiting on %s\n", vc); |
202 | } |
202 | } |
203 | } |
203 | } |
204 | 204 | ||
205 | void mount_data(void) |
205 | static void mount_data(void) |
206 | { |
206 | { |
207 | int rc; |
207 | int rc; |
208 | 208 | ||
209 | printf("Trying to mount disk0 on /data... "); |
209 | printf("Trying to mount disk0 on /data... "); |
210 | fflush(stdout); |
210 | fflush(stdout); |
Line 243... | Line 243... | ||
243 | * non-blocking. |
243 | * non-blocking. |
244 | */ |
244 | */ |
245 | #ifdef CONFIG_START_BD |
245 | #ifdef CONFIG_START_BD |
246 | srv_start("/srv/ata_bd"); |
246 | srv_start("/srv/ata_bd"); |
247 | srv_start("/srv/gxe_bd"); |
247 | srv_start("/srv/gxe_bd"); |
- | 248 | #else |
|
- | 249 | (void) srv_start; |
|
248 | #endif |
250 | #endif |
- | 251 | ||
249 | #ifdef CONFIG_MOUNT_DATA |
252 | #ifdef CONFIG_MOUNT_DATA |
250 | mount_data(); |
253 | mount_data(); |
- | 254 | #else |
|
- | 255 | (void) mount_data; |
|
251 | #endif |
256 | #endif |
252 | 257 | ||
253 | getvc("vc0", "/app/bdsh"); |
258 | getvc("vc0", "/app/bdsh"); |
254 | getvc("vc1", "/app/bdsh"); |
259 | getvc("vc1", "/app/bdsh"); |
255 | getvc("vc2", "/app/bdsh"); |
260 | getvc("vc2", "/app/bdsh"); |