]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ide: make 'extra' field in struct ide_port_info u8
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:17 +0000 (22:17 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:17 +0000 (22:17 +0100)
commit3071a9d00b8684899d93f368e670c4de0293df29
tree1fd259817ea0e513ff7db73c21309b5d97819da5
parente62925dd26ef9594b8e4b9380b3211f6dae4ab96
ide: make 'extra' field in struct ide_port_info u8

The maximum value used currently for 'extra' field in struct ide_port_info
is 240.

Make 'extra' u8 so it packs nicely together with enablebits[] and 'chipset'
fields (ide_pci_enablebit_t is 3 bytes and hwif_chipset_t is 1 byte).

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
include/linux/ide.h