--- trunk/src/devices/bus_pci.c 2007/10/12 22:06:53 61 +++ trunk/src/devices/bus_pci.c 2007/10/13 12:51:47 62 @@ -925,10 +925,12 @@ PCIINIT(mpc10x) { + uint64_t port, memaddr; + debug("sandpoint mpx10x host bridge\n"); PCI_SET_DATA(PCI_ID_REG, PCI_ID_CODE(PCI_VENDOR_MOT, - PCI_DEVICE_ID_MOTOROLA_MPC106)); /* FIXME MPC106 ?? */ + PCI_DEVICE_ID_MOTOROLA_MPC107)); /* FIXME MPC106 ?? */ PCI_SET_DATA(PCI_CLASS_REG, PCI_CLASS_CODE(PCI_CLASS_BRIDGE, PCI_SUBCLASS_BRIDGE_HOST, 0) + 0x00); /* Revision? */ @@ -936,9 +938,10 @@ PCI_SET_DATA(PCI_BHLC_REG, PCI_BHLC_CODE(0,0, 1 /* multi-function */, 0x40,0)); - /* TODO */ - //allocate_device_space(pd, 0x10000, 0x10000, &port, &memaddr); - + allocate_device_space(pd, 0x1000, 0, &port, &memaddr); + allocate_device_space(pd, 0x1000, 0, &port, &memaddr); + allocate_device_space(pd, 0x1000, 0, &port, &memaddr); + allocate_device_space(pd, 0x1000, 0, &port, &memaddr); }