"ahci0: AHCI v1.30 with 6 6Gbps ports" while only 2 of those are SATA3

From: Yuri Pankov <yuripv_at_yuripv.dev>
Date: Mon, 12 Apr 2021 23:28:50 +0300
That is on somewhat older Supermicro X9DRI-LN4F+ board:

ahci0: <Intel Patsburg AHCI SATA controller> port
0x9050-0x9057,0x9040-0x9043,0x9030-0x9037,0x9020-0x9023,0x9000-0x901f
mem 0xdfa21000-0xdfa217ff irq 18 at device 31.2 numa-domain 0 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported

and then I was confused by messages about SATA3 drives connected to
ports 2-5 (see the "transfers" line):

ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
ada1: <WDC WD40PURZ-85AKKY0 80.00A80> ACS-3 ATA SATA 3.x device
ada1: Serial Number WD-WX32D7088CCV
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 3815447MB (7814037168 512 byte sectors)

Checking the board manual made it clear than only ports 0-1 are SATA3,
and 2-5 are indeed SATA2.  While the issue is purely cosmetic, I wonder
if it's possible to print real port speeds for the controller, i.e. if
this information is available to driver?
Received on Mon Apr 12 2021 - 18:28:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC