Changeset 175 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc


Ignore:
Timestamp:
Oct 22, 2011, 9:04:01 PM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

ifdef of existing serial code, in preperation for checkin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc

    r173 r175  
    1212    .bFlagsHigh                 resb    1
    1313    .bIdevarsOffset             resb    1   ; Offset to IDEVARS for this drive
    14                                 resb    1
     14%ifdef MODULE_SERIAL
     15    .bSerialPortAndBaud         resb    1   ; Packed I/O port and baud rate for serial drives
     16%else
     17                                resb    1   ; without serial port support, alignment byte
     18%endif
    1519
    1620    ; IDE Drive related
     
    4448FLGH_DPT_REVERSED_A0_AND_A3     EQU (1<<0)  ; XTIDE mod, Address lines 0 and 3 reversed
    4549FLGH_DPT_BLOCK_MODE_SUPPORTED   EQU (1<<1)  ; Use block transfer commands (must be bit 1!)
     50%ifdef MODULE_SERIAL
    4651FLGH_DPT_SERIAL_DEVICE          EQU (1<<2)  ; Serial Port Device
     52%endif
    4753FLGH_DPT_INTERRUPT_IN_SERVICE   EQU (1<<3)  ; Set when waiting for IRQ
    4854FLGH_DPT_RESET_nDRDY            EQU (1<<4)  ; Drive ready to accept commands
Note: See TracChangeset for help on using the changeset viewer.