|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
685dc743 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
4d846d26 |
| 10-May-2023 |
Warner Losh <[email protected]> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
76735c74 |
| 18-Apr-2023 |
Stephen J. Kiernan <[email protected]> |
flash: Add "n25q64" to mx25l driver
This is for 64Mb Micron N25Q serial NOR flash memory
Obtained from: Juniper Networks, Inc.
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
0d95fe04 |
| 09-May-2022 |
John Baldwin <[email protected]> |
spi flash: Remove unused devclass arguments to DRIVER_MODULE.
|
| #
edcced8a |
| 05-Apr-2022 |
Warner Losh <[email protected]> |
mx25l_task: eliminate dev write only variable
Sponsored by: Netflix
|
|
Revision tags: release/12.3.0 |
|
| #
416ac155 |
| 30-Aug-2021 |
Thomas Skibo <[email protected]> |
mx25l: Add support for Integrated Silicon Solution is25wp256
This is used for the on-board flash on the HiFive Unmatched board.
Reviewed by: #riscv, jrtc27 MFC after: 1 week Differential Revision:
mx25l: Add support for Integrated Silicon Solution is25wp256
This is used for the on-board flash on the HiFive Unmatched board.
Reviewed by: #riscv, jrtc27 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31562
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0 |
|
| #
3f59a7f9 |
| 02-Oct-2020 |
Nick O'Brien <[email protected]> |
flash: Add support for SPI flash s25fl512s
Reviewed by: kp Approved by: kp (mentor) Sponsored by: Axiado
|
|
Revision tags: release/11.4.0 |
|
| #
d176b803 |
| 07-Feb-2020 |
Scott Long <[email protected]> |
Ever since the block layer expanded its command syntax beyond just BIO_READ and BIO_WRITE, we've handled this expanded syntax poorly in drivers when the driver doesn't support a particular command.
Ever since the block layer expanded its command syntax beyond just BIO_READ and BIO_WRITE, we've handled this expanded syntax poorly in drivers when the driver doesn't support a particular command. Do a sweep and fix that.
Reported by: imp
show more ...
|
| #
f86e6000 |
| 04-Dec-2019 |
Warner Losh <[email protected]> |
Regularize my copyright notice
o Remove All Rights Reserved from my notices o [email protected] everywhere o regularize punctiation, eliminate date ranges o Make sure that it's clear that I don't clai
Regularize my copyright notice
o Remove All Rights Reserved from my notices o [email protected] everywhere o regularize punctiation, eliminate date ranges o Make sure that it's clear that I don't claim All Rights reserved by listing All Rights Reserved on same line as other copyright holders (but not me). Other such holders are also listed last where it's clear.
show more ...
|
|
Revision tags: release/12.1.0 |
|
| #
d1ecd3ac |
| 25-Oct-2019 |
Emmanuel Vadot <[email protected]> |
flash: Add GigaDevice gd25q128 flash
Add this flash chip which is a 128Mb spi flash.
MFC after: 1 week
|
|
Revision tags: release/11.3.0 |
|
| #
db63d251 |
| 23-May-2019 |
Ian Lepore <[email protected]> |
Use the new FDTCOMPAT_PNP_INFO() macro to define SPIBUS_FDT_PNP_INFO(). Also rename SPIBUS_PNP_INFO -> SPIBUS_FDT_PNP_INFO because there could be other kinds of pnpinfo for other (non-fdt) bus attach
Use the new FDTCOMPAT_PNP_INFO() macro to define SPIBUS_FDT_PNP_INFO(). Also rename SPIBUS_PNP_INFO -> SPIBUS_FDT_PNP_INFO because there could be other kinds of pnpinfo for other (non-fdt) bus attachments.
show more ...
|
| #
68dd7795 |
| 10-Mar-2019 |
Ian Lepore <[email protected]> |
Give the mx25l device sole ownership of the name /dev/flash/spi* instead of trying to use disk_add_alias() to make spi* an alias for mx25l*. It turns out disk_add_alias() works for partitions, but n
Give the mx25l device sole ownership of the name /dev/flash/spi* instead of trying to use disk_add_alias() to make spi* an alias for mx25l*. It turns out disk_add_alias() works for partitions, but not slices, and that's hard to fix.
This change is, in effect, a partial revert of r344526.
The mips world relies on the existence of flashmap names formatted as /dev/flash/spi0s.name, whereas pretty much nothing relies on at45d devices using the /dev/spi* names (because until recently the at45d driver didn't even work reliably). So this change makes mx25l devices the sole owner of the /dev/flash/spi* namespace, which actually makes some sense because it is a SpiFlash(tm) device, so flash/spi isn't a horrible name.
Reported by: Mori Hiroki <[email protected]>
show more ...
|
| #
fb4f7d70 |
| 26-Feb-2019 |
Ian Lepore <[email protected]> |
Add a module dependency on fdt_slicer.
|
| #
d3248c41 |
| 25-Feb-2019 |
Ian Lepore <[email protected]> |
Resolve a name conflict when both SpiFlash and DataFlash devices are present.
Both SpiFlash (mx25l) and DataFlash (at45d) drivers create a disk device with a name of /dev/flash/spiN where N is the d
Resolve a name conflict when both SpiFlash and DataFlash devices are present.
Both SpiFlash (mx25l) and DataFlash (at45d) drivers create a disk device with a name of /dev/flash/spiN where N is the driver's unit number. If both types of devices are present in the same system, this creates a fatal conflict that prevents attachment of whichever device attaches second (because mx25l0 and at45d0 both try to create a spi0).
This gives each type of device a unique name (mx25lN or at45dN respectively) and also adds an alias of spiN for compatibility. When both device types appear in the same system, only the first to attach gets the spiN alias. When the second device attaches there is a non-fatal warning that the alias can't be created, but both devices are still accessible via their primary names (and there is no need for the spiN name to work for backwards compatibility on such a system, because it has never been possible to use the spiN names when both devices exist).
show more ...
|
| #
d3f13132 |
| 05-Feb-2019 |
Warner Losh <[email protected]> |
Remove All Rights Reserved
Remove the all rights reserved clause from my copyright, and make other minor tweaks needed where that might have created ambiguity.
|
|
Revision tags: release/12.0.0 |
|
| #
6dfd0500 |
| 29-Jul-2018 |
Ian Lepore <[email protected]> |
The device ID tables are used only within the driver, make them static so that both of these drivers can exist in the same kernel.
|
|
Revision tags: release/11.2.0 |
|
| #
7de871aa |
| 14-Jun-2018 |
Emmanuel Vadot <[email protected]> |
mx25l: compat_data is only defined when FDT is
Reported by: O. Hartmann <[email protected]>
|
| #
50d3578f |
| 14-Jun-2018 |
Emmanuel Vadot <[email protected]> |
mx25l: Add pnp info
|
| #
bb5125a4 |
| 17-May-2018 |
Emmanuel Vadot <[email protected]> |
mx25l: Add mx25l1606e
This is a 16Mbits spi flash arranged in 32x64k blocks or 512x4k sectors.
|
| #
d8920513 |
| 18-Mar-2018 |
Ian Lepore <[email protected]> |
Add the device/chip type to the disk d_descr field, and print more info about the chip including the erase block size at attach time.
Also add myself to the copyrights since at this point svn blame
Add the device/chip type to the disk d_descr field, and print more info about the chip including the erase block size at attach time.
Also add myself to the copyrights since at this point svn blame would point to me as the culprit for much of this.
show more ...
|
| #
3c9af13c |
| 18-Mar-2018 |
Ian Lepore <[email protected]> |
Add support for 4K and 32K erase block sizes. Many of the supported chips have these flags set in the ident table, but there was no code to support using the smaller erase sizes.
|
| #
c03ab159 |
| 18-Mar-2018 |
Ian Lepore <[email protected]> |
Make all internal routines return an int error status, and check the status at all call points. Combine the get_status and wait_for_ready routines, since waiting for ready is the only reason to ever
Make all internal routines return an int error status, and check the status at all call points. Combine the get_status and wait_for_ready routines, since waiting for ready is the only reason to ever get status.
show more ...
|
| #
89a1585b |
| 18-Mar-2018 |
Ian Lepore <[email protected]> |
Add sc_parent to the softc and use it in place of device_get_parent() calls all over the place. Also pass the softc as the arg to all the internal functions instead of passing a device_t and calling
Add sc_parent to the softc and use it in place of device_get_parent() calls all over the place. Also pass the softc as the arg to all the internal functions instead of passing a device_t and calling device_get_softc() in each function.
show more ...
|
| #
89a895b6 |
| 18-Mar-2018 |
Ian Lepore <[email protected]> |
Bugfix: wait for writes/erases to complete after starting them, instead of before starting them.
Using the wait-before logic would make sense if there was useful time- consuming work that could be d
Bugfix: wait for writes/erases to complete after starting them, instead of before starting them.
Using the wait-before logic would make sense if there was useful time- consuming work that could be done between the end of one write and the beginning of the next, but it also requires doing the wait-for-ready before reading, because a prior write or erase could still be in progress. Reading is the far more common case, so adding a whole extra bus transaction to check for ready before each read would soak up any small gains that might be had from doing async writes.
show more ...
|
| #
19aa9f71 |
| 18-Mar-2018 |
Ian Lepore <[email protected]> |
Eliminate some unneeded intermediate variables. Eliminate some redundant parens in shift-and-mask expressions. Reword and reflow some comments.
|