diff options
-rw-r--r-- | sys/dev/ic/ahci.c | 1 | ||||
-rw-r--r-- | sys/include/dev/ic/ahcivar.h | 1 |
2 files changed, 2 insertions, 0 deletions
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; diff --git a/sys/include/dev/ic/ahcivar.h b/sys/include/dev/ic/ahcivar.h index 4c00749..61fdbf4 100644 --- a/sys/include/dev/ic/ahcivar.h +++ b/sys/include/dev/ic/ahcivar.h @@ -78,6 +78,7 @@ struct ahci_hba { uint8_t ems : 1; uint8_t sal : 1; uint8_t sss : 1; + devmajor_t major; }; /* |