the bitrig master branch has been updated by natano with 4 new commits: commit e1c04f29ad5e30e7b795e4b67510b8a98b9af5e2 diff: https://github.com/bitrig/bitrig/commit/e1c04f2 author: Martin Natano <[email protected]> date: Sun Jan 11 18:09:04 2015 +0100
Change disk_gone to take a disk struct as argument. So we don't have to find the device numbers in bdevsw/cdevsw when we alredy know them. ok pedro@ M sys/dev/ata/wd.c M sys/dev/tmpfsrd.c M sys/kern/subr_disk.c M sys/scsi/cd.c M sys/scsi/sd.c M sys/sys/disk.h commit ddeb9797649684f5151c4d134e55686f87871781 diff: https://github.com/bitrig/bitrig/commit/ddeb979 author: Martin Natano <[email protected]> date: Sun Jan 11 17:16:03 2015 +0100 Add blk/chr major number constants to <machine/conf.h>. This allows us to remove various (insufficiently error checked) ad-hoc hacks to find a driver's major number via it's open function. Configuration errors will now already show up at compile time. ok pedro@ M sys/arch/amd64/amd64/conf.c M sys/arch/amd64/amd64/wscons_machdep.c M sys/arch/amd64/include/conf.h M sys/arch/arm/arm/conf.c M sys/arch/arm/include/conf.h M sys/dev/audio.c M sys/dev/gpio/gpio.c M sys/dev/ic/com.c M sys/dev/midi.c M sys/dev/pci/cz.c M sys/dev/radio.c M sys/dev/usb/ucom.c M sys/dev/usb/ugen.c M sys/dev/usb/uhid.c M sys/dev/usb/ulpt.c M sys/dev/video.c M sys/dev/wscons/wsdisplay.c M sys/dev/wscons/wskbd.c M sys/dev/wscons/wsmouse.c M sys/kern/tty_pty.c M sys/net/bpf.c M sys/scsi/st.c M sys/scsi/uk.c commit 0c2fd9f01034d0674f4015e100b7a844abeebd23 diff: https://github.com/bitrig/bitrig/commit/0c2fd9f author: Martin Natano <[email protected]> date: Sun Jan 11 17:13:47 2015 +0100 uk(4) is not a block device; ok pedro@ M sys/scsi/uk.c commit 52bdad21d27b90eb2225356a0042d99adbe28d90 diff: https://github.com/bitrig/bitrig/commit/52bdad2 author: Martin Natano <[email protected]> date: Sun Jan 11 16:45:17 2015 +0100 Add missing include guard; ok pedro@ M sys/arch/amd64/include/conf.h
