Ignore:
Timestamp:
Jul 31, 2013, 8:08:59 PM (12 years ago)
Author:
David Azarewicz
Message:

code cleanup - debug messages
fixed defect in smart ioctl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/init.asm

    r164 r165  
    3636
    3737DEVHDR          SEGMENT WORD PUBLIC 'DATA'
    38 _dev_hdr        dd      _next_hdr               ; next device header
     38_dev_hdr        dd      -1                      ; next device header
    3939                dw      DEVLEV_3 + DEV_CHAR_DEV + DEV_IDC ; flags for ADD drivers
    4040                dw      OFFSET _asm_strat       ; strategy routine
     
    4444                dd      DEV_IOCTL2 + DEV_ADAPTER_DD + DEV_INITCOMPLETE + DEV_SAVERESTORE ; ADD flags
    4545                dw      0
    46 
    47 if 1
    48 ; This is here to support old SMART tools which only look for IBMS506$. This is a
    49 ; really bad thing to do as it will cause problems in the future. The SMART tools
    50 ; should be fixed to be able to open OS2AHCI$ and this header should be removed.
    51 _next_hdr       dd      -1                      ; no headers after this one
    52                 dw      DEVLEV_3 + DEV_CHAR_DEV ; flags for ADD drivers
    53                 dw      OFFSET _asm_strat       ; strategy routine
    54                 dw      0                       ; IDC entry point
    55                 db      "IBMS506$"              ; name of character device
    56                 dq      0                       ; 8 reserved bytes
    57                 dd      0
    58                 dw      0
    59 else
    60 _next_hdr       equ -1
    61 endif
    6246
    6347DEVHDR          ENDS
Note: See TracChangeset for help on using the changeset viewer.