Commit Graph

268385 Commits

Author SHA1 Message Date
msaitoh b801416bbd Simplify "LIST_HEAD();" to make the code more understandable.
No functional change.
2019-06-25 12:30:50 +00:00
mrg 316057bc1a move a .WAIT such that it helps all the target code below,
not just radeon.  should fix build issues reported:

AArch64BaseInfo.h:297:12: fatal error:
AArch64GenSystemOperands.inc: No such file or directory
2019-06-25 10:30:29 +00:00
martin ab653b0117 Assert that the label data is valid before invoking disklabel(8) 2019-06-25 07:14:45 +00:00
jnemeth a1a4749f8b note new gpt(8) uuid subcommand 2019-06-25 05:04:35 +00:00
jnemeth 7d442200ff Add an "uuid" command to generate a new UUID for a portion. The
primary intention is for use for after cloning disks to prevent
collisions.
2019-06-25 04:53:40 +00:00
jnemeth acc2b630b1 adjust gpt_uuid_generate() to accept gpt==NULL 2019-06-25 04:25:11 +00:00
jnemeth 46e7349176 Add gpt_change_hdr() similar to gpt_change_ent() for changing
arbitrary header fields.
2019-06-25 03:42:45 +00:00
pgoyette 410c8e26a9 Belated bump to account for splitting the ufs stuff out of the ffs
module, and making ext2fs and ffs depend on ufs.

Welcome to 8.99.48
2019-06-25 03:41:05 +00:00
christos 92a7bfb176 the tracer, not the tracee determine if we are going to convert the ptrace
data from 64 to 32.
2019-06-24 20:29:41 +00:00
martin 5db96cbc84 If low on ram, mount the proper swap partition before doing the main
upgrade work.
2019-06-24 18:48:08 +00:00
pgoyette 9ca404d49f Now that the ufs module has been split out from ffs and ext2fs, we need
to update the boot-loader to push all modules required to support the
booted filesystem.  We treat the fsmod string as a slash-separated list
of module names (relative to kern.module.path), rather than as a single
module path name.

Note that ffsv1 and ffsv2 are still exempted from the boot-loader's
auto-push, but the list of required filesystems is still noted in the
source.

Also note that arch/sandpoint needs a similar change.  I have not made
this change because I am totally unable to test it.

Tested on my kernel with _no_ built-in file-systems and with the ffs
bootloader settings of fsmod enabled.
2019-06-24 13:58:24 +00:00
jakllsch 7c074fa084 Put back correct recieve ring allocation size which was lost just over
five years ago mae culpa.

Found by msaitoh@

Should fix PR kern/54320 once pulled up.
2019-06-24 13:57:30 +00:00
wiz 77df177c5b nouveau uses firmload, add dependency. 2019-06-24 13:36:07 +00:00
hannken f3f87b32db Sync with upstream r315983.
Move files originating from upstream below "dist/":

  OPENSOLARIS.LICENSE -> dist/OPENSOLARIS.LICENSE
  usr.sbin/zdb/zdb.8 -> dist/cmd/zdb/zdb.8
  sbin/zfs/zfs.8 -> dist/cmd/zfs/zfs.8
  sbin/zpool/zpool-features.7 -> dist/cmd/zpool/zpool-features.7
  sbin/zpool/zpool.8 -> dist/cmd/zpool/zpool.8
  include/libintl.h -> dist/head/libintl.h
  include/stdio_ext.h -> dist/head/stdio_ext.h
  include/thread.h -> dist/head/thread.h
  sys/kern/callb.c -> dist/uts/common/os/callb.c
  sys/kern/fm.c -> dist/uts/common/os/fm.c
  sys/sys/extdirent.h -> dist/uts/common/sys/extdirent.h
  sys/sys/isa_defs.h -> dist/uts/common/sys/isa_defs.h
  sys/sys/procset.h -> dist/uts/common/sys/procset.h
  sys/sys/sysmacros.h -> dist/uts/common/sys/sysmacros.h

