mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
libata/drivers: Add driver for Apple "MacIO" IDE controller
This is a libata driver for the "macio" IDE controller used on most Apple PowerMac and PowerBooks. It's a libata equivalent of drivers/ide/ppc/pmac.c It supports all the features of its predecessor, including mediabay hotplug and suspend/resume. It should also support module load/unload. The timing calculations have been simplified to use pre-calculated tables compared to drivers/ide/pmac.c and it uses the new mediabay interface provided by a previous patch. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
f0353813af
commit
88358ab089
3 changed files with 1438 additions and 0 deletions
|
@ -781,5 +781,15 @@ config PATA_BF54X
|
|||
|
||||
If unsure, say N.
|
||||
|
||||
config PATA_MACIO
|
||||
tristate "Apple PowerMac/PowerBook internal 'MacIO' IDE"
|
||||
depends on PPC_PMAC
|
||||
help
|
||||
Most IDE capable PowerMacs have IDE busses driven by a variant
|
||||
of this controller which is part of the Apple chipset used on
|
||||
most PowerMac models. Some models have multiple busses using
|
||||
different chipsets, though generally, MacIO is one of them.
|
||||
|
||||
|
||||
endif # ATA_SFF
|
||||
endif # ATA
|
||||
|
|
|
@ -18,6 +18,7 @@ obj-$(CONFIG_SATA_MV) += sata_mv.o
|
|||
obj-$(CONFIG_SATA_INIC162X) += sata_inic162x.o
|
||||
obj-$(CONFIG_PDC_ADMA) += pdc_adma.o
|
||||
obj-$(CONFIG_SATA_FSL) += sata_fsl.o
|
||||
obj-$(CONFIG_PATA_MACIO) += pata_macio.o
|
||||
|
||||
obj-$(CONFIG_PATA_ALI) += pata_ali.o
|
||||
obj-$(CONFIG_PATA_AMD) += pata_amd.o
|
||||
|
|
1427
drivers/ata/pata_macio.c
Normal file
1427
drivers/ata/pata_macio.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue