From nobody Mon Jan 10 21:40:20 2022 X-Original-To: freebsd-scsi@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EBFC5194F3ED for ; Mon, 10 Jan 2022 21:40:39 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (mithlond.kdm.org [96.89.93.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mithlond.kdm.org", Issuer "mithlond.kdm.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JXnLb691Zz4c8f for ; Mon, 10 Jan 2022 21:40:39 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (localhost [127.0.0.1]) by mithlond.kdm.org (8.15.2/8.14.9) with ESMTPS id 20ALeKgK094137 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 10 Jan 2022 16:40:20 -0500 (EST) (envelope-from ken@mithlond.kdm.org) Received: (from ken@localhost) by mithlond.kdm.org (8.15.2/8.15.2/Submit) id 20ALeKXg094136; Mon, 10 Jan 2022 16:40:20 -0500 (EST) (envelope-from ken) Date: Mon, 10 Jan 2022 16:40:20 -0500 From: "Kenneth D. Merry" To: Gerrit Kuehn Cc: freebsd-scsi@FreeBSD.org Subject: Re: Broadcom 3808 support Message-ID: <20220110214019.GA93940@mithlond.kdm.org> References: <20220106112904.2ed0eba2@comet2.terra.ger> <20220110203150.GA93020@mithlond.kdm.org> <20220110222230.1f24d9af@comet2.terra.ger> List-Id: SCSI subsystem List-Archive: https://lists.freebsd.org/archives/freebsd-scsi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220110222230.1f24d9af@comet2.terra.ger> User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mithlond.kdm.org [127.0.0.1]); Mon, 10 Jan 2022 16:40:20 -0500 (EST) X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mithlond.kdm.org X-Rspamd-Queue-Id: 4JXnLb691Zz4c8f X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, Jan 10, 2022 at 22:22:30 +0100, Gerrit Kuehn wrote: > On Mon, 10 Jan 2022 15:31:51 -0500 > "Kenneth D. Merry" wrote: > > Hello Ken, > > > To put it in different words, what Sreekanth was trying to say in the > > message linked above is that Broadcom commits their driver changes > > directly to the FreeBSD source tree. So, "inbox" means the driver is > > "in the OS box", as it would have been back in the days when you > > bought an OS from a store on CDROM. > > > > They used to provide an "out of box" driver that you could download on > > their web site, but they don't provide that anymore. They'll just > > tell you it works with FreeBSD as-is, so the downloadable driver > > isn't needed. > > Ah, I see. Thanks for the explanation. I found downloadable drivers and > firmware quite handy in the past as a fall-back option in case the one > bundled with the OS didn't work properly (had to do that once or twice, > but that was something like 10y+ ago). > > > The last time they added PCI IDs to the mpr(4) driver was in December > > 2018. So, FreeBSD 12.3 or 13.0 should work with it, as would a number > > of earlier releases. If you want a precise answer, that will take > > more digging through the tree to figure out. You would need to look > > at sys/dev/mpr/mpr_pci.c in the branch you're interested in. > > That's already everything I wanted to know, actually. Thank you very > much again. > I had looked into the source tree of the mpr driver in 13.0, but > somehow failed to find references to the 3808 chipset (just had looked > for "3808" as a string, which isn't there, in contrast to 3816 - but > maybe that was a too shallow idea on my side :-). The 38* chipsets also > aren't mentioned in the mpr manpage at all - maybe that one isn't > up-to-date then (although it claims to be from June 1, 2019 here)? Yes, it looks like Steve McConnell (who used to be the Broadcom maintainer, but moved to their firmware group) was the last one to update the list of supported devices in 2017. So the man page is indeed out of date. The mpr(4) driver supports all of their 12Gb SAS (non-RAID) chips as far as I know. I think the last two digits of their SAS chip and board model names are the number of SAS lanes. Ken -- Kenneth Merry ken@FreeBSD.ORG