Changeset 6657a3d in rtems


Ignore:
Timestamp:
Feb 10, 2015, 3:33:16 PM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
e21a5b0
Parents:
48191662
git-author:
Daniel Hellstrom <daniel@…> (02/10/15 15:33:16)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:23)
Message:

LEON: GRPCI2 driver warning fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/pci/grpci2.c

    r48191662 r6657a3d  
    254254int grpci2_init1(struct drvmgr_dev *dev);
    255255int grpci2_init3(struct drvmgr_dev *dev);
     256void grpci2_err_isr(void *arg);
    256257
    257258/* GRPCI2 DRIVER */
     
    293294}
    294295
    295 int grpci2_cfg_r32(pci_dev_t dev, int ofs, uint32_t *val)
     296static int grpci2_cfg_r32(pci_dev_t dev, int ofs, uint32_t *val)
    296297{
    297298        struct grpci2_priv *priv = grpci2priv;
     
    359360}
    360361
    361 int grpci2_cfg_r16(pci_dev_t dev, int ofs, uint16_t *val)
     362static int grpci2_cfg_r16(pci_dev_t dev, int ofs, uint16_t *val)
    362363{
    363364        uint32_t v;
     
    373374}
    374375
    375 int grpci2_cfg_r8(pci_dev_t dev, int ofs, uint8_t *val)
     376static int grpci2_cfg_r8(pci_dev_t dev, int ofs, uint8_t *val)
    376377{
    377378        uint32_t v;
     
    385386}
    386387
    387 int grpci2_cfg_w32(pci_dev_t dev, int ofs, uint32_t val)
     388static int grpci2_cfg_w32(pci_dev_t dev, int ofs, uint32_t val)
    388389{
    389390        struct grpci2_priv *priv = grpci2priv;
     
    441442}
    442443
    443 int grpci2_cfg_w16(pci_dev_t dev, int ofs, uint16_t val)
     444static int grpci2_cfg_w16(pci_dev_t dev, int ofs, uint16_t val)
    444445{
    445446        uint32_t v;
     
    458459}
    459460
    460 int grpci2_cfg_w8(pci_dev_t dev, int ofs, uint8_t val)
     461static int grpci2_cfg_w8(pci_dev_t dev, int ofs, uint8_t val)
    461462{
    462463        uint32_t v;
     
    481482 * 0xff if not assigned.
    482483 */
    483 uint8_t grpci2_bus0_irq_map(pci_dev_t dev, int irq_pin)
     484static uint8_t grpci2_bus0_irq_map(pci_dev_t dev, int irq_pin)
    484485{
    485486        uint8_t sysIrqNr = 0; /* not assigned */
     
    496497}
    497498
    498 int grpci2_translate(uint32_t *address, int type, int dir)
     499static int grpci2_translate(uint32_t *address, int type, int dir)
    499500{
    500501        uint32_t adr, start, end;
     
    629630}
    630631
    631 int grpci2_hw_init(struct grpci2_priv *priv)
     632static int grpci2_hw_init(struct grpci2_priv *priv)
    632633{
    633634        struct grpci2_regs *regs = priv->regs;
     
    707708 *  -3            Error due to GRPCI2 hardware initialization
    708709 */
    709 int grpci2_init(struct grpci2_priv *priv)
     710static int grpci2_init(struct grpci2_priv *priv)
    710711{
    711712        struct ambapp_apb_info *apb;
Note: See TracChangeset for help on using the changeset viewer.