mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Cleaned up AMD Au1200 IDE driver:
- converted to platform bus
- removed pci dependencies
- removed virt_to_phys/phys_to_virt calls
System now can root off of a disk.
Signed-off-by: Ralf Baechle <[email protected]>
diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README
new file mode 100644
This commit is contained in:
parent
64abf64d10
commit
26a940e217
12 changed files with 1840 additions and 7 deletions
|
|
@ -778,6 +778,35 @@ config BLK_DEV_IDE_PMAC_BLINK
|
|||
This option enables the use of the sleep LED as a hard drive
|
||||
activity LED.
|
||||
|
||||
config BLK_DEV_IDE_AU1XXX
|
||||
bool "IDE for AMD Alchemy Au1200"
|
||||
depends on SOC_AU1200
|
||||
choice
|
||||
prompt "IDE Mode for AMD Alchemy Au1200"
|
||||
default CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA
|
||||
depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX
|
||||
|
||||
config BLK_DEV_IDE_AU1XXX_PIO_DBDMA
|
||||
bool "PIO+DbDMA IDE for AMD Alchemy Au1200"
|
||||
|
||||
config BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
|
||||
bool "MDMA2+DbDMA IDE for AMD Alchemy Au1200"
|
||||
depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX
|
||||
endchoice
|
||||
|
||||
config BLK_DEV_IDE_AU1XXX_BURSTABLE_ON
|
||||
bool "Enable burstable Mode on DbDMA"
|
||||
default false
|
||||
depends BLK_DEV_IDE_AU1XXX
|
||||
help
|
||||
This option enable the burstable Flag on DbDMA controller
|
||||
(cf. "AMD Alchemy 'Au1200' Processor Data Book - PRELIMINARY").
|
||||
|
||||
config BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ
|
||||
int "Maximum transfer size (KB) per request (up to 128)"
|
||||
default "128"
|
||||
depends BLK_DEV_IDE_AU1XXX
|
||||
|
||||
config IDE_ARM
|
||||
def_bool ARM && (ARCH_A5K || ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK)
|
||||
|
||||
|
|
@ -1013,7 +1042,7 @@ config BLK_DEV_UMC8672
|
|||
endif
|
||||
|
||||
config BLK_DEV_IDEDMA
|
||||
def_bool BLK_DEV_IDEDMA_PCI || BLK_DEV_IDEDMA_PMAC || BLK_DEV_IDEDMA_ICS
|
||||
def_bool BLK_DEV_IDEDMA_PCI || BLK_DEV_IDEDMA_PMAC || BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
|
||||
|
||||
config IDEDMA_IVB
|
||||
bool "IGNORE word93 Validation BITS"
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ static int proc_ide_read_imodel
|
|||
case ide_cy82c693: name = "cy82c693"; break;
|
||||
case ide_4drives: name = "4drives"; break;
|
||||
case ide_pmac: name = "mac-io"; break;
|
||||
case ide_au1xxx: name = "au1xxx"; break;
|
||||
default: name = "(unknown)"; break;
|
||||
}
|
||||
len = sprintf(page, "%s\n", name);
|
||||
|
|
|
|||
1250
drivers/ide/mips/au1xxx-ide.c
Normal file
1250
drivers/ide/mips/au1xxx-ide.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue