PATCH: it8212 backport for Bartlomiej IDE
This lets you throw out the iteraid stuff that has ended up back in due to stupid goings on in the IDE world. Its the same heavily tested code shipped in Fedora/Red Hat products but without the other dependancies on the Bartlomiej IDE layer.
Pre-requisite: the ide-disk patch I sent to handle pure LBA devices.
Obviously you lose things like hot unplug with the Bartlomiej IDE layer at the moment but that won't matter to most users.
The patch does the following
- Add IT8211/12 to pci_ids.h
- Add Makefile/Kconfig entry
- Add it8212 driver
No core IDE code is touched by this diff
Embedded system testing and the ability to force raid mode off by David Howells
Made possible by the ite reference code, documentation and also several clarifications and pieces of assistance provided by ITE themselves
drivers/ide/Kconfig +6 -0
@@ -606,6 +606,12 @@ <http://www.ite.com.tw/ia/brief_it8172bsp.htm>; picture of the board at <http://www.mvista.com/partners/semiconductor/ite.html>. +config BLK_DEV_IT821X + tristate "IT821X IDE support" + help + This driver adds support for the ITE 8211 IDE controller and the + IT 8212 IDE RAID controller in both RAID and pass-through mode. + config BLK_DEV_NS87415 tristate "NS87415 chipset support" help
drivers/ide/pci/generic.c +48 -25
160 lines not on this page · raw message
drivers/ide/pci/hpt366.c +229 -243
845 lines not on this page · raw message
drivers/ide/pci/it821x.c +812 -0
812 lines not on this page · raw message
drivers/ide/pci/Makefile +1 -0
@@ -12,6 +12,7 @@ obj-$(CONFIG_BLK_DEV_HPT366) += hpt366.o #obj-$(CONFIG_BLK_DEV_HPT37X) += hpt37x.o obj-$(CONFIG_BLK_DEV_IT8172) += it8172.o +obj-$(CONFIG_BLK_DEV_IT821X) += it821x.o obj-$(CONFIG_BLK_DEV_NS87415) += ns87415.o obj-$(CONFIG_BLK_DEV_OPTI621) += opti621.o obj-$(CONFIG_BLK_DEV_PDC202XX_OLD) += pdc202xx_old.o
include/linux/pci_ids.h +2 -0
@@ -1810,6 +1810,8 @@#define PCI_VENDOR_ID_ITE 0x1283#define PCI_DEVICE_ID_ITE_IT8172G 0x8172#define PCI_DEVICE_ID_ITE_IT8172G_AUDIO 0x0801 +#define PCI_DEVICE_ID_ITE_8211 0x8211 +#define PCI_DEVICE_ID_ITE_8212 0x8212#define PCI_DEVICE_ID_ITE_8872 0x8872#define PCI_DEVICE_ID_ITE_IT8330G_0 0xe886
PATCH: it8212 backport for Bartlomiej IDE (Correct diff)
Quoted 7 lines · Alan Cox
This lets you throw out the iteraid stuff that has ended up back in due to stupid goings on in the IDE world. Its the same heavily tested code shipped in Fedora/Red Hat products but without the other dependancies on the Bartlomiej IDE layer.
Pre-requisite: the ide-disk patch I sent to handle pure LBA devices.
Quoted 7 lines
Obviously you lose things like hot unplug with the Bartlomiej IDE layer at the moment but that won't matter to most users.
The patch does the following
- Add IT8211/12 topci_ids.h
- Add Makefile/Kconfig entry
- Add it8212 driver
*
* No core IDE code is touched by this diff
*
* Signed-off-by: Alan Cox <[email protected]>
* Embedded system testing and the ability to force raid mode off by David
* Howells
*
* Made possible by the ite reference code, documentation and also several
Quoted 1 line
clarifications and pieces of assistance provided by ITE themselves
Attached the wrong diff. Please use the one below
drivers/ide/Kconfig +6 -0
@@ -606,6 +606,12 @@ <http://www.ite.com.tw/ia/brief_it8172bsp.htm>; picture of the board at <http://www.mvista.com/partners/semiconductor/ite.html>. +config BLK_DEV_IT821X + tristate "IT821X IDE support" + help + This driver adds support for the ITE 8211 IDE controller and the + IT 8212 IDE RAID controller in both RAID and pass-through mode. + config BLK_DEV_NS87415 tristate "NS87415 chipset support" help
drivers/ide/pci/it821x.c +812 -0
812 lines not on this page · raw message
drivers/ide/pci/Makefile +1 -0
@@ -12,6 +12,7 @@ obj-$(CONFIG_BLK_DEV_HPT366) += hpt366.o #obj-$(CONFIG_BLK_DEV_HPT37X) += hpt37x.o obj-$(CONFIG_BLK_DEV_IT8172) += it8172.o +obj-$(CONFIG_BLK_DEV_IT821X) += it821x.o obj-$(CONFIG_BLK_DEV_NS87415) += ns87415.o obj-$(CONFIG_BLK_DEV_OPTI621) += opti621.o obj-$(CONFIG_BLK_DEV_PDC202XX_OLD) += pdc202xx_old.o
include/linux/pci_ids.h +2 -0
@@ -1810,6 +1810,8 @@#define PCI_VENDOR_ID_ITE 0x1283#define PCI_DEVICE_ID_ITE_IT8172G 0x8172#define PCI_DEVICE_ID_ITE_IT8172G_AUDIO 0x0801 +#define PCI_DEVICE_ID_ITE_8211 0x8211 +#define PCI_DEVICE_ID_ITE_8212 0x8212#define PCI_DEVICE_ID_ITE_8872 0x8872#define PCI_DEVICE_ID_ITE_IT8330G_0 0xe886
Re: PATCH: it8212 backport for Bartlomiej IDE (Correct diff)
Quoted 7 lines · Alan Cox
Quoted 6 lines · Alan Cox
This lets you throw out the iteraid stuff that has ended up back in due to stupid goings on in the IDE world. Its the same heavily tested code shipped in Fedora/Red Hat products but without the other dependancies on the Bartlomiej IDE layer.
Pre-requisite: the ide-disk patch I sent to handle pure LBA devices.
hi alan,
applied fine and is working as nice as integrated within your latest ac-sets.
thanks for spending the time to seperate this patch.
regards
marcel