On Tue, May 20, 2014 at 10:30:13PM +0800, Zhiwen Zheng wrote: > I tried to add suport for adaptec 6805H following the linux pm8001 driver.
Before I read the patch, I need to know whether you cut and pasted even a single line of code from the Linux driver. In general, you really want to do work like this from a PRM or from a BSD driver, never Linux. > It seems to access mpi configuration table, BAR4(PMCS_REGSET_2 in pmcs > terms) should be used, > instead of BAR5(PMCS_REGSET_3) currently used in pmcs. So are you making this model-specific somehow? Because otherwise you'll presumably break the existing devices. ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com