Download raw body.
PCI_PRODUCT_INTEL_82801HBM_RAID
On Thu, Jan 16, 2025 at 07:08:32AM +0000, jon@elytron.openbsd.amsterdam wrote:
> Hello, I would like to share a trivial patch to enable some ahci
> devices.
The RAID devices are intentionally not listed.
sys/dev/pci/ahci.c rev 1.163
----------------------------
revision 1.163
date: 2010/04/16 22:15:39; author: kettenis; state: Exp; lines: +1 -10;
Remove Intel RAID IDs for now. They can be added back when code has been
written to detect the Intel RAID metadata format such that we no longer risk
overwriting it. If this makes you lose your disks, you'll need to change the
controller type from RAID to AHCI in the BIOS to get them back.
ok marco@, deraadt@
----------------------------
>
> Index: dev/pci/ahci_pci.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/ahci_pci.c,v
> retrieving revision 1.18
> diff -u -p -r1.18 ahci_pci.c
> --- dev/pci/ahci_pci.c 16 Jun 2024 18:00:08 -0000 1.18
> +++ dev/pci/ahci_pci.c 2 Jan 2025 19:09:58 -0000
> @@ -121,6 +121,8 @@ static const struct ahci_device ahci_dev
> NULL, ahci_intel_attach },
> { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801HBM_AHCI,
> NULL, ahci_intel_attach },
> + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801HBM_RAID,
> + NULL, ahci_intel_attach },
> { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801I_AHCI_1,
> NULL, ahci_intel_attach },
> { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801I_AHCI_2,
>
>
PCI_PRODUCT_INTEL_82801HBM_RAID