aboutsummaryrefslogtreecommitdiff
path: root/stand/usb
Commit message (Collapse)AuthorAgeFilesLines
* stand/usb: Quiet warnings so this builds againJohn Baldwin2025-01-112-1/+2
| | | | | Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D48411
* stand/kshim: Update for devclass being removed from DRIVER_MODULEJohn Baldwin2025-01-111-3/+1
| | | | | | | | | | | | | The kshim code abused the devclass argument to DRIVER_MODULE in some odd ways. Instead, refactor the devclass handling to more closely mirror what new-bus does in the kernel by having a linked list of devclasses looked up by name and associate devices with a devclass. Devices are now only associated with a module while probing and attaching. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D48409
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-164-4/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-166-6/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* stand: For all disk drivers, connect dv_parsedev to disk_parsedevWarner Losh2022-11-301-0/+1
| | | | | Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D37339
* stand: Add disk_fmtdev for dv_fmtdev for all the disk devicesWarner Losh2022-08-111-0/+1
| | | | | | | | | | All of the archsw fmtdev functions treat DEVT_DISK as a call to disk_fmtdev. Set all disks' dv_fmtdev to disk_fmtdev so devformat will return the same thing. Sponsored by: Netflix Reviewed by: tsoome (prior version) Differential Revision: https://reviews.freebsd.org/D35917
* mips: remove saf1761Warner Losh2022-01-041-8/+0
| | | | | | | | The saf1761 OTG support was only for mips targets (BERI?). Retire it. Sponsored by: Netflix Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D33706
* stand: remove mips supportWarner Losh2021-12-101-4/+0
| | | | | | | | | | As part of decommissioning mips support, remove the boot loader support. Do this in advance of other boot loader work to limit the amount of work that will be thrown away. Sponsored by: Netflix Reviewed by: jrtc27 Differential Revision: https://reviews.freebsd.org/D33377
* Fix build of stand/usb .Hans Petter Selasky2020-01-231-1/+3
| | | | | | | | MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=357041
* Distinguish between "no partition" and "choose best partition" with a constant.Ian Lepore2019-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | The values of the d_slice and d_partition fields of a disk_devdesc have a few values with special meanings in the disk_open() routine. Through various evolutions of the loader code over time, a d_partition value of -1 has meant both "use the first ufs partition found in the bsd label" and "don't open a bsd partition at all, open the raw slice." This defines a new special value of -2 to mean open the raw slice, and it gives symbolic names to all the special values used in d_slice and d_partition, and adjusts all existing uses of those fields to use the new constants. The phab review for this timed out without being accepted, but I'm still citing it below because there is useful commentary there. Differential Revision: https://reviews.freebsd.org/D19262 Notes: svn path=/head/; revision=345477
* Move the stand/usb test loader into its own directory.Hans Petter Selasky2018-02-072-5/+9
| | | | | | | | | | Fix its Makefile to build correctly. MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=328990
* Fix relative location of USB sources after recent move.Hans Petter Selasky2018-02-071-1/+1
| | | | | | | | MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=328986
* Centralize several variables.Warner Losh2018-02-021-1/+0
| | | | | | | | | | MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always the same, so set them in defs.mk. MAN= is common, so set it here too. This removes a lot of boring repetition from the Makefiles that added almost no value. Notes: svn path=/head/; revision=328769
* Move some more common stuff up to Makefile.inc. In particular, the noWarner Losh2017-11-202-9/+0
| | | | | | | | | | | | | | simd / no float stuff is centeralized here. Also centralise -ffreestanding since it is specified everywhere. This, along with a change to share/mk/bsd.cpu.mk to include -mno-avx2 in CFLAGS_NO_SIMD should fix building for newer machines (eg with CPUTYPE=haswell) where clang was generating avx2 instructions. Sponsored by: Netflix Notes: svn path=/head/; revision=326038
* Move sys/boot to stand. Fix all references to new locationWarner Losh2017-11-1410-0/+1725
Sponsored by: Netflix Notes: svn path=/head/; revision=325834