[Bug 235181] mrsas(4): PERC330 card as HBA - driver detects drives as SATA when they are SATA 3

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 28 Mar 2026 21:53:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235181

--- Comment #7 from Michael Osipov <michaelo@FreeBSD.org> ---
I did some code digging: mrsas_cam.c sets by default
"ccb->cpi.base_transfer_speed = 150000", in my case camcontrol.c says that the
transport is SPI (parallel SCSI)  (Why not SAS?) In XPI mode the transfer speed
is calculated with a sync rate and bus width. Both are never set.

So I guess the lowest possible value is assumed. mfiutil/mrsasutil does not
display the value at all. I bet that Broadcom's closed source util can display
this piece of information. I searched drivers for those bitrate fields, most
don't set it. I assume that this displayed value is totally useless at least
for mrsas(4) and deceiving. I'd be happy if someone could prove or revoke my
analysis.

-- 
You are receiving this mail because:
You are the assignee for the bug.