Date: Tue, 1 Dec 2015 14:56:10 -0800 From: Sean Bruno <sbruno@freebsd.org> To: Jonathon Reinhart <jonathon.reinhart@gmail.com>, freebsd-scsi@freebsd.org Subject: Re: ciss(4) HP Smart Array P840 Message-ID: <565E258A.7000907@freebsd.org> In-Reply-To: <CAPFHKzfjizzOAYaJgPmOUGJSJY0ZOr7eEJPyzUhAU3A60z3obQ@mail.gmail.com> References: <CAPFHKzf65eSsg0aNe5wjS1jUVeh7gd9xgvAvMVuc6Shunsc9GA@mail.gmail.com> <20151120.084410.74714437.sthaug@nethelp.no> <CAPFHKzdJ3F3ay0FQf0cwMWadSercKdg_tWap-poUeTpMe1Gn-Q@mail.gmail.com> <30640027-5C49-4AC0-9BAF-7E6208F7DD13@yahoo.com> <CAPFHKzdUdjxf1g%2BhvAqQnXCiibwmZvGSTVKaWoY_exd8TZ8tuA@mail.gmail.com> <A69F13A0-4C3A-4E23-B01B-941D3C57CB47@yahoo.com> <CAPFHKzfS=MOBFEJc7WEse56Bz3F=-KmJ%2Bx-pHM_WkyUBtgJ5pw@mail.gmail.com> <CAPFHKzfjizzOAYaJgPmOUGJSJY0ZOr7eEJPyzUhAU3A60z3obQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > fcae8e0 Appears to be the winner here, adding JBOD / HBA mode > support. If you're happy with the results, I can totally do the merge back to stable/9 for you. But does that actually help you out here? sean > > I've done my best to apply those patches to TrueOS 9.3.1-STABLE, > and I'm building it now. > > After those commits, the only difference between FreeBSD "master" > and my branch is: > > diff -u freebsd/sys/dev/ciss/ciss.c trueos/sys/dev/ciss/ciss.c --- > freebsd/sys/dev/ciss/ciss.c 2015-11-23 17:53:43.119544620 -0500 +++ > trueos/sys/dev/ciss/ciss.c 2015-11-24 10:51:50.609160463 -0500 @@ > -4388,17 +4388,11 @@ DB_COMMAND(ciss_prt, db_ciss_prt) { struct > ciss_softc *sc; - devclass_t dc; - int maxciss, i; > > - dc = devclass_find("ciss"); - if ( dc == NULL ) { - > printf("%s: can't find devclass!\n", __func__); - return; - > } - maxciss = devclass_get_maxunit(dc); - for (i = 0; i < > maxciss; i++) { - sc = devclass_get_softc(dc, i); + sc = > devclass_get_softc(devclass_find("ciss"), 0); + if (sc == NULL) > { + printf("no ciss controllers\n"); + } else { > ciss_print_adapter(sc); } > > > If anyone, namely Sean, be willing to take a look at my diff, I > would greatly appreciate it: > > https://github.com/trueos/trueos/compare/9.3.1-STABLE...JonathonReinhart:update-ciss-to-latest > > You'll see there is one commit that I made, and that is the one > I'm unsure of. > > Thank you for your time, Jonathon Reinhart > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWXiVVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5ksYoH/1kau/Bz3QQNWz4VsNVMsd/h aJdE76TjB8E/+SSYfTOMSx09r05Ld4wOxtLDLvmcyOZX1JXNwhqR/whbtPo8CXI7 yHnQKRcWlNTA22pT42P7vQpPKE2NfBqUyg3YJAhpwak91xPT//bEhipXFWHrimCE RKEVso8U8FcLzBrvGtuPLHKGAO/Q15RO/j3x9cDcVTulKWa23dMrJ/qoX6qu226/ odV63sPRKUDrwW4DJzzLep9Q4bEShy/2z4RuRBpSXHWa9iRqWB8wh3RVO9+tyPVE OfBq6KfZ1y7sSxXTe1ntZqY3P/nXhp0tAy+heEU+sHJSYHWxvmtnKtRC89zamXU= =9uLw -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?565E258A.7000907>