Changeset df0243f in rtems


Ignore:
Timestamp:
Dec 11, 2009, 1:00:27 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
01f8266
Parents:
b80cf5a
Message:

2009-12-11 Ralf Corsépius <ralf.corsepius@…>

PR 1483/cpukit

  • pci/pci.c: Rename pci_config into rtems_pci_config_t.
Location:
c/src/lib/libbsp
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mvme5500/ChangeLog

    rb80cf5a rdf0243f  
     12009-12-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        PR 1483/cpukit
     4        * pci/pci.c: Rename pci_config into rtems_pci_config_t.
     5
    162009-10-23      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c

    rb80cf5a rdf0243f  
    6868static DiscoveryChipVersion BSP_sysControllerVersion = 0;
    6969static BSP_VMEchipTypes BSP_VMEinterface = 0;
    70 static pci_config BSP_pci[2]={
     70static rtems_pci_config_t BSP_pci[2]={
    7171  {(volatile unsigned char*) (GT64x60_PCI_CONFIG_ADDR),
    7272   (volatile unsigned char*) (GT64x60_PCI_CONFIG_DATA),
     
    9393 */
    9494static int indirect_pci_read_config_byte(unsigned char bus,unsigned char dev,unsigned char func,
    95 unsigned char offset,unsigned char *val)
     95unsigned char offset, uint8_t *val)
    9696{
    9797  int n=0;
     
    115115
    116116static int indirect_pci_read_config_word(unsigned char bus, unsigned char dev,
    117 unsigned char func, unsigned char offset, unsigned short *val)
     117unsigned char func, unsigned char offset, uint16_t *val)
    118118{
    119119  int n=0;
     
    136136
    137137static int indirect_pci_read_config_dword(unsigned char bus, unsigned char dev,
    138 unsigned char func, unsigned char offset, unsigned int *val)
     138unsigned char func, unsigned char offset, uint32_t *val)
    139139{
    140140  int n=0;
     
    153153}
    154154
    155 static int indirect_pci_write_config_byte(unsigned char bus, unsigned char dev,unsigned char func, unsigned char offset, unsigned char val)
     155static int indirect_pci_write_config_byte(unsigned char bus, unsigned char dev,unsigned char func, unsigned char offset, uint8_t val)
    156156{
    157157  int n=0;
     
    169169}
    170170
    171 static int indirect_pci_write_config_word(unsigned char bus, unsigned char dev,unsigned char func, unsigned char offset, unsigned short val)
     171static int indirect_pci_write_config_word(unsigned char bus, unsigned char dev,unsigned char func, unsigned char offset, uint16_t val)
    172172{
    173173  int n=0;
     
    185185}
    186186
    187 static int indirect_pci_write_config_dword(unsigned char bus,unsigned char dev,unsigned char func, unsigned char offset, unsigned int val)
     187static int indirect_pci_write_config_dword(unsigned char bus,unsigned char dev,unsigned char func, unsigned char offset, uint32_t val)
    188188{
    189189  int n=0;
     
    211211
    212212
    213 pci_config BSP_pci_configuration = {
     213rtems_pci_config_t BSP_pci_configuration = {
    214214           (volatile unsigned char*) (GT64x60_PCI_CONFIG_ADDR),
    215215           (volatile unsigned char*) (GT64x60_PCI_CONFIG_DATA),
  • c/src/lib/libbsp/sparc/leon2/ChangeLog

    rb80cf5a rdf0243f  
     12009-12-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        PR 1483/cpukit
     4        * pci/pci.c: Rename pci_config into rtems_pci_config_t.
     5
    162009-12-10      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/sparc/leon2/pci/pci.c

    rb80cf5a rdf0243f  
    224224};
    225225
    226 pci_config BSP_pci_configuration = { (volatile unsigned char*)PCI_CONFIG_ADDR,
    227                                      (volatile unsigned char*)PCI_CONFIG_DATA,
    228                                      &pci_access_functions };
    229 
    230 
     226rtems_pci_config_t BSP_pci_configuration = {
     227    (volatile unsigned char*)PCI_CONFIG_ADDR,
     228    (volatile unsigned char*)PCI_CONFIG_DATA,
     229    &pci_access_functions
     230};
    231231
    232232
  • c/src/lib/libbsp/sparc/leon3/ChangeLog

    rb80cf5a rdf0243f  
     12009-12-11      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        PR 1483/cpukit
     4        * pci/pci.c: Rename pci_config into rtems_pci_config_t.
     5
    162009-12-10      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/sparc/leon3/pci/pci.c

    rb80cf5a rdf0243f  
    222222};
    223223
    224 pci_config BSP_pci_configuration = { (volatile unsigned char*)PCI_CONFIG_ADDR,
    225                                      (volatile unsigned char*)PCI_CONFIG_DATA,
    226                                      &pci_access_functions };
    227 
    228 
     224rtems_pci_config_t BSP_pci_configuration = {
     225   (volatile unsigned char*)PCI_CONFIG_ADDR,
     226   (volatile unsigned char*)PCI_CONFIG_DATA,
     227   &pci_access_functions
     228};
    229229
    230230
Note: See TracChangeset for help on using the changeset viewer.