Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Areca 1882 SAS controller support?



On Tue, Dec 04, 2012 at 05:10:39PM +0100, Hauke Fath wrote:
> At 9:17 Uhr -0500 04.12.2012, Thor Lancelot Simon wrote:
> >You might compare revisions of their FreeBSD driver from around the time
> >when the 16xx or 18xx SAS units came to market and see if there are any
> >relevant changes.
> 
> They added a third adapter type to an existing two
> <http://svnweb.freebsd.org/base/head/sys/dev/arcmsr/arcmsr.c?r1=201758&r2=210358&pathrev=215234>.

As I read the relevant portions of the FreeBSD device driver -- I am guessing
the "type B" adapter is the 16xx, and the "type D" adapter I see in some
later revisions of the driver may be the 188x version 2 or version 3, which
add PCI-E v3 supoort -- I am struck by the fact that they have inserted so
many switch statements so many places that they should really have just
produced 3 device drivers sharing some common code in another source file.

I don't have the time to do that right now...

Thor


Home | Main Index | Thread Index | Old Index