From ee6241cbb6fd948d1cc5d0b176427db88e4aee06 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 26 May 2025 01:59:40 -0400 Subject: kernel: ahci: Create devfs entry as block device Signed-off-by: Ian Moffett --- sys/dev/ic/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ic') 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); } /* -- cgit v1.2.3