]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: add generic packet command representation ide_atapi_pc
authorBorislav Petkov <petkovbb@googlemail.com>
Thu, 17 Apr 2008 22:46:26 +0000 (00:46 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:26 +0000 (00:46 +0200)
commit8303b46e18b58b2d0257e6842e60b50ac880a6d1
tree865a2ddf450d0a55b45790659b82a390af9f2b23
parent346331f82823682fb5c2df6e827db25d95cc2e92
ide: add generic packet command representation ide_atapi_pc

This new struct unifies ide{-floppy,-tape,-scsi}'s view of a packet command. For now,
it represents the common denominator between the three drivers while adding driver-
specific members at the end of the struct which will be merged/simplified into the
generic ATAPI handling code in later steps, or removed completely.

Bart:
- move struct ide_atapi_pc outside of #ifdef/#endif CONFIG_IDE_PROC_FS

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
include/linux/ide.h