* [RFC]Redisign Marvell Linux HBA driver Layout.
@ 2009-03-16 10:26 Ying Chu
2009-03-18 20:24 ` Reinhard Nissl
0 siblings, 1 reply; 2+ messages in thread
From: Ying Chu @ 2009-03-16 10:26 UTC (permalink / raw)
To: James Bottomley, jeff, Tejun Heo
Cc: linux-scsi, Michael Wang, Jacky Feng, Andy Yan, Ke Wei
Hi, James/Jeff,
We Marvell Linux Team redesign Marvell SAS/SATA Linux driver
architecture which focuses on the following issue:
1. Layout Change
In order to support additional series ASIC, flexible source
style is mandatory. We redesign the source code layout to facilitate
more chips involved. With splitting the old mvsas.c into several files
according to its features, if any new ASIC with similar features added,
it's no necessary to give any huge changes to the original source code.
Taking 88SE94xx series chips for example, we only need add a new file
named mv_94xx.c in the corresponding folder and implement the
appropriate handler.
Following with source codes layout:
XXX1 --|---------mv_init.c /* PCI driver interface */
|---------mv_sas.c /* libsas-glue */
|---------mv_sas.h /* ditto */
|---------mv_spi.c /* R/W SPI for relative
configuration */
|---------mv_spi.h /* ditto */
|---------mv_64xx.c /* mv64xx */
|---------mv_64xx.h /* ditto */
|---------mv_94xx.c /* mv94xx */
|---------mv_94xx.h /* ditto */
This architecture is designed for those ASIC which has no embedded SOC
supported. Still in order to support Universal Message Interface ASIC
such as 88SE8180, we can place additional sub-folders to contain those
files. Like-wise, other folder can be propagated to support other
different ASIC design. So we define MTSL folder as the default, and any
sub-folders are used for different design. The ultimate layout will be:
MTSL----|--------------XXX1 (SAS/SATA Host controller)
|--------------XXX2 (Universal Message Interface)
|--------------... (If any, others)
2. New Features and Bug-fixes
- SSP TMF supported and related Error Handing enhanced.
- Support flash feature with delay 2*HZ when PHY changed.
- Support Marvell 94xx series ASIC for 6G SAS/SATA, which has 2
88SE64xx chips but any different register description.
- Support SPI flash for HBA-related configuration info.
- Other patch enhanced from kernel side such as increasing PHY type
detection wait time. (http://lkml.org/lkml/2009/1/15/502)
Any comments will be appreciated.
--
Regards,
Ying Chu
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [RFC]Redisign Marvell Linux HBA driver Layout.
2009-03-16 10:26 [RFC]Redisign Marvell Linux HBA driver Layout Ying Chu
@ 2009-03-18 20:24 ` Reinhard Nissl
0 siblings, 0 replies; 2+ messages in thread
From: Reinhard Nissl @ 2009-03-18 20:24 UTC (permalink / raw)
To: Ying Chu
Cc: James Bottomley, jeff, Tejun Heo, linux-scsi, Michael Wang,
Jacky Feng, Andy Yan, Ke Wei
Hi,
Ying Chu schrieb:
> 2. New Features and Bug-fixes
Is suspend / resume implemented properly in the next release?
I do see here the problem that the system resumes properly, but
my Seagate 10k6 harddrive ST3450856SS 0003 doesn't spin up. A
SATA drive connected to a different controller spins up properly,
so I assume suspend / resume isn't handled properly at the moment.
Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-18 20:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-16 10:26 [RFC]Redisign Marvell Linux HBA driver Layout Ying Chu
2009-03-18 20:24 ` Reinhard Nissl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.