libata driver for bf548 on chip ATAPI controller.
PATCH 1/1 libata driver for bf548 on chip ATAPI controller.
Finally.
This driver is for bf548 on chip ATAPI controller. Both PIO 4 and UDMA5 mode are enabled.
Signed-off-by Sonic Zhang <[email protected]>
--- drivers/ata/Kconfig | 28 + drivers/ata/Makefile | 1 + drivers/ata/pata_bf54x.c | 1585 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1614 insertions(+), 0 deletions(-) create mode 100644 drivers/ata/pata_bf54x.c
drivers/ata/Kconfig +28 -0
@@ -583,4 +583,32 @@ config PATA_SCC If unsure, say N. +config PATA_BF54X + tristate "Blackfin 54x ATAPI support" + depends on BF542 || BF548 || BF549 + help + This option enables support for the built-in ATAPI controller on + Blackfin 54x family chips. + + If unsure, say N. + +choice + prompt "Blackfin 54x ATAPI mode" + depends on PATA_BF54X + default PATA_BF54X_DMA + help + This option selects bf54x ATAPI controller working mode. + +config PATA_BF54X_PIO + bool "PIO mode" + help + Blackfin ATAPI controller works under PIO mode. + +config PATA_BF54X_DMA + bool "DMA mode" + help + Blackfin ATAPI controller works under DMA mode. + +endchoice + endif # ATA
drivers/ata/Makefile +1 -0
@@ -61,6 +61,7 @@ obj-$(CONFIG_PATA_SIS) += pata_sis.o obj-$(CONFIG_PATA_TRIFLEX) += pata_triflex.o obj-$(CONFIG_PATA_IXP4XX_CF) += pata_ixp4xx_cf.o obj-$(CONFIG_PATA_SCC) += pata_scc.o +obj-$(CONFIG_PATA_BF54X) += pata_bf54x.o obj-$(CONFIG_PATA_PLATFORM) += pata_platform.o obj-$(CONFIG_PATA_ICSIDE) += pata_icside.o # Should be last but one libata driver
drivers/ata/pata_bf54x.c new file +1585 -0
1,585 lines not on this page · raw message
Signature · 1 line
1.5.1.3