Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added PCI subclass and class codes to clear up the opaque PCI configuration stuff....
[palacios.git] / palacios / src / devices / i440fx.c
index 4f7b48f..d631235 100644 (file)
@@ -66,7 +66,7 @@ static int i440_init(struct vm_device * dev) {
     pci_dev->config_header.device_id = 0x1237;
     pci_dev->config_header.revision = 0x02;
     pci_dev->config_header.subclass = 0x00; //  SubClass: host2pci
-    pci_dev->config_header.class = 0x06;    // Class: PCI bridge
+    pci_dev->config_header.class = PCI_CLASS_BRIDGE;    // Class: PCI bridge
 
     pci_dev->config_space[0x72] = 0x02; // SMRAM (?)