diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:17 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:17 -0500 |
commit | 3071a9d00b8684899d93f368e670c4de0293df29 (patch) | |
tree | 1fd259817ea0e513ff7db73c21309b5d97819da5 /include/linux/ide.h | |
parent | e62925dd26ef9594b8e4b9380b3211f6dae4ab96 (diff) |
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>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index ecaa96e613dc..6f5b6b5e9c1d 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1111,7 +1111,7 @@ struct ide_port_info { | |||
1111 | void (*fixup)(ide_hwif_t *); | 1111 | void (*fixup)(ide_hwif_t *); |
1112 | ide_pci_enablebit_t enablebits[2]; | 1112 | ide_pci_enablebit_t enablebits[2]; |
1113 | hwif_chipset_t chipset; | 1113 | hwif_chipset_t chipset; |
1114 | unsigned int extra; | 1114 | u8 extra; |
1115 | u32 host_flags; | 1115 | u32 host_flags; |
1116 | u8 pio_mask; | 1116 | u8 pio_mask; |
1117 | u8 swdma_mask; | 1117 | u8 swdma_mask; |