Changeset d2fac08c in mainline for uspace/lib/scsi/include/scsi/spc.h


Ignore:
Timestamp:
2011-07-02T21:07:08Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
336d2f52
Parents:
7b2c17c
Message:

More removal of magic numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/scsi/include/scsi/spc.h

    r7b2c17c rd2fac08c  
    9393} scsi_std_inquiry_data_t;
    9494
     95/** Bits in scsi_std_inquiry_data_t.pqual_devtype */
     96enum scsi_pqual_devtype_bits {
     97        /* Peripheral qualifier */
     98        SCSI_PQDT_PQUAL_h       = 7,
     99        SCSI_PQDT_PQUAL_l       = 5,
     100
     101        /* Peripheral device type */
     102        SCSI_PQDT_DEV_TYPE_h    = 4,
     103        SCSI_PQDT_DEV_TYPE_l    = 0
     104};
     105
     106/** Bits in scsi_std_inquiry_data_t.rmb */
     107enum scsi_rmb_bits {
     108        SCSI_RMB_RMB            = 7
     109};
     110
    95111/** SCSI peripheral device type */
    96112enum scsi_device_type {
Note: See TracChangeset for help on using the changeset viewer.