android_kernel_motorola_sm6225/drivers/ide/pci
Sergei Shtylyov d287223973 piix: fix 82371MX enablebits
According to the datasheet, Intel 82371MX (MPIIX) actually has only a
single IDE channel mapped to the primary or secondary ports depending on
the value of the bit 14 of the IDETIM register at PCI config.  offset 0x6C
(the register at 0x6F which the driver refers to.  doesn't exist).  So,
disguise the controller as dual channel and set enablebits masks/values
such that only either primary or secondary channel is detected enabled. 
Also, preclude the IDE probing code from reading PCI BARs, this controller
just doesn't have them (it's not the separate PCI function like the other
PCI controllers), it only decodes the legacy addresses.

[ Alan sayeth " MPIIX does not work with or without the change.  It needs its
  own different driver and not to use setup-pci.  Huge job and since it works
  well with libata who cares.  Ditto the early PIIX chip." ]

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-02-07 18:18:25 +01:00
..
aec62xx.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
alim15x3.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
amd74xx.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
atiixp.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
cmd64x.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
cmd640.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cs5520.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
cs5530.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
cs5535.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cy82c693.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
generic.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
hpt34x.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
hpt366.c hpt366: HPT36x PCI clock detection fix 2007-02-07 18:18:20 +01:00
it821x.c [PATCH] it821x: fix ide dma setup bug 2006-07-28 09:02:17 +02:00
jmicron.c [PATCH] jmicron: 40/80pin primary detection 2007-01-30 16:01:35 -08:00
Makefile [MIPS] Remove IT8172-based platforms, ITE 8172G and Globespan IVR support. 2006-10-03 17:59:17 +01:00
ns87415.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
opti621.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
pdc202xx_new.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
pdc202xx_old.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
piix.c piix: fix 82371MX enablebits 2007-02-07 18:18:25 +01:00
rz1000.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
sc1200.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
serverworks.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
sgiioc4.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
siimage.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
sis5513.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
sl82c105.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
slc90e66.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
triflex.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
trm290.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
via82cxxx.c [PATCH] via82cxxx: fix typo ("cx7000" should be corrected to "cx700") 2007-02-01 16:24:03 -08:00