]> err.no Git - linux-2.6/commit
ide-tape: make room for packet command ids in rq->cmd
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 23 Jul 2008 17:56:00 +0000 (19:56 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:56:00 +0000 (19:56 +0200)
commit83dd573513471c67f9cc93a88795c25a91ebf4b3
treedb90247d658de714477bcf27cd6b2018180e44fc
parent20cd93be67f967c57e5abf62bf5652a00c66b9f0
ide-tape: make room for packet command ids in rq->cmd

ide-tape uses rq->cmd for special commands from the chrdev interface so move
those to byte 13 (BLK_MAX_CDB = 16) since a packet cmd is max 12 bytes.

There should be no functionality change resulting from this patch.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c