/[gxemul]/trunk/src/devices/bus_pci.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/devices/bus_pci.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 13 by dpavlin, Mon Oct 8 16:18:00 2007 UTC revision 14 by dpavlin, Mon Oct 8 16:18:51 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: bus_pci.c,v 1.10 2005/03/18 23:20:52 debug Exp $   *  $Id: bus_pci.c,v 1.12 2005/09/27 23:18:32 debug Exp $
29   *     *  
30   *  This is a generic PCI bus device, used by even lower level devices.   *  This is a generic PCI bus device, used by even lower level devices.
31   *  For example, the "gt" device used in Cobalt machines contains a PCI   *  For example, the "gt" device used in Cobalt machines contains a PCI
# Line 43  Line 43 
43    
44  #include "bus_pci.h"  #include "bus_pci.h"
45    
46    /*  #define debug fatal  */
47    
48    
49  /*  /*
50   *  bus_pci_access():   *  bus_pci_access():
# Line 153  void bus_pci_add(struct machine *machine Line 155  void bus_pci_add(struct machine *machine
155  {  {
156          struct pci_device *new_device;          struct pci_device *new_device;
157    
158            if (pci_data == NULL) {
159                    fatal("bus_pci_add(): pci_data == NULL!\n");
160                    exit(1);
161            }
162    
163          /*  Make sure this bus/device/function number isn't already in use:  */          /*  Make sure this bus/device/function number isn't already in use:  */
164          new_device = pci_data->first_device;          new_device = pci_data->first_device;
165          while (new_device != NULL) {          while (new_device != NULL) {

Legend:
Removed from v.13  
changed lines
  Added in v.14

  ViewVC Help
Powered by ViewVC 1.1.26