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


Ignore:
Timestamp:
Sep 14, 2010, 10:07:59 AM (15 years ago)
Author:
root
Message:

latest NCQ changes from Christian

Location:
trunk/src/os2ahci
Files:
1 added
1 moved

Legend:

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

    r12 r13  
    483483  UCHAR dev_func  = data->find_class.dev_func;
    484484  ULONG val;
     485  UCHAR rc;
    485486  SEL gdt[PORT_DMA_BUF_SEGS + 1];
    486487  char tmp[40];
     
    829830{
    830831  void (_far *func)(void);
    831   unsigned short prot_idc_DS;
    832832  RP_GENIOCTL ioctl;
    833833
     
    867867  func = oemhlp.ProtIDCEntry;
    868868
    869   /* MT: the Watcom inline assembler does not support struct member reference,
    870    * so we have to pass it in a stack variable
    871    */
    872   prot_idc_DS = oemhlp.ProtIDC_DS;
    873 
    874869  _asm {
    875870    push ds;
     
    882877    pop  es
    883878    lea  bx, ioctl;
    884     mov  ds, prot_idc_DS;
     879    mov  ds, oemhlp.ProtIDC_DS;
    885880    call dword ptr [func];
    886881
Note: See TracChangeset for help on using the changeset viewer.