Skip to content

Conversation

@disean
Copy link

@disean disean commented Oct 29, 2025

According to various online references, the 1166:0241 PCI device has 8 ports instead of 4:
https://bugzilla.kernel.org/show_bug.cgi?id=10424

0241 8-Channel RAIDCore SATA RAID Host Bus Adapter (BC4852)

Note: I don't have the actual hardware to test with.

@bsdimp
Copy link
Member

bsdimp commented Oct 29, 2025

So why'd you chanage both FRODO4 and FRODO8?
And since you don't have this hardware, and we're deep into the 'legacy' time that it will be used, how do we mitigate the risk we accidentally break somebody with this change?

@disean
Copy link
Author

disean commented Oct 29, 2025

So why'd you change both FRODO4 and FRODO8?

Frodo8 is a BCM5770R controller with 4 SATA ports.

And since you don't have this hardware, and we're deep into the 'legacy' time that it will be used, how do we mitigate the risk we accidentally break somebody with this change?

If you think we can't avoid the risk of making things worse, feel free to reject this and open a bug report instead :)

@jlduran
Copy link
Member

jlduran commented Oct 29, 2025

I believe this change stems from:

torvalds/linux@aeb7491

Shouldn't the proper fix be?

--- a/sys/dev/ata/ata-pci.h
+++ b/sys/dev/ata/ata-pci.h
@@ -430,8 +430,8 @@ struct ata_pci_controller {
 #define ATA_HT1000_S1           0x024b1166
 #define ATA_HT1000_S2           0x024a1166
 #define ATA_K2                 0x02401166
-#define ATA_FRODO4             0x02411166
-#define ATA_FRODO8             0x02421166
+#define ATA_FRODO8             0x02411166
+#define ATA_FRODO4             0x02421166

I think:

Name Ports
Frodo4 4
Frodo8 8

Still stands, it's just that the IDs were swapped, not the names?

The 1166:0241 PCI device has 8 ports instead of 4.

Signed-off-by: Dmitry Borisov <[email protected]>
Copy link
Member

@jlduran jlduran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I approve, however @bsdimp has the last word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants