drivers: add the support for Silicon Image SATA controller
PATCH v4 1/1 drivers: add the support for Silicon Image SATA controller
From: Tang Yuantian <[email protected]>
Add the Silicon Image series PCI Express to
Serial ATA controller support, including Sil3132,
Sil3131 and Sil3124.
The SATA controller can be used to load kernel.
The features list:
- Supports 1-lane 2.5 Gbit/s PCI Express
- Supports one/two/four independent Serial ATA channels
- Supports Serial ATA Generation 2 transfer rate of 3.0 Gbit/s
- Supports LBA28 and LBA48
---
git tree: git://git.denx.de/u-boot.git
branch: master
Test platform:P1022DS, P4080DS
V4:
- fix checkpatch warning: WARNING: externs should be avoided in .c files #90: FILE: drivers/block/sata_sil.c:37: +extern block_dev_desc_t sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE];
V3:
- remove __IOMEM
- remove force cast
V2:
- add virt_to_bus to translate address
- fix some issues
drivers/block/Makefile | 1 + drivers/block/sata_sil.c | 722 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/block/sata_sil.h | 229 +++++++++++++++ include/pci_ids.h | 5 + 4 files changed, 957 insertions(+), 0 deletions(-) create mode 100644 drivers/block/sata_sil.c create mode 100644 drivers/block/sata_sil.h
drivers/block/Makefile +1 -0
@@ -36,6 +36,7 @@ COBJS-$(CONFIG_MX51_PATA) += mxc_ata.o COBJS-$(CONFIG_PATA_BFIN) += pata_bfin.o COBJS-$(CONFIG_SATA_DWC) += sata_dwc.o COBJS-$(CONFIG_SATA_SIL3114) += sata_sil3114.o +COBJS-$(CONFIG_SATA_SIL) += sata_sil.o COBJS-$(CONFIG_IDE_SIL680) += sil680.o COBJS-$(CONFIG_SCSI_SYM53C8XX) += sym53c8xx.o COBJS-$(CONFIG_SYSTEMACE) += systemace.o
drivers/block/sata_sil.c new file +722 -0
722 lines not on this page · raw message
drivers/block/sata_sil.h new file +229 -0
229 lines not on this page · raw message
include/pci_ids.h +5 -0
@@ -2110,3 +2110,8 @@#define PCI_VENDOR_ID_ADMTEK 0x1317#define PCI_DEVICE_ID_ADMTEK_AN983B 0x0985 + +#define PCI_VENDOR_ID_SILICONIMAGE 0x1095 +#define PCI_DEVICE_ID_SIL3132 0x3132 +#define PCI_DEVICE_ID_SIL3124 0x3124 +#define PCI_DEVICE_ID_SIL3131 0x3131
Signature · 1 line
1.6.4
PATCH v4 1/1 drivers: add the support for Silicon Image SATA controller
Quoted 32 lines · On Oct 8, 2011, at 12:26 AM, <[email protected]> <[email protected]>…
From: Tang Yuantian <[email protected]>
Add the Silicon Image series PCI Express to
Serial ATA controller support, including Sil3132,
Sil3131 and Sil3124.
The SATA controller can be used to load kernel.The features list:
- Supports 1-lane 2.5 Gbit/s PCI Express
- Supports one/two/four independent Serial ATA channels
- Supports Serial ATA Generation 2 transfer rate of 3.0 Gbit/s
- Supports LBA28 and LBA48Signed-off-by Tang Yuantian <[email protected]>Signed-off-by Aaron Williams <[email protected]>Tested-by Lan Chunhe <[email protected]>---
git tree:git://git.denx.de/u-boot.git
branch: master
Test platform:P1022DS, P4080DS
V4:- fix checkpatch warning: WARNING: externs should be avoided in .c files #90: FILE: drivers/block/sata_sil.c:37: +extern block_dev_desc_t sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE];V3:
- remove__IOMEM
- remove force cast
V2:
- addvirt_to_busto translate address
- fix some issues
Quoted 7 lines
drivers/block/Makefile | 1 + drivers/block/sata_sil.c | 722 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/block/sata_sil.h | 229 +++++++++++++++ include/pci_ids.h | 5 + 4 files changed, 957 insertions(+), 0 deletions(-)create mode 100644
drivers/block/sata_sil.c
create mode 100644drivers/block/sata_sil.h
ping
- k
Wolfgang Denk
AppliedPATCH v4 1/1 drivers: add the support for Silicon Image SATA controller
In reply to b29983 at freescale.comDear b29983 at freescale.com,
Quoted 32 lines · In message <[email protected]> you wrote:
From: Tang Yuantian <[email protected]>
Add the Silicon Image series PCI Express to Serial ATA controller support, including Sil3132, Sil3131 and Sil3124.
The SATA controller can be used to load kernel.The features list:
- Supports 1-lane 2.5 Gbit/s PCI Express
- Supports one/two/four independent Serial ATA channels
- Supports Serial ATA Generation 2 transfer rate of 3.0 Gbit/s
- Supports LBA28 and LBA48Signed-off-by Tang Yuantian <[email protected]>Signed-off-by Aaron Williams <[email protected]>Tested-by Lan Chunhe <[email protected]>---
git tree:git://git.denx.de/u-boot.git
branch: master
Test platform:P1022DS, P4080DS
V4:- fix checkpatch warning: WARNING: externs should be avoided in .c files #90: FILE: drivers/block/sata_sil.c:37: +extern block_dev_desc_t sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE];V3:
- remove__IOMEM
- remove force cast
V2:
- addvirt_to_busto translate address
- fix some issues
Quoted 7 lines
drivers/block/Makefile | 1 + drivers/block/sata_sil.c | 722 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/block/sata_sil.h | 229 +++++++++++++++ include/pci_ids.h | 5 + 4 files changed, 957 insertions(+), 0 deletions(-) create mode 100644 drivers/block/sata_sil.c create mode 100644 drivers/block/sata_sil.h
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de In C we had to code our own bugs, in C++ we can inherit them.