Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Warner Losh
On Fri, Apr 24, 2020 at 1:49 AM Andriy Gapon wrote: > Author: avg > Date: Fri Apr 24 07:49:21 2020 > New Revision: 360241 > URL: https://svnweb.freebsd.org/changeset/base/360241 > > Log: > ig4: ensure that drivers always attach in correct order > > Use DRIVER_MODULE_ORDERED(SI_ORDER_ANY) so

Re: svn commit: r360064 - in head: share/man/man4 sys/dev/amr

2020-04-18 Thread Warner Losh
On Sat, Apr 18, 2020, 12:02 AM Rodney W. Grimes wrote: > > Author: imp > > Date: Sat Apr 18 02:53:19 2020 > > New Revision: 360064 > > URL: https://svnweb.freebsd.org/changeset/base/360064 > > > > Log: > > Add deprecation notice to amr(4) > > > > I take it this group of deprecations is also

svn commit: r360063 - in head: share/man/man4 sys/dev/twa

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:53:14 2020 New Revision: 360063 URL: https://svnweb.freebsd.org/changeset/base/360063 Log: twa(4) deprecation notice Modified: head/share/man/man4/twa.4 head/sys/dev/twa/tw_osl_freebsd.c Modified: head/share/man/man4/twa.4

svn commit: r360064 - in head: share/man/man4 sys/dev/amr

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:53:19 2020 New Revision: 360064 URL: https://svnweb.freebsd.org/changeset/base/360064 Log: Add deprecation notice to amr(4) Modified: head/share/man/man4/amr.4 head/sys/dev/amr/amr_pci.c Modified: head/share/man/man4/amr.4

svn commit: r360062 - in head: share/man/man4 sys/dev/iir

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:53:09 2020 New Revision: 360062 URL: https://svnweb.freebsd.org/changeset/base/360062 Log: Deprecation notice for iir Modified: head/share/man/man4/iir.4 head/sys/dev/iir/iir_pci.c Modified: head/share/man/man4/iir.4

svn commit: r360061 - in head: share/man/man4 sys/dev/mly

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:53:04 2020 New Revision: 360061 URL: https://svnweb.freebsd.org/changeset/base/360061 Log: Add deprecation notice to mly Modified: head/share/man/man4/mly.4 head/sys/dev/mly/mly.c Modified: head/share/man/man4/mly.4

svn commit: r360060 - in head: share/man/man4 sys/dev/esp

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:52:59 2020 New Revision: 360060 URL: https://svnweb.freebsd.org/changeset/base/360060 Log: Add deprecation notice for esp(4). Modified: head/share/man/man4/esp.4 head/sys/dev/esp/ncr53c9x.c Modified: head/share/man/man4/esp.4

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-17 Thread Warner Losh
On Fri, Apr 17, 2020 at 9:54 AM Colin Percival wrote: > On 2020-04-16 23:26, Alexey Dokuchaev wrote: > > On Thu, Apr 16, 2020 at 03:12:15PM -0700, Colin Percival wrote: > >> On 2020-04-16 15:05, Oliver Pinter wrote: > >>> On Thursday, April 16, 2020, Colin Percival >>>

svn commit: r359902 - head/sys/cam/scsi

2020-04-13 Thread Warner Losh
Author: imp Date: Mon Apr 13 21:04:33 2020 New Revision: 359902 URL: https://svnweb.freebsd.org/changeset/base/359902 Log: Checks here against useracc are not useful and are racy. copyin/copyout are sufficient to guard against bad addresses. They will return EFAULT if the user is up to

svn commit: r359901 - head/sys/cam

2020-04-13 Thread Warner Losh
Author: imp Date: Mon Apr 13 21:03:30 2020 New Revision: 359901 URL: https://svnweb.freebsd.org/changeset/base/359901 Log: Remove stale comment There's no useracc here, and even if there was it shouldn't be here. vmapbuf is sufficient and as the comment says, useracc is racy. Modified:

Re: svn commit: r359374 - in head: . share/man/man4 share/man/man7 share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/blake2 sys/crypto/ccp sys/crypto/via sys/dev/cesa sys/dev/cxgbe sys/dev/c

2020-04-13 Thread Warner Losh
On Mon, Apr 13, 2020 at 1:22 PM John-Mark Gurney wrote: > John Baldwin wrote this message on Mon, Apr 13, 2020 at 09:56 -0700: > > On 4/12/20 1:08 PM, Xin Li wrote: > > > > > > > > > On 3/27/20 11:25 AM, John Baldwin wrote: > > > [...]> - Drivers no longer register a list of supported

svn commit: r359729 - head/sys/netinet

2020-04-08 Thread Warner Losh
Author: imp Date: Wed Apr 8 17:55:45 2020 New Revision: 359729 URL: https://svnweb.freebsd.org/changeset/base/359729 Log: Fix copyright year and eliminate the obsolete all rights reserved line. Reviewed by: rrs@ Modified: head/sys/netinet/tcp_ratelimit.c

svn commit: r359718 - in head/sys: cam cam/ata cam/mmc geom

