diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-02-11 12:40:17 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:25 +0200 |
commit | dd8abfc1086f87e97a436723995b74249f4f5ad4 (patch) | |
tree | 3649d386cfa2a62053cce81cb90b2acb898bea8e /c/src/lib/libbsp/sparc/shared/include | |
parent | GR-RASTA-SPW-ROUTER: fix build warnings (diff) | |
download | rtems-dd8abfc1086f87e97a436723995b74249f4f5ad4.tar.bz2 |
GR-RASTA-TMTC: fix build warnings
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/include')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/include/gr_rasta_tmtc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/gr_rasta_tmtc.h b/c/src/lib/libbsp/sparc/shared/include/gr_rasta_tmtc.h index 28b6ea0948..c6f1036e26 100644 --- a/c/src/lib/libbsp/sparc/shared/include/gr_rasta_tmtc.h +++ b/c/src/lib/libbsp/sparc/shared/include/gr_rasta_tmtc.h @@ -78,7 +78,8 @@ extern "C" { * used by the device drivers controlling the cores on the GR-RASTA-IO target * AMBA bus. * - * The array is defined weak, and defualts to no resources. + * The array is defined weak, and defaults to no resources. The array must be + * terminated with a NULL resource. */ extern struct drvmgr_bus_res *gr_rasta_tmtc_resources[]; @@ -86,9 +87,12 @@ extern struct drvmgr_bus_res *gr_rasta_tmtc_resources[]; #define RASTA_TMTC_OPTIONS_AMBA 0x01 /* Print AMBA bus devices */ #define RASTA_TMTC_OPTIONS_IRQ 0x02 /* Print current IRQ setup */ -/* Print information about GR-RASTA-TMTC PCI board */ +/* Print information about GR-RASTA-TMTC PCI boards */ void gr_rasta_tmtc_print(int options); +/* Print information about a GR-RASTA-TMTC PCI boards */ +void gr_rasta_tmtc_print_dev(struct drvmgr_dev *dev, int options); + /* Register GR-RASTA-TMTC driver */ void gr_rasta_tmtc_register_drv(void); |