ciss(4) HP Smart Array P840

Sean Bruno sbruno at freebsd.org
Tue Dec 1 22:56:12 UTC 2015


-----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-----


More information about the freebsd-scsi mailing list