2020-04-07 Thread Warner Losh
Author: imp Date: Tue Apr 7 22:23:22 2020 New Revision: 359718 URL: https://svnweb.freebsd.org/changeset/base/359718 Log: Now that we don't have special-case geom hacking defined in md_var.h, stop including it. sparc64 was the last straggler here, but these weren't removed at the time.

svn commit: r359547 - in head/lib: libc/stdio libc/stdlib msun/man

2020-04-02 Thread Warner Losh
Author: imp Date: Wed Apr 1 22:50:41 2020 New Revision: 359547 URL: https://svnweb.freebsd.org/changeset/base/359547 Log: Note some functions that appeared in First Edition Unix These functions first appeared in the First Edition of Unix (or earlier in the pdp-7 version). Just claim 1st

svn commit: r359521 - in head: share/man/man4 sys/dev/usb/misc

2020-04-01 Thread Warner Losh
Author: imp Date: Wed Apr 1 16:22:31 2020 New Revision: 359521 URL: https://svnweb.freebsd.org/changeset/base/359521 Log: Start the retirement process for ufm This driver hasn't been relevant in almost 15 years. It was for a product on the shelves for about 6 months in 2003/2004. I've

svn commit: r359494 - in head: . share/man/man7

2020-03-31 Thread Warner Losh
Author: imp Date: Tue Mar 31 22:41:43 2020 New Revision: 359494 URL: https://svnweb.freebsd.org/changeset/base/359494 Log: Make universe configuration more consistent with rest of system Add 'WITHOUT_WORLDS' and 'WITHOUT_KERNELS' as aliases for the inconsistently named MAKE_JUST_KERNELS

svn commit: r359497 - head

2020-03-31 Thread Warner Losh
Author: imp Date: Tue Mar 31 22:41:57 2020 New Revision: 359497 URL: https://svnweb.freebsd.org/changeset/base/359497 Log: Add powerpcspe to the EXTRA_TARGETS Currently, powerpcspe is broken with clang. Add it to the EXTRA_TARGETS until that's fixed. Reviewed by: brooks, bdrewery,

svn commit: r359496 - head/share/man/man7

2020-03-31 Thread Warner Losh
Author: imp Date: Tue Mar 31 22:41:53 2020 New Revision: 359496 URL: https://svnweb.freebsd.org/changeset/base/359496 Log: Document universe better Document the kernels and worlds targets. Document the TARGETS and EXTRA_TARGETS variables. Reviewed by: brooks, bdrewery, emaste

svn commit: r359495 - head

2020-03-31 Thread Warner Losh
Author: imp Date: Tue Mar 31 22:41:48 2020 New Revision: 359495 URL: https://svnweb.freebsd.org/changeset/base/359495 Log: Fix make kernels to match original commit message make kernels was originally documented (in commit r295099) as the same as make universe -DJUST_BUILD_KERNELS.

Re: svn commit: r359407 - head/stand/libsa

2020-03-28 Thread Warner Losh
On Sat, Mar 28, 2020, 3:49 PM Toomas Soome wrote: > Author: tsoome > Date: Sat Mar 28 21:47:44 2020 > New Revision: 359407 > URL: https://svnweb.freebsd.org/changeset/base/359407 > > Log: > loader: add knob to build with user malloc > > This option is intended to aid development, to allow

Re: svn commit: r359168 - head

2020-03-24 Thread Warner Losh
On Tue, Mar 24, 2020 at 4:58 PM Scott Long wrote: > > > On Tue, Mar 24, 2020, at 3:45 PM, Gleb Smirnoff wrote: > > On Fri, Mar 20, 2020 at 04:02:46PM +, Ed Maste wrote: > > E> Author: emaste > > E> Date: Fri Mar 20 16:02:45 2020 > > E> New Revision: 359168 > > E> URL:

svn commit: r359284 - in head/lib/libc: gen sys

2020-03-24 Thread Warner Losh
Author: imp Date: Tue Mar 24 19:33:21 2020 New Revision: 359284 URL: https://svnweb.freebsd.org/changeset/base/359284 Log: exec{l,v}{e,p} arrived in 7th Edition research Unix to support the Bourne Shell which introduced environment variables. Document that here. Verified by consulting the

svn commit: r359246 - head/lib/libc/gen

2020-03-23 Thread Warner Losh
Author: imp Date: Mon Mar 23 16:02:01 2020 New Revision: 359246 URL: https://svnweb.freebsd.org/changeset/base/359246 Log: Document when execl and execp entered unix. For this, things are complicated. The first mention in the manual was in the 4th edition manual (as an add on to

svn commit: r359188 - head/share/mk

2020-03-20 Thread Warner Losh
Author: imp Date: Sat Mar 21 00:01:06 2020 New Revision: 359188 URL: https://svnweb.freebsd.org/changeset/base/359188 Log: Redo r359164 now that it's baked : Eliminate misuse of $MACHINE for userland things. Use TARGET_ARCH and/or MACHINE_ARCH exclusively. Change all __TT uses to __T

