[RTEMS Project] #3017: improvement in pci.h

RTEMS trac trac at rtems.org
Tue May 9 23:52:49 UTC 2017


#3017: improvement in pci.h
--------------------------+-----------------------------
 Reporter:  phongvanpham  |      Owner:  joel.sherrill@…
     Type:  task          |     Status:  new
 Priority:  normal        |  Milestone:  4.12
Component:  cpukit        |    Version:  4.12
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In pci.h, there are references to BSP_pci_configuration data structure
 which is in pci.c.  However, in this file, there are also references to
 detect_host_bridge () in detect_raven_bridge.c.  For folks that are just
 interested in pci_read_config_dword() + its brothers, all they need is to
 include pci.h and content for where  BSP_pci_configuration is defined.
 The rest of the stuff in pci.c should be separate.  Or in another word,
 data structures and #defines involving with BSP_pci_configuration needs to
 be in separate files rather all stuffed in pci.c

 I currently do not need this functionality for my BSP (nor do I able to
 test it), so I cannot modify code and submit.  It is best someone who can
 test the code to make the code change.  Or else, just shelf it under the
 table and/or close this ticket.

--
Ticket URL: <http://devel.rtems.org/ticket/3017>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list