Adapt "usr.sbin/fstyp/Makefile".
2019-06-24 08:27:19 +00:00
skrll b801bf2f56 Another spello of 'unknown' 2019-06-24 06:26:29 +00:00
skrll f89a668ad5 Fix 'unknown' spellos 2019-06-24 06:24:33 +00:00
mrg e1da3e4964 actually set ure_stopping, and don't follow it in init.
pointed out by sc.dying on source-changes-d.  thanks.
2019-06-24 04:42:06 +00:00
pgoyette 295acf4e9f Remove double-include for reboot.h 2019-06-24 02:48:51 +00:00
christos c9e3ec3ad5 Use OPT_NOMENU instead of -1 2019-06-23 22:48:15 +00:00
christos 7743b1bf0c use calloc properly. 2019-06-23 22:47:22 +00:00
christos 48d8b2ae49 don't cast malloc. 2019-06-23 22:46:53 +00:00
christos e2deb0a92c define as hex and make MC_VALID smaller so it fits in a short. 2019-06-23 22:46:41 +00:00
jmcneill 5966f2f487 Use ARM_PCI_INTR_* definitions from pci_machdep.h instead of own copies 2019-06-23 22:06:03 +00:00
alnsn a4de20e324 Fix a typo. 2019-06-23 17:17:18 +00:00
jmcneill aee85a11d0 Pass correct EventID to MOVI and INV commands 2019-06-23 16:19:51 +00:00
jmcneill f79afc7658 Enable MSI and MSI-X 2019-06-23 16:15:43 +00:00
jmcneill 880b8831c6 Remove unused variable (build fix) 2019-06-23 16:04:52 +00:00
sevan d2a9f75e1d ALSA DDI DKI EDSAC EDVAC ENIAC NDIS ODI UDI 2019-06-23 16:04:34 +00:00
jmcneill b9cba0fdb8 Ensure that the "size" parameter of MAPD matches the size of the ITT being
mapped and subtract the LPI base from EventID. Fixes multi-vector MSI/MSI-X
on RK3399.
2019-06-23 16:03:30 +00:00
martin 1c49228872 Ignore corrupt GPTs 2019-06-23 11:47:08 +00:00
martin d8297eb873 Menu 0 does not exist anymore (it is now OPT_NOMENU), so emit an empty
menu defintion for it.
2019-06-23 11:31:10 +00:00
martin 5908298eb7 Use OPT_NOMENU as error return for new_menu (instead of old hard coded -1).
Update man page for the OPT_NOMENU change.
2019-06-23 11:22:48 +00:00
tsutsui 70fdd0ac9b Add a missing newline in an error message. Noticed in PR/54205 2019-06-23 06:33:17 +00:00
tsutsui 1fc600cbe0 Fix "mvsata:0:0:1: buffer load failed: error=27" failure. PR/54205
Ok'ed by jdolecek@.
Should be pulled up to netbsd-8.
2019-06-23 06:29:22 +00:00
mrg aefaaa77aa make cdce(4) and ure(4) usb and mpsafe:
- introduce locking ala smsc(4)/axen(4) style
- convert to mpsafe interfaces
- add tick task to cdce(4) to deal with missing watchdog, and
  actually make the watchdog do something
- convert DELAY() to usbd_delay_ms() in cdce(4) and don't increase
  the time in a potentially unbounded way
- remove spl calls

tested with network cable and usb adapter pullouts, reboots and
many many GBs of data transferred in either direction under load.
2019-06-23 02:14:14 +00:00
isaki 8f999f47c1 Restore sysctl_teardown which was unintentionally dropped. 2019-06-23 01:46:56 +00:00
christos c8ad2fbe87 More fat trimming defines and we managed to feat in our tight jeans. 2019-06-22 23:42:44 +00:00
christos 4a69030bcd trim down error checking if we are small. 2019-06-22 23:40:53 +00:00
christos 9bedb72e28 make this compile again with -DNO_PROGRESS 2019-06-22 23:40:33 +00:00
christos d33bb7af26 Add an empty fmtcheck 2019-06-22 22:50:39 +00:00
sevan 59bac1f441 bsd-family-tree++ 2019-06-22 22:49:18 +00:00
sevan 9ffe271afd sync with FreeBSD r349295 2019-06-22 22:47:01 +00:00
christos ce713491ff no need to initialize fields that are already 0. 2019-06-22 20:46:07 +00:00
christos 4cd30f5b0c Conserve space: make ints to shorts and make OPT_NOMENU 0 instead of -1
so we don't require initializing it.
2019-06-22 20:44:54 +00:00
jmcneill 4ed488bfc3 Finish the job 2019-06-22 19:47:27 +00:00
jmcneill 0514b24577 Use bus_dmatag_subregion to get a 32-bit tag 2019-06-22 19:35:40 +00:00
jakllsch 088c49a92b Restore previous range of aa_dmat.
Should fix ahcisata_acpi on OverDrive 1000, which has no DRAM below 4GiB.
2019-06-22 17:57:10 +00:00
pgoyette ca4502da41 Set WARNS=3 - signed-vs-unsigned integer compare 2019-06-22 17:57:01 +00:00
pgoyette ec5b4915f3 Add the if_media_80 source file to the module. The module's initialization
code was already updated.
2019-06-22 17:37:45 +00:00
hannken 8d122c4997 Bring back two lines deleted by accident. From Kamil Rytarowski. 2019-06-22 14:40:33 +00:00