svn commit: r359167 - head/share/mk

2020-03-20 Thread Warner Losh
Author: imp Date: Fri Mar 20 16:00:26 2020 New Revision: 359167 URL: https://svnweb.freebsd.org/changeset/base/359167 Log: Revert r359164. This was in my staging tree by mistake when I pushed. Revert until it's ready. Modified: head/share/mk/src.opts.mk Modified:

svn commit: r359165 - in head/sys/compat/linuxkpi/common: include/linux src

2020-03-20 Thread Warner Losh
Author: imp Date: Fri Mar 20 15:07:25 2020 New Revision: 359165 URL: https://svnweb.freebsd.org/changeset/base/359165 Log: Implement a workaround for kms-drm modules pci_iov_if.h was added to pci.h, but none of the kms-drm branches have that. Rather than play whack a mole with the

svn commit: r359164 - head/share/mk

2020-03-20 Thread Warner Losh
Author: imp Date: Fri Mar 20 15:07:21 2020 New Revision: 359164 URL: https://svnweb.freebsd.org/changeset/base/359164 Log: Eliminate misuse of $MACHINE for userland things. Use TARGET_ARCH and/or MACHINE_ARCH exclusively. Change all __TT uses to __T with appropriate translations.

svn commit: r359163 - in head: lib/clang lib/clang/libllvm share/mk

2020-03-20 Thread Warner Losh
Author: imp Date: Fri Mar 20 15:07:15 2020 New Revision: 359163 URL: https://svnweb.freebsd.org/changeset/base/359163 Log: Remove sparc support from clang build infrastructure. Any remaining sparc files will be mopped up in future imports. Differential Revision:

svn commit: r359008 - head/sys/modules/cam

2020-03-15 Thread Warner Losh
Author: imp Date: Sun Mar 15 17:40:14 2020 New Revision: 359008 URL: https://svnweb.freebsd.org/changeset/base/359008 Log: We don't need $M/$M in the path anymore. Now that machdep files are gone, we don't need $S/$M/$M in the path to find them. Modified: head/sys/modules/cam/Makefile

svn commit: r358994 - head/sys/modules/cam

2020-03-14 Thread Warner Losh
Author: imp Date: Sat Mar 14 18:35:44 2020 New Revision: 358994 URL: https://svnweb.freebsd.org/changeset/base/358994 Log: Sparc64 and pc98 needed cam_machdep and/or ata_machdep for various reasons. Those have now left the tree, and with them the need to have machdep files. Places that

svn commit: r358987 - head/sys/cam

2020-03-13 Thread Warner Losh
Author: imp Date: Sat Mar 14 02:36:45 2020 New Revision: 358987 URL: https://svnweb.freebsd.org/changeset/base/358987 Log: Add comment about how the deferred callback for AC_FOUND_DEVICE we generate for a race where a device goes away, we start to tear down the periph state for the device,

svn commit: r358966 - head/sys/cam

2020-03-13 Thread Warner Losh
Author: imp Date: Fri Mar 13 18:45:36 2020 New Revision: 358966 URL: https://svnweb.freebsd.org/changeset/base/358966 Log: Give some indication of the CCB that's in flight when we panic. Print the pointer to ccb so we can find it (for what good it does) as well as the type of operation

Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Warner Losh
On Thu, Mar 12, 2020, 6:35 PM Kyle Evans wrote: > On Thu, Mar 12, 2020 at 6:05 PM Ryan Moeller wrote: > > > > Author: freqlabs > > Date: Thu Mar 12 23:04:40 2020 > > New Revision: 358923 > > URL: https://svnweb.freebsd.org/changeset/base/358923 > > > > Log: > > libpmcstat: Try /boot/modules

svn commit: r358890 - in head/sys/cam: . scsi

2020-03-11 Thread Warner Losh
Author: imp Date: Wed Mar 11 15:12:31 2020 New Revision: 358890 URL: https://svnweb.freebsd.org/changeset/base/358890 Log: Remove redundantly repetitive static __inline forward function declarations. We typically don't use them elsewhere in the kernel, and they aren't needed here: the

svn commit: r358864 - head/sys/cam

2020-03-10 Thread Warner Losh
Author: imp Date: Tue Mar 10 23:59:58 2020 New Revision: 358864 URL: https://svnweb.freebsd.org/changeset/base/358864 Log: Eliminate xpt_copy_path. It's used in exactly one place. In that place it's used so we can hold the lock on the device associated with the path (since we do a

svn commit: r358865 - head/sys/cam

2020-03-10 Thread Warner Losh
Author: imp Date: Wed Mar 11 00:00:03 2020 New Revision: 358865 URL: https://svnweb.freebsd.org/changeset/base/358865 Log: Eliminate camq_alloc() and camq_free() These are no longer needed now that it's embedded in cam_ccbq. They are also unused. Reviewed by: ken, chuck

svn commit: r358863 - in head: lib/libcam sys/cam sys/cam/ctl

