git: fd45162d1139 - stable/14 - mx25l.4: Document the correct disk device path

From: Jessica Clarke <jrtc27_at_FreeBSD.org>
Date: Sat, 07 Sep 2024 01:48:06 UTC
The branch stable/14 has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=fd45162d11392cb5081654f11b9285a04bbad67a

commit fd45162d11392cb5081654f11b9285a04bbad67a
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-06-11 16:43:18 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2024-09-07 00:01:17 +0000

    mx25l.4: Document the correct disk device path
    
    This was true at time of commit, but the path was changed 2 weeks later
    to just be the /dev/flash/spiN name, without updating the manpage.
    
    Reported by:    David Gilbert <dgilbert@daveg.ca>
    Fixes:          68dd77957786 ("Give the mx25l device sole ownership of the name /dev/flash/spi* ...")
    MFC after:      1 week
    
    (cherry picked from commit 703768a23590d8faf65b0f16dd395248ff7273f6)
---
 share/man/man4/mx25l.4 | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/share/man/man4/mx25l.4 b/share/man/man4/mx25l.4
index ff2e78a8c5aa..5dffdebcf43e 100644
--- a/share/man/man4/mx25l.4
+++ b/share/man/man4/mx25l.4
@@ -22,7 +22,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 26, 2019
+.Dd June 11, 2024
 .Dt MX25L 4
 .Os
 .Sh NAME
@@ -60,7 +60,7 @@ such as block size, sector size, and device capacity.
 When a supported device is found, the
 .Nm
 driver creates a disk device and makes it accessible at
-.Pa /dev/flash/mx25l? .
+.Pa /dev/flash/spi? .
 The new disk device is then tasted by the available
 .Xr geom 4
 modules as with any disk device.
@@ -189,13 +189,9 @@ Set the high bit (1 << 31) to invert the logic level of the chip select line.
 The SPI mode (0-3) to use when communicating with this device.
 .El
 .Sh FILES
-.Bl -tag -width /dev/flash/mx25l?
-.It Pa /dev/flash/mx25l?
-Provides read/write access to the storage device.
+.Bl -tag -width /dev/flash/spi?
 .It Pa /dev/flash/spi?
-An alias for the
-.Pa /dev/mx25l?
-device, for backwards compatibility with older versions of the driver.
+Provides read/write access to the storage device.
 .El
 .Sh SEE ALSO
 .Xr fdt 4 ,