• Bartlomiej Zolnierkiewicz's avatar
    isd200: make it 'struct hd_driveid'-free · d8881cda
    Bartlomiej Zolnierkiewicz authored
    * Factor out debug dump of id from isd200_get_inquiry_data()
      to isd200_dump_driveid().
    
    * Change id field in struct isd200_info from 'struct hd_driveid *id'
      to 'u16 *id' and update driver accordingly.
    
    * Include <linux/ata.h> directly instead of through <linux/hdreg.h>.
    
    While at it:
    
    * Use ata_id_u32() and ata_id_has_lba() macros.
    
    There should be no functional changes caused by this patch.
    
    Cc: Greg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    d8881cda
isd200.c 44.5 KB