Changeset 36 for trunk/src/os2ahci/pci.c


Ignore:
Timestamp:
Nov 5, 2010, 1:40:22 PM (15 years ago)
Author:
markus
Message:

Heureka! Fixed problems on real hardware (AHCI enabled bit must be set explicitly for each command...)

Location:
trunk/src/os2ahci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci

    • Property svn:ignore
      •  

        old new  
        88*.out
        99*.map
         10TAGS
         11bldday.h
  • trunk/src/os2ahci/pci.c

    r33 r36  
    706706    if (ret == RMRC_SUCCESS) {
    707707      /* MT: got a new address from Resource Manager; now we
    708        * need to tell the BIOS about the new address.
     708       * need to tell PCI about the new address.
    709709       * Leave the last 4 bits of the original MMIO value alone.
    710710       */
     
    713713      ddprintf("address we got from RM: 0x%08lx\n",
    714714               resource.MEMResource.MemBase);
    715       ddprintf("setting new MMIO BIOS addr to 0x%08lx\n", mmio_bios);
     715      ddprintf("setting new MMIO addr to 0x%08lx\n", mmio_bios);
    716716
    717717      if (pci_write_conf(bus, dev_func, AHCI_MMIO,
    718718                         sizeof(u32), mmio_bios) != OH_SUCCESS) {
    719         /* failed to update BIOS MMIO address - bail out */
    720         cprintf("error: couldn't update BIOS MMIO address\n");
     719        /* failed to update MMIO address - bail out */
     720        cprintf("error: couldn't update MMIO address\n");
    721721        ret = ~RMRC_SUCCESS;
    722722        goto add_pci_fail;
Note: See TracChangeset for help on using the changeset viewer.