diff options
author | Borislav Petkov <bbpetkov@yahoo.de> | 2008-02-02 13:56:49 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:49 -0500 |
commit | b64220132640001438e4e9812e5f26a27993bf4d (patch) | |
tree | 0a855ad36d25fd3d51588235473f18dab26dc5e9 /drivers/ide/ide-proc.c | |
parent | 55a5d291fd6235edaab2dad974b236adf2ffbeae (diff) |
ide-tape: remove struct idetape_capabilities_page_t
All those 2-byte values denoting the different capabilities are being written to
the local copy of the caps buffer without being converted to big endian for
simplicity of usage and shorter code later. Also, we add some comments stating
which are the fields of the caps page in question in order to alleviate the
cryptic pointer casting exercises as in e.g. idetape_get_mode_sense_results().
There should be no functional changes resulting from this patch.
Bart:
- remove two needless "!!"
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-proc.c')
0 files changed, 0 insertions, 0 deletions