summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2008-04-28 23:44:38 +0200
committerBartlomiej Zolnierkiewicz2008-04-28 23:44:38 +0200
commit165701d9fc0e4e2bf2784119514877484ab361c5 (patch)
tree68648c704ac30a8d7075ded654912fb5854dae82 /ipc
parentsiimage: do clocking register posting earlier in setup_mmio_siimage() (diff)
downloadkernel-qcow2-linux-165701d9fc0e4e2bf2784119514877484ab361c5.tar.gz
kernel-qcow2-linux-165701d9fc0e4e2bf2784119514877484ab361c5.tar.xz
kernel-qcow2-linux-165701d9fc0e4e2bf2784119514877484ab361c5.zip
siimage: add sil_* I/O ops
Add sil_iowrite{8,16,32}() and sil_ioread{8,16}() helpers, then use them to merge code accessing configuration registers through PCI and MMIO together. [ because of this SATA initialization bits from setup_mmio_siimage() are moved to init_chipset_siimage() ] This also cuts code size a bit: text data bss dec hex filename 4437 164 0 4601 11f9 drivers/ide/pci/siimage.o.before 3979 164 0 4143 102f drivers/ide/pci/siimage.o.after While at it: * Use I/O ops directly instead of using ->IN{B,W} and ->OUT{B,W}. * Fixup CodingStyle in setup_mmio_siimage(). * Rename 'tmpbyte' variable to 'tmp' in init_chipset_siimage(). There should be no functional changes caused by this patch. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions