Ignore:
Timestamp:
Mar 27, 2013, 5:55:26 AM (12 years ago)
Author:
David Azarewicz
Message:

Fix spin-up / power-up issue on some hardware
Changes to debug output
Fixup makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/pci.c

    r123 r148  
    147147
    148148static void  add_pci_device   (PCI_ID *pci_id, OH_DATA _far *data);
    149 static UCHAR pci_read_conf    (UCHAR bus, UCHAR dev_func, UCHAR indx,
    150                                UCHAR size, ULONG _far *val);
    151 static UCHAR pci_write_conf   (UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size,
    152                                ULONG val);
    153149static int   oemhlp_call      (UCHAR subfunction, OH_PARM _far *parm,
    154150                               OH_DATA _far *data);
     
    698694    ret = RMAllocResource(rm_drvh, ad_info->rm_bars + i, &resource);
    699695    if (ret != RMRC_SUCCESS) {
    700       cprintf("%s: couldn't register [MM]IO region (rc = %s)\n", 
     696      cprintf("%s: couldn't register [MM]IO region (rc = %s)\n",
    701697              drv_name, rmerr(ret));
    702698      goto add_pci_fail;
     
    813809 * Read PCI configuration space register
    814810 */
    815 static UCHAR pci_read_conf(UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size,
     811UCHAR pci_read_conf(UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size,
    816812                           ULONG _far *val)
    817813{
     
    838834 * Write PCI configuration space register
    839835 */
    840 static UCHAR pci_write_conf(UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size,
     836UCHAR pci_write_conf(UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size,
    841837                            ULONG val)
    842838{
Note: See TracChangeset for help on using the changeset viewer.