#
9dbf5b0e |
|
13-Mar-2024 |
John Baldwin <jhb@FreeBSD.org> |
new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE The public bus_release_resource() API still accepts both forms, but the internal kobj method no longer passes the arguments. Implementations which need the rid or type now use rman_get_rid() or rman_get_type() to fetch the value from the allocated resource. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D44131
|
#
fdafd315 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
685dc743 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
17dce737 |
|
09-Jun-2023 |
Warner Losh <imp@FreeBSD.org> |
mvs: Eliminate unused variable. ccim is unused. Just remove it. PR: 271920 Sponsored by: Netflix
|
#
4d846d26 |
|
10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
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
|
#
827252ee |
|
20-Apr-2022 |
John Baldwin <jhb@FreeBSD.org> |
mvs: Remove unused devclass arguments to DRIVER_MODULE.
|
#
ddfc9c4c |
|
22-Jun-2021 |
Warner Losh <imp@FreeBSD.org> |
newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf Now that the upper layers all go through a layer to tie into these information functions that translates an sbuf into char * and len. The current interface suffers issues of what to do in cases of truncation, etc. Instead, migrate all these functions to using struct sbuf and these issues go away. The caller is also in charge of any memory allocation and/or expansion that's needed during this process. Create a bus_generic_child_{pnpinfo,location} and make it default. It just returns success. This is for those busses that have no information for these items. Migrate the now-empty routines to using this as appropriate. Document these new interfaces with man pages, and oversight from before. Reviewed by: jhb, bcr Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29937
|
#
718cf2cc |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys/dev: further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
|
#
87d8fcc8 |
|
12-Apr-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Replace 0 with NULL for pointers in misc. device drivers. Found with devel/coccinelle.
|
#
d8d7c6b1 |
|
21-Mar-2016 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Fix some more long -> rman_res_t Reported by: Michael Butler (siis breakage)
|
#
2dd1bdf1 |
|
26-Jan-2016 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Convert rman to use rman_res_t instead of u_long Summary: Migrate to using the semi-opaque type rman_res_t to specify rman resources. For now, this is still compatible with u_long. This is step one in migrating rman to use uintmax_t for resources instead of u_long. Going forward, this could feasibly be used to specify architecture-specific definitions of resource ranges, rather than baking a specific integer type into the API. This change has been broken out to facilitate MFC'ing drivers back to 10 without breaking ABI. Reviewed By: jhb Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D5075
|
#
3036de3c |
|
23-Mar-2015 |
Alexander Motin <mav@FreeBSD.org> |
Reduce priority of ATA/SATA drivers. Legacy ata(4) -> BUS_PROBE_LOW_PRIORITY; more functional ahci(4), siis(4), mvs(4) -> BUS_PROBE_DEFAULT; BUS_PROBE_VENDOR leave for vendor drivers. MFC after: 2 weeks
|
#
200b4021 |
|
11-Sep-2014 |
Alexander Motin <mav@FreeBSD.org> |
Initialize variables before resource_int_value(). Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
|
#
add35ed5 |
|
02-Feb-2014 |
Ian Lepore <ian@FreeBSD.org> |
Follow r261352 by updating all drivers which are children of simplebus to check the status property in their probe routines. Simplebus used to only instantiate its children whose status="okay" but that was improper behavior, fixed in r261352. Now that it doesn't check anymore and probes all its children; the children all have to do the check because really only the children know how to properly interpret their status property strings. Right now all existing drivers only understand "okay" versus something- that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
|
#
be445686 |
|
28-Oct-2013 |
Zbigniew Bodek <zbb@FreeBSD.org> |
Run mvs SATA driver on Armada XP instead of old mv_sata The mvs driver seems to be more functional than mv_sata and is not causing random interrupt storms during boot.
|
#
ca114192 |
|
17-Apr-2013 |
Alexander Motin <mav@FreeBSD.org> |
Make siis(4) and mvs(4) send bus_get_dma_tag() requests to parent buses passing real bus' child pointers instead of grandchilds. Requested by: kib
|
#
c8953e12 |
|
28-Jul-2012 |
Hiroki Sato <hrs@FreeBSD.org> |
Add support for Marvell 88F6282. Sponsored by: Plat'Home, Co.,Ltd.
|
#
b30c7d51 |
|
12-Jun-2012 |
Alexander Motin <mav@FreeBSD.org> |
- Limit r214102 workaround to only x86. On arm it causes more problems then solves because of cache coherency issues. This fixes periodic error messages on console and command timeouts. - Patch SATA PHY configuration for 65nm SoCs to improve SNR same as Linux does. MFC after: 2 weeks
|
#
c72ef339 |
|
01-Feb-2012 |
Rafal Jaworowski <raj@FreeBSD.org> |
Adjust mvs(4) to handle interrupt cause reg depending on the actual number of channels available - current code treats bits 4:7 in 'SATAHC interrupt mask' and 'SATAHC interrupt cause' as flags for SATA channels 2 and 3 - for embedded SATA controllers (SoC) these bits have been marked as reserved in datasheets so far, but for some new and upcoming chips they are used for purposes other than SATA Submitted by: Lukasz Plachno Reviewed by: mav Obtained from: Semihalf MFC after: 2 weeks
|
#
3b12bdb5 |
|
22-Nov-2011 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Rename device_delete_all_children() into device_delete_children(). Suggested by: jhb @ and marius @ MFC after: 1 week
|
#
11bcf702 |
|
19-Nov-2011 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Move the device_delete_all_children() function from usb_util.c to kern/subr_bus.c. Simplify this function so that it no longer depends on malloc() to execute. Identify a few other places where it makes sense to use device_delete_all_children(). MFC after: 1 week
|
#
01e2aa9f |
|
28-Mar-2011 |
Alexander Motin <mav@FreeBSD.org> |
Update mvs(4) driver to work over FDT's simplebus(4) bus.
|
#
c0609c54 |
|
20-Oct-2010 |
Alexander Motin <mav@FreeBSD.org> |
Some style cleanup: - remove commented debugging code; - wrap long lines.
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
8c14a06f |
|
24-May-2010 |
Alexander Motin <mav@FreeBSD.org> |
MFC r208410: Report ATA/SATA channel number to NewBus at location string.
|
#
bb4b8a9f |
|
24-May-2010 |
Alexander Motin <mav@FreeBSD.org> |
MFC r208414: Fill rman range start/end values. It makes devinfo output more readable.
|
#
cc6b610b |
|
22-May-2010 |
Alexander Motin <mav@FreeBSD.org> |
Fill rman range start/end values. It makes devinfo output more readable.
|
#
445cc79c |
|
22-May-2010 |
Alexander Motin <mav@FreeBSD.org> |
Report ATA/SATA channel number to NewBus at location string.
|
#
4567e833 |
|
19-May-2010 |
Alexander Motin <mav@FreeBSD.org> |
MFC r207536, r207696, r208183: Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers driver for CAM ATA subsystem. This driver supports same hardware as atamarvell, ataadaptec and atamvsata drivers from ata(4), but provides many additional features, such as NCQ, PMP, etc.
|
#
dd48af36 |
|
02-May-2010 |
Alexander Motin <mav@FreeBSD.org> |
Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers driver for CAM ATA subsystem. This driver supports same hardware as atamarvell, ataadaptec and atamvsata drivers from ata(4), but provides many additional features, such as NCQ, PMP, etc.
|