summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenji Aoyama <aoyama@cvs.openbsd.org>2023-02-11 04:35:35 +0000
committerKenji Aoyama <aoyama@cvs.openbsd.org>2023-02-11 04:35:35 +0000
commitbbc73e17f3cdce7214cd99c082ecf222e245aa9d (patch)
treed7ed68c60e10a8f8f1244663687e22076f32e892
parent0a8634c4115e371893d1b8b9df63ada1f646ffb0 (diff)
Make 'ls' command in bootloader work correctly on luna88k.
Now 'ls' against directory works fine. Tested on LUNA-88K2 and nono emulator by me.
-rw-r--r--sys/arch/luna88k/stand/boot/conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/luna88k/stand/boot/conf.c b/sys/arch/luna88k/stand/boot/conf.c
index 70c4646c41f..411aad2d17d 100644
--- a/sys/arch/luna88k/stand/boot/conf.c
+++ b/sys/arch/luna88k/stand/boot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.4 2020/12/09 18:10:19 krw Exp $ */
+/* $OpenBSD: conf.c,v 1.5 2023/02/11 04:35:34 aoyama Exp $ */
/* $NetBSD: conf.c,v 1.3 2013/01/16 15:46:20 tsutsui Exp $ */
/*
@@ -97,7 +97,8 @@ int n_netif_drivers = sizeof(netif_drivers) / sizeof(netif_drivers[0]);
__CONCAT(fs,_read), \
__CONCAT(fs,_write), \
__CONCAT(fs,_seek), \
- __CONCAT(fs,_stat) }
+ __CONCAT(fs,_stat), \
+ __CONCAT(fs,_readdir) }
#ifdef SUPPORT_DISK
struct fs_ops file_system_disk[] = {
FS_OPS(ufs),