diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-26 01:59:40 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-26 01:59:40 -0400 |
commit | ee6241cbb6fd948d1cc5d0b176427db88e4aee06 (patch) | |
tree | ce46c9c782e5573184a7ace591a0b427e7e6059d /sys/dev/ic | |
parent | 6fa27a07d5cc51d817e7c354dc6a7bb70ea475ee (diff) |
kernel: ahci: Create devfs entry as block device
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/ahci.c b/sys/dev/ic/ahci.c index 669b936..0c45c24 100644 --- a/sys/dev/ic/ahci.c +++ b/sys/dev/ic/ahci.c @@ -827,7 +827,7 @@ ahci_init_port(struct ahci_hba *hba, uint32_t portno) dev.devname = devname; dev.ops = &g_sata_bsize_ops; ctlfs_create_entry("bsize", &dev); - return devfs_create_entry(devname, hba->major, dp->dev, 0444); + return devfs_create_entry(devname, hba->major, dp->dev, 060444); } /* |