From 2df7ef4bd8a237f3351048811952c4d7528bcf15 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 10 May 2025 01:29:37 -0400 Subject: kernel: ahci: Store major in HBA descriptor Signed-off-by: Ian Moffett --- sys/dev/ic/ahci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/ic/ahci.c') diff --git a/sys/dev/ic/ahci.c b/sys/dev/ic/ahci.c index fc87b71..d407540 100644 --- a/sys/dev/ic/ahci.c +++ b/sys/dev/ic/ahci.c @@ -665,6 +665,7 @@ ahci_init(void) struct ahci_hba hba; void *abar_vap = NULL; + hba.major = 0; lookup.pci_class = 0x01; lookup.pci_subclass = 0x06; -- cgit v1.2.3