2020-03-10 Thread Warner Losh
Author: imp Date: Tue Mar 10 23:58:41 2020 New Revision: 358863 URL: https://svnweb.freebsd.org/changeset/base/358863 Log: Remove unused cam ccb flags These flags have been unused for some time. Some of them were in the CAM2 specification, but CAM has moved on a bit from that. Some were

svn commit: r358727 - head/sys/cam

2020-03-06 Thread Warner Losh
Author: imp Date: Sat Mar 7 00:29:12 2020 New Revision: 358727 URL: https://svnweb.freebsd.org/changeset/base/358727 Log: Reword a comment to describe what's actually going on. We can call invalidate several times potentially. We just don't do anything on the second and subsequent calls.

Re: svn commit: r346018 - head/sys/conf

2020-03-04 Thread Warner Losh
On Wed, Mar 4, 2020 at 10:27 PM Alan Somers wrote: > On Sun, Apr 7, 2019 at 12:40 PM Warner Losh wrote: > >> Author: imp >> Date: Sun Apr 7 18:39:55 2019 >> New Revision: 346018 >> URL: https://svnweb.freebsd.org/changeset/base/346018 >> >> Log: >

svn commit: r358663 - head/sys/cam

2020-03-04 Thread Warner Losh
Author: imp Date: Thu Mar 5 06:21:00 2020 New Revision: 358663 URL: https://svnweb.freebsd.org/changeset/base/358663 Log: All paths lead to xpt_done, so move it after the switch. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c

svn commit: r358662 - head/sys/cam

2020-03-04 Thread Warner Losh
Author: imp Date: Thu Mar 5 06:20:17 2020 New Revision: 358662 URL: https://svnweb.freebsd.org/changeset/base/358662 Log: xpt_async is submitting a CCB, not finishing it up, so use xpt_action() instead of xpt_done(). Add the missing XPT_ASYNC case to xpt_action_default. xpt_async wants to

Re: svn commit: r358486 - head/sys/dev/bce

2020-03-03 Thread Warner Losh
On Mon, Mar 2, 2020 at 3:06 PM John Baldwin wrote: > On 3/1/20 9:27 AM, Warner Losh wrote: > > Author: imp > > Date: Sun Mar 1 17:27:30 2020 > > New Revision: 358486 > > URL: https://svnweb.freebsd.org/changeset/base/358486 > > > > Log: > > R

svn commit: r358590 - head/sys/cam

2020-03-03 Thread Warner Losh
Author: imp Date: Tue Mar 3 17:40:29 2020 New Revision: 358590 URL: https://svnweb.freebsd.org/changeset/base/358590 Log: Get rid of silly /* FALLTHROUGH */ lines Consistently omit /* FALLTHROUGH */ when we have a case statement that does nothing. Since compilers don't warn about

Re: svn commit: r358561 - in head: . share/man/man5 share/man/man7 tools/build/options tools/tools/nanobsd/dhcpd tools/tools/nanobsd/embedded usr.bin usr.bin/calendar usr.bin/calendar/calendars usr.bi

2020-03-02 Thread Warner Losh
Can you point me at the discussion where this was decided? Warner On Mon, Mar 2, 2020 at 4:38 PM Conrad Meyer wrote: > Author: cem > Date: Mon Mar 2 23:37:47 2020 > New Revision: 358561 > URL: https://svnweb.freebsd.org/changeset/base/358561 > > Log: > Fix typo in r278616 > > FreeBSD

svn commit: r358510 - head/sys/conf

2020-03-01 Thread Warner Losh
Author: imp Date: Mon Mar 2 00:23:31 2020 New Revision: 358510 URL: https://svnweb.freebsd.org/changeset/base/358510 Log: Remove BROOKTREE_ALLOC_PAGES now that bktr is now gone. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES

svn commit: r358509 - head/sys/rpc

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 23:01:51 2020 New Revision: 358509 URL: https://svnweb.freebsd.org/changeset/base/358509 Log: Remove obsolete old-freebsd version compat shim. Modified: head/sys/rpc/rpc_generic.c Modified: head/sys/rpc/rpc_generic.c

svn commit: r358508 - head/sys/cam/ctl

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 23:01:47 2020 New Revision: 358508 URL: https://svnweb.freebsd.org/changeset/base/358508 Log: Remove pre-FreeBSD 11 compat code. Modified: head/sys/cam/ctl/ctl_ha.c Modified: head/sys/cam/ctl/ctl_ha.c

svn commit: r358507 - head/sys/nlm

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 23:01:37 2020 New Revision: 358507 URL: https://svnweb.freebsd.org/changeset/base/358507 Log: Remove stale FreeBSD_version checks. Modified: head/sys/nlm/nlm_prot_impl.c Modified: head/sys/nlm/nlm_prot_impl.c

svn commit: r358500 - in head: . etc/mtree include sys/conf sys/i386/include sys/powerpc/conf

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 20:37:42 2020 New Revision: 358500 URL: https://svnweb.freebsd.org/changeset/base/358500 Log: Finish removal of bktr Remove the old ioctl .h files Remove copying/linking ioctl .h files in instasllworld Remove bktr from lint Add now-removed files with

