stand/kshim: Update for devclass being removed from DRIVER_MODULEThe kshim code abused the devclass argument to DRIVER_MODULE in someodd ways. Instead, refactor the devclass handling to more clos
stand/kshim: Update for devclass being removed from DRIVER_MODULEThe kshim code abused the devclass argument to DRIVER_MODULE in someodd ways. Instead, refactor the devclass handling to more closelymirror what new-bus does in the kernel by having a linked list ofdevclasses looked up by name and associate devices with a devclass.Devices are now only associated with a module while probing andattaching.Reviewed by: imp, markjDifferential Revision: https://reviews.freebsd.org/D48409
show more ...
Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
stand: For all disk drivers, connect dv_parsedev to disk_parsedevSponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D37339
stand: Add disk_fmtdev for dv_fmtdev for all the disk devicesAll of the archsw fmtdev functions treat DEVT_DISK as a call todisk_fmtdev. Set all disks' dv_fmtdev to disk_fmtdev so devformatwill r
stand: Add disk_fmtdev for dv_fmtdev for all the disk devicesAll of the archsw fmtdev functions treat DEVT_DISK as a call todisk_fmtdev. Set all disks' dv_fmtdev to disk_fmtdev so devformatwill return the same thing.Sponsored by: NetflixReviewed by: tsoome (prior version)Differential Revision: https://reviews.freebsd.org/D35917
Distinguish between "no partition" and "choose best partition" with a constant.The values of the d_slice and d_partition fields of a disk_devdesc have afew values with special meanings in the disk
Distinguish between "no partition" and "choose best partition" with a constant.The values of the d_slice and d_partition fields of a disk_devdesc have afew values with special meanings in the disk_open() routine. Through variousevolutions of the loader code over time, a d_partition value of -1 hasmeant both "use the first ufs partition found in the bsd label" and "don'topen a bsd partition at all, open the raw slice."This defines a new special value of -2 to mean open the raw slice, and itgives symbolic names to all the special values used in d_slice andd_partition, and adjusts all existing uses of those fields to use the newconstants.The phab review for this timed out without being accepted, but I'm stillciting it below because there is useful commentary there.Differential Revision: https://reviews.freebsd.org/D19262
Move sys/boot to stand. Fix all references to new locationSponsored by: Netflix