From: aoyama Date: Sat, 11 Feb 2023 04:35:34 +0000 (+0000) Subject: Make 'ls' command in bootloader work correctly on luna88k. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=032ea316b5a41d44061a691beacc8a67c80316fb;p=openbsd Make 'ls' command in bootloader work correctly on luna88k. Now 'ls' against directory works fine. Tested on LUNA-88K2 and nono emulator by me. --- 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),