oxnas: add support for kernel 4.0
[openwrt/svn-archive/archive.git] / target / linux / oxnas / patches-4.0 / 500-oxnas-sata.patch
1 Index: linux-4.0-rc4/drivers/ata/Kconfig
2 ===================================================================
3 --- linux-4.0-rc4.orig/drivers/ata/Kconfig
4 +++ linux-4.0-rc4/drivers/ata/Kconfig
5 @@ -401,6 +401,13 @@ config SATA_VITESSE
6
7 If unsure, say N.
8
9 +config SATA_OXNAS
10 + tristate "PLXTECH NAS782X SATA support"
11 + help
12 + This option enables support for Nas782x Serial ATA controller.
13 +
14 + If unsure, say N.
15 +
16 comment "PATA SFF controllers with BMDMA"
17
18 config PATA_ALI
19 Index: linux-4.0-rc4/drivers/ata/Makefile
20 ===================================================================
21 --- linux-4.0-rc4.orig/drivers/ata/Makefile
22 +++ linux-4.0-rc4/drivers/ata/Makefile
23 @@ -37,6 +37,7 @@ obj-$(CONFIG_SATA_SVW) += sata_svw.o
24 obj-$(CONFIG_SATA_ULI) += sata_uli.o
25 obj-$(CONFIG_SATA_VIA) += sata_via.o
26 obj-$(CONFIG_SATA_VITESSE) += sata_vsc.o
27 +obj-$(CONFIG_SATA_OXNAS) += sata_oxnas.o
28
29 # SFF PATA w/ BMDMA
30 obj-$(CONFIG_PATA_ALI) += pata_ali.o