]> err.no Git - linux-2.6/commit
ide: add ->chipset field to ide_pci_device_t
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:30 +0000 (00:32 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:30 +0000 (00:32 +0200)
commit528a572daea90aa41db92683e5a8756acef514c4
tree95e616ff7b3a60d90d04b69eb21b8e262627e0b5
parent44a59ad59f4285ce91e61f05e65a3e8fd0943c85
ide: add ->chipset field to ide_pci_device_t

Add ->chipset field to ide_pci_device_t and use it in ide_hwif_configure()
to set hwif->chipset.  Convert cmd64x, cy82c693, rz1000 and trm290 host
drivers to use this new ability.

While at it define hwif_chipset_t as u8 to save some space in hw_regs_t,
ide_hwif_t and ide_pci_device_t instances.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/cmd64x.c
drivers/ide/pci/cy82c693.c
drivers/ide/pci/rz1000.c
drivers/ide/pci/trm290.c
drivers/ide/setup-pci.c
include/linux/ide.h