diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-02-11 12:38:22 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:25 +0200 |
commit | 03037b464fd810855a55e14a14b8fba2db7b5df3 (patch) | |
tree | 5f6b8ecec3ec2b3a3410419125113ad181db7d75 /c/src/lib/libbsp/sparc/shared/include/gr_rasta_adcdac.h | |
parent | GR-LEON4-N2X: fix build warnings (diff) | |
download | rtems-03037b464fd810855a55e14a14b8fba2db7b5df3.tar.bz2 |
GR-RASTA-ADCDAC: fix build warnings
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/include/gr_rasta_adcdac.h')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/include/gr_rasta_adcdac.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/gr_rasta_adcdac.h b/c/src/lib/libbsp/sparc/shared/include/gr_rasta_adcdac.h index 42c7c566ff..ea8d2f33c5 100644 --- a/c/src/lib/libbsp/sparc/shared/include/gr_rasta_adcdac.h +++ b/c/src/lib/libbsp/sparc/shared/include/gr_rasta_adcdac.h @@ -27,8 +27,8 @@ extern "C" { /* An array of pointers to GR-RASTA-ADCDAC resources. The resources will be * used by the drivers controlling the cores on the GR-RASTA-ADCDAC target AMBA bus. * - * The gr_rasta_io_resources is declared weak so that the user can override the - * default configuration. + * The gr_rasta_adcdac_resources is declared weak so that the user can override + * the default configuration. The array must be terminated with a NULL resource. */ extern struct drvmgr_bus_res *gr_rasta_adcdac_resources[]; @@ -36,9 +36,12 @@ extern struct drvmgr_bus_res *gr_rasta_adcdac_resources[]; #define RASTA_ADCDAC_OPTIONS_AMBA 0x01 /* Print AMBA bus devices */ #define RASTA_ADCDAC_OPTIONS_IRQ 0x02 /* Print current IRQ setup */ -/* Print information about GR-RASTA-IO PCI board */ +/* Print information about all GR-RASTA-IO PCI boards */ void gr_rasta_adcdac_print(int options); +/* Print information about one GR-RASTA-IO PCI board */ +void gr_rasta_adcdac_print_dev(struct drvmgr_dev *dev, int options); + /* Register GR-RASTA-IO driver */ void gr_rasta_adcdac_register_drv(void); |