Changeset 36 for trunk/src/os2ahci/pci.c
- Timestamp:
- Nov 5, 2010, 1:40:22 PM (15 years ago)
- Location:
- trunk/src/os2ahci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci
- Property svn:ignore
-
old new 8 8 *.out 9 9 *.map 10 TAGS 11 bldday.h
-
- Property svn:ignore
-
trunk/src/os2ahci/pci.c
r33 r36 706 706 if (ret == RMRC_SUCCESS) { 707 707 /* MT: got a new address from Resource Manager; now we 708 * need to tell the BIOSabout the new address.708 * need to tell PCI about the new address. 709 709 * Leave the last 4 bits of the original MMIO value alone. 710 710 */ … … 713 713 ddprintf("address we got from RM: 0x%08lx\n", 714 714 resource.MEMResource.MemBase); 715 ddprintf("setting new MMIO BIOSaddr to 0x%08lx\n", mmio_bios);715 ddprintf("setting new MMIO addr to 0x%08lx\n", mmio_bios); 716 716 717 717 if (pci_write_conf(bus, dev_func, AHCI_MMIO, 718 718 sizeof(u32), mmio_bios) != OH_SUCCESS) { 719 /* failed to update BIOSMMIO address - bail out */720 cprintf("error: couldn't update BIOSMMIO address\n");719 /* failed to update MMIO address - bail out */ 720 cprintf("error: couldn't update MMIO address\n"); 721 721 ret = ~RMRC_SUCCESS; 722 722 goto add_pci_fail;
Note:
See TracChangeset
for help on using the changeset viewer.