Re: svn commit: r358497 - in head: . share/man/man4 sys/conf sys/dev/bktr sys/modules sys/modules/bktr sys/modules/bktr/bktr sys/modules/bktr/bktr_mem sys/sys

2020-03-01 Thread Warner Losh
This broke installworld... Testing a fix now... Today is not my day :( Warner On Sun, Mar 1, 2020 at 12:15 PM Warner Losh wrote: > Author: imp > Date: Sun Mar 1 19:15:03 2020 > New Revision: 358497 > URL: https://svnweb.freebsd.org/changeset/base/358497 > > Log:

svn commit: r358497 - in head: . share/man/man4 sys/conf sys/dev/bktr sys/modules sys/modules/bktr sys/modules/bktr/bktr sys/modules/bktr/bktr_mem sys/sys

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 19:15:03 2020 New Revision: 358497 URL: https://svnweb.freebsd.org/changeset/base/358497 Log: Remove bktr(4) Remove the brooktree driver as discussed on arch@. Bump FreeBSD version to 1300082, though I doubt anything will care. Relnote: yes Deleted:

svn commit: r358494 - head/sys/dev/virtio

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 18:18:07 2020 New Revision: 358494 URL: https://svnweb.freebsd.org/changeset/base/358494 Log: Remove FreeBSD 8 support from virtio. The sbuf API has evolved since 8, as have many others. The other API sweeps didn't make the changes conditional, so this is now

svn commit: r358493 - head/sys/dev/iscsi_initiator

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 18:18:01 2020 New Revision: 358493 URL: https://svnweb.freebsd.org/changeset/base/358493 Log: Remove support for FreeBSD 4-7 from the iscsi initiator. Also, inline/remove now empty or trivial macros. CAM has evolved enough this code couldn't work there

svn commit: r358495 - head/sys/dev/xen/netback

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 18:18:11 2020 New Revision: 358495 URL: https://svnweb.freebsd.org/changeset/base/358495 Log: Remove noise that once upon a time allowed netback to build on FreeBSD 6. The network layer has evolved since then, and this won't compile there. Modified:

svn commit: r358491 - head/sys/dev/bxe

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 18:17:51 2020 New Revision: 358491 URL: https://svnweb.freebsd.org/changeset/base/358491 Log: Finish removing support from old versions Eliminate code for old versions, inline pci_find_cap instead of relying on compat ifdef. This commit should have been

svn commit: r358492 - head/sys/dev/cxgb

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 18:17:56 2020 New Revision: 358492 URL: https://svnweb.freebsd.org/changeset/base/358492 Log: Remove conditional code for FreeBSD 8 and earlier frmo cxgb. Modified: head/sys/dev/cxgb/cxgb_osdep.h head/sys/dev/cxgb/cxgb_sge.c Modified:

svn commit: r358488 - head/sys/dev/bxe

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 17:46:28 2020 New Revision: 358488 URL: https://svnweb.freebsd.org/changeset/base/358488 Log: Remove FreeBSD 7-10 support from bxe driver. Use new PCIER and PCIEM names in the driver rather than relying on old, compat shims. Modified:

svn commit: r358487 - head/sys/dev/isci

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 17:27:35 2020 New Revision: 358487 URL: https://svnweb.freebsd.org/changeset/base/358487 Log: Remove support for FreeBSD 8 systems. These workarounds and ways of rescanning devices are no longer done. Modified: head/sys/dev/isci/isci.h

svn commit: r358485 - head/sys/dev/ale

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 17:27:25 2020 New Revision: 358485 URL: https://svnweb.freebsd.org/changeset/base/358485 Log: Remove compatibility code for changing sysctl definitions for pre FreeBSD 9 versions. These are just noise these days. Modified: head/sys/dev/ale/if_ale.c Modified:

svn commit: r358486 - head/sys/dev/bce

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 17:27:30 2020 New Revision: 358486 URL: https://svnweb.freebsd.org/changeset/base/358486 Log: Remove all the compatibility hacks for systems that predate FreeBSD 8. Some of these look to be cut and pasted from other drivers since this driver was committed to

svn commit: r358484 - head/sys/dev/al_eth

2020-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 16:45:54 2020 New Revision: 358484 URL: https://svnweb.freebsd.org/changeset/base/358484 Log: Remove FreeBSD 7 conditional code... We've had a lot of other changes since then and al_eth appears only in the Annapurna ARM designs which arrived in the tree after

svn commit: r358477 - head/sys/dev/arcmsr

2020-02-29 Thread Warner Losh
Author: imp Date: Sat Feb 29 22:16:27 2020 New Revision: 358477 URL: https://svnweb.freebsd.org/changeset/base/358477 Log: Remove support for varios versions from FreeBSD 4 to 8. There's no way arcmsr will still work on those versions. Cleanup really old code that's no longer needed.

svn commit: r358474 - in head: share/man/man4 sys/dev/bktr

2020-02-29 Thread Warner Losh
Author: imp Date: Sat Feb 29 21:50:08 2020 New Revision: 358474 URL: https://svnweb.freebsd.org/changeset/base/358474 Log: add deprecation notice for bktr driver. We plan to remove bktr(4) in FreeBSD 13. Document that here. Relnotes: yes Modified: head/share/man/man4/bktr.4

Re: svn commit: r358392 - head/share/man/man9

2020-02-27 Thread Warner Losh
On Thu, Feb 27, 2020, 9:55 AM John Baldwin wrote: > On 2/27/20 7:30 AM, Warner Losh wrote: > > Author: imp > > Date: Thu Feb 27 15:30:13 2020 > > New Revision: 358392 > > URL: https://svnweb.freebsd.org/changeset/base/358392 > > > > Log: > >

Re: svn commit: r358392 - head/share/man/man9

2020-02-27 Thread Warner Losh
> >> On 2/27/20 2:45 PM, Mark Millard wrote: > >>> John Baldwin jhb at FreeBSD.org wrote on > >>> Thu Feb 27 16:55:01 UTC 2020: > >>> > >>>> On 2/27/20 7:30 AM, Warner Losh wrote: > >>>>> Author: imp > >>&

Re: svn commit: r358417 - head/sys/cam

2020-02-27 Thread Warner Losh
On Thu, Feb 27, 2020, 6:27 PM Benjamin Kaduk wrote: > On Thu, Feb 27, 2020 at 5:18 PM Warner Losh wrote: > >> Author: imp >> Date: Fri Feb 28 01:18:11 2020 >> New Revision: 358417 >> URL: https://svnweb.freebsd.org/changeset/base/358417 >> >> Log: &g

svn commit: r358417 - head/sys/cam

2020-02-27 Thread Warner Losh
Author: imp Date: Fri Feb 28 01:18:11 2020 New Revision: 358417 URL: https://svnweb.freebsd.org/changeset/base/358417 Log: This is a FALLTHROUGH for sure. no need for xxx comment. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c

svn commit: r358416 - head/sys/sys

2020-02-27 Thread Warner Losh
Author: imp Date: Fri Feb 28 01:02:01 2020 New Revision: 358416 URL: https://svnweb.freebsd.org/changeset/base/358416 Log: Remove duplicated ATA_CHECK_POWER_MODE Modified: head/sys/sys/ata.h Modified: head/sys/sys/ata.h

svn commit: r358393 - in head/sys: conf riscv/include

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:34:30 2020 New Revision: 358393 URL: https://svnweb.freebsd.org/changeset/base/358393 Log: Better check for floating point type. Use __riscv_flen instead of __riscv_float_abi_soft. While the latter works for userland (and one could argue it's more

svn commit: r358392 - head/share/man/man9

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:30:13 2020 New Revision: 358392 URL: https://svnweb.freebsd.org/changeset/base/358392 Log: _Static_assert is to be preferred to CTASSERT. Document the existing prefernce that _Static_assert be used in preference to the old CTASSERT we used to use for

svn commit: r358390 - head/sys/dev/oce

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:25:26 2020 New Revision: 358390 URL: https://svnweb.freebsd.org/changeset/base/358390 Log: Remove FreeBSD 7-9 support from oce Use newer pci_find_cap API now that the need to remap the old API is gone. Modified: head/sys/dev/oce/oce_hw.c

svn commit: r358391 - head/sys/dev/rndtest

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:25:31 2020 New Revision: 358391 URL: https://svnweb.freebsd.org/changeset/base/358391 Log: Remove FreeBSD 4 support Modified: head/sys/dev/rndtest/rndtest.c Modified: head/sys/dev/rndtest/rndtest.c

svn commit: r358389 - in head/sys/dev/sfxge: . common

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:25:21 2020 New Revision: 358389 URL: https://svnweb.freebsd.org/changeset/base/358389 Log: Remove support for FreeBSD 7 and 8 Also, unifdef -DSFXGE_HAVE_DESCRIBE_INTR since it's now always defined. Modified: head/sys/dev/sfxge/common/efsys.h

Re: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Warner Losh
On Wed, Feb 26, 2020, 9:36 PM Pedro Giffuni wrote: > > On 26/02/2020 18:09, Warner Losh wrote: > > > > On Wed, Feb 26, 2020 at 3:47 PM Warner Losh wrote: > >> >> >> On Wed, Feb 26, 2020 at 12:10 PM Bjoern A. Zeeb < >> bzeeb-li...@lists.zabb

svn commit: r358365 - in head: lib/libc/sparc64 lib/msun/sparc64 stand/ficl/sparc64 stand/libsa/sparc64 stand/sparc64

2020-02-26 Thread Warner Losh
Author: imp Date: Thu Feb 27 04:47:12 2020 New Revision: 358365 URL: https://svnweb.freebsd.org/changeset/base/358365 Log: Remove now empty sparc64 directories (oh, and stand/sparc64 files) Deleted: head/lib/libc/sparc64/ head/lib/msun/sparc64/ head/stand/ficl/sparc64/

svn commit: r358364 - in head: lib/csu/sparc64 lib/libthr/arch/sparc64 lib/libthread_db/arch/sparc64 tools/test/testfloat/sparc64

2020-02-26 Thread Warner Losh
Author: imp Date: Thu Feb 27 04:44:58 2020 New Revision: 358364 URL: https://svnweb.freebsd.org/changeset/base/358364 Log: Remove libthr, csu, libthread_db and testfloat sparc64 specific directories. Submitted by: kib@ (libthr) Deleted: head/lib/csu/sparc64/

svn commit: r358358 - head/libexec/rtld-elf/sparc64

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 23:17:16 2020 New Revision: 358358 URL: https://svnweb.freebsd.org/changeset/base/358358 Log: Remove sparc64 source files from rtld-elf These were missed in the prior sweep. Submitted by: jhb@ Deleted: head/libexec/rtld-elf/sparc64/

Re: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Warner Losh
On Wed, Feb 26, 2020 at 3:47 PM Warner Losh wrote: > > > On Wed, Feb 26, 2020 at 12:10 PM Bjoern A. Zeeb < > bzeeb-li...@lists.zabbadoz.net> wrote: > >> On 26 Feb 2020, at 18:55, Warner Losh wrote: >> >> > Author: imp >> > Date: Wed Feb 26 18:5

Re: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Warner Losh
On Wed, Feb 26, 2020 at 12:10 PM Bjoern A. Zeeb < bzeeb-li...@lists.zabbadoz.net> wrote: > On 26 Feb 2020, at 18:55, Warner Losh wrote: > > > Author: imp > > Date: Wed Feb 26 18:55:09 2020 > > New Revision: 358348 > > URL: https://svnweb.freebsd.org/changeset/b

svn commit: r358354 - head/sys/dev/aic7xxx

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 19:39:59 2020 New Revision: 358354 URL: https://svnweb.freebsd.org/changeset/base/358354 Log: Remove support for FreeBSD 4-7. It's doubtful this driver would still work unchanged there. Compile tested only because I no longer have ahc/ahd devices. Modified:

svn commit: r358353 - head/sys/dev/agp

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 19:39:52 2020 New Revision: 358353 URL: https://svnweb.freebsd.org/changeset/base/358353 Log: Remove support for FreeBSD 4.x and earlier from agp driver Compile tested only, but do we still need this driver? Modified: head/sys/dev/agp/agp_nvidia.c Modified:

svn commit: r358351 - in head/sys/dev: mpr mps

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 19:15:08 2020 New Revision: 358351 URL: https://svnweb.freebsd.org/changeset/base/358351 Log: Remove support for all pre FreeBSD 11.0 versions from mpr and mps. Remove a number of workarounds for older versions of FreeBSD. FreeBSD stable/10 was branched over

svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 18:55:09 2020 New Revision: 358348 URL: https://svnweb.freebsd.org/changeset/base/358348 Log: Remove sparc64 specific parts of libc. Also update comments for which architectures use 128 bit long doubles, as appropriate. The softfloat specialization

svn commit: r358347 - in head/lib/msun: ld128 sparc64

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 18:55:03 2020 New Revision: 358347 URL: https://svnweb.freebsd.org/changeset/base/358347 Log: Remove sparc64 specific parts of libm and fix comments Once upon a time, sparc64 was the only ld128 architecture. However, both aarch64 and riscv are now such

svn commit: r358346 - in head/libexec/rtld-elf: . rtld-libc

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 18:49:25 2020 New Revision: 358346 URL: https://svnweb.freebsd.org/changeset/base/358346 Log: Remove sparc64 specific parts of rtld-elf. Modified: head/libexec/rtld-elf/rtld-libc/Makefile.inc head/libexec/rtld-elf/rtld.c head/libexec/rtld-elf/rtld_tls.h

svn commit: r358345 - head/share/mk

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 18:49:20 2020 New Revision: 358345 URL: https://svnweb.freebsd.org/changeset/base/358345 Log: Remove sparc64 specific buid-system hacks Remove all the sparc64 hacks and tweaks to the build system. We don't need them anymore. Modified:

svn commit: r358341 - head/sys/kern

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 16:22:28 2020 New Revision: 358341 URL: https://svnweb.freebsd.org/changeset/base/358341 Log: Remove trailing white space. Modified: head/sys/kern/bus_if.m Modified: head/sys/kern/bus_if.m

svn commit: r358308 - in head/sys/dev: mpr mps

2020-02-24 Thread Warner Losh
Author: imp Date: Tue Feb 25 04:27:23 2020 New Revision: 358308 URL: https://svnweb.freebsd.org/changeset/base/358308 Log: Before issing the REMOVE_DEVICE command to the firmware, make sure that all commands have completed. It's not OK to force complete any pending commands before we

Re: svn commit: r358247 - in head/sys: conf riscv/include

2020-02-24 Thread Warner Losh
On Mon, Feb 24, 2020 at 11:08 AM John Baldwin wrote: > On 2/22/20 5:23 AM, Kristof Provost wrote: > > Author: kp > > Date: Sat Feb 22 13:23:27 2020 > > New Revision: 358247 > > URL: https://svnweb.freebsd.org/changeset/base/358247 > > > > Log: > > riscv: Set MACHINE_ARCH correctly > > > >

svn commit: r358293 - in head/sys: conf riscv/conf

2020-02-24 Thread Warner Losh
Author: imp Date: Mon Feb 24 16:42:44 2020 New Revision: 358293 URL: https://svnweb.freebsd.org/changeset/base/358293 Log: Add a soft-float riscv kernel config GENERICSF is just like GENERIC, only creates a soft-float kernel. Omit it from the universe build for now. Reviewed by:

svn commit: r358292 - head/sys/riscv/riscv

2020-02-24 Thread Warner Losh
Author: imp Date: Mon Feb 24 16:41:29 2020 New Revision: 358292 URL: https://svnweb.freebsd.org/changeset/base/358292 Log: Only compile clear_fpu state code when we're building with options FPE. Soft float kernels build without floating point, and will fail to build if we try to include

svn commit: r358291 - head/usr.sbin/config

2020-02-24 Thread Warner Losh
Author: imp Date: Mon Feb 24 16:41:16 2020 New Revision: 358291 URL: https://svnweb.freebsd.org/changeset/base/358291 Log: Create ../compile Give up the battle to keep extra files in $MACHINE/compile to keep the file in the tree. Instead, create CDIR (usually ../compile) if it doesn't

svn commit: r358266 - head/usr.sbin/config

2020-02-23 Thread Warner Losh
Author: imp Date: Sun Feb 23 23:39:55 2020 New Revision: 358266 URL: https://svnweb.freebsd.org/changeset/base/358266 Log: Bump CONFIGVERS to 600017. This change reflects the ability to change machine_arch in a config file. This is useful for including one config in another and changing

svn commit: r358265 - head/usr.sbin/config

2020-02-23 Thread Warner Losh
Author: imp Date: Sun Feb 23 23:36:56 2020 New Revision: 358265 URL: https://svnweb.freebsd.org/changeset/base/358265 Log: Relax machine directives a little. Currently, you can have multiple machine directives if they are otherwise identical. Relax this so that only the machinename part

Re: svn commit: r358262 - head/sys/conf

2020-02-23 Thread Warner Losh
On Sun, Feb 23, 2020, 12:37 PM Ian Lepore wrote: > On Sun, 2020-02-23 at 19:04 +0000, Warner Losh wrote: > > Author: imp > > Date: Sun Feb 23 19:04:15 2020 > > New Revision: 358262 > > URL: https://svnweb.freebsd.org/changeset/base/358262 > > > &

svn commit: r358262 - head/sys/conf

2020-02-23 Thread Warner Losh
Author: imp Date: Sun Feb 23 19:04:15 2020 New Revision: 358262 URL: https://svnweb.freebsd.org/changeset/base/358262 Log: Use MACHINE_ARCH instead of TARGET_ARCH TARGET_ARCH is only for use in Makefile.inc1 contexts. MACHINE_ARCH is the preferred thing to set. Makefile.inc1 sets

Re: svn commit: r358247 - in head/sys: conf riscv/include

2020-02-22 Thread Warner Losh
On Sat, Feb 22, 2020 at 7:51 AM Warner Losh wrote: > > > On Sat, Feb 22, 2020, 6:23 AM Kristof Provost wrote: > >> Author: kp >> Date: Sat Feb 22 13:23:27 2020 >> New Revision: 358247 >> URL: https://svnweb.freebsd.org/changeset/base/358247 >> >

Re: svn commit: r358247 - in head/sys: conf riscv/include

2020-02-22 Thread Warner Losh
On Sat, Feb 22, 2020, 6:23 AM Kristof Provost wrote: > Author: kp > Date: Sat Feb 22 13:23:27 2020 > New Revision: 358247 > URL: https://svnweb.freebsd.org/changeset/base/358247 > > Log: > riscv: Set MACHINE_ARCH correctly > > MACHINE_ARCH sets the hw.machine_arch sysctl in the kernel. In

svn commit: r358233 - head/sys/cam/scsi

2020-02-21 Thread Warner Losh
Author: imp Date: Fri Feb 21 22:44:22 2020 New Revision: 358233 URL: https://svnweb.freebsd.org/changeset/base/358233 Log: We pass a pointer to the flags to dabitsysctl, not an integer. Adjust the handler to accept a poitner to a u_int. To make the type of the softc flags stable and

svn commit: r358143 - head/sys/vm

2020-02-19 Thread Warner Losh
Author: imp Date: Thu Feb 20 01:33:01 2020 New Revision: 358143 URL: https://svnweb.freebsd.org/changeset/base/358143 Log: Don't convert all lower-layer errors to EIO. Don't convert all lower layer errors to EIO. Instead, pass the actual error up the stack. This will allow the upper

<    1   2   3   4   5   6   7   8   9   10   >