From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 22 Oct 2011 01:04:06 +0200 Subject: [U-Boot] [PATCH V4] drivers: add the support for Silicon Image SATA controller In-Reply-To: <1318051618-18957-1-git-send-email-b29983@freescale.com> References: <1318051618-18957-1-git-send-email-b29983@freescale.com> Message-ID: <20111021230406.3A7B811F9E79@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear b29983 at freescale.com, In message <1318051618-18957-1-git-send-email-b29983@freescale.com> you wrote: > From: Tang Yuantian > > 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 > > Signed-off-by: Tang Yuantian > Signed-off-by: Aaron Williams > Tested-by: Lan Chunhe > --- > 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 Applied, thanks. Best regards, Wolfgang Denk -- 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.