245208 Commits

Author SHA1 Message Date
joerg
3d96c42069 Don't bail out on the const lose for the driver name for clang. Also
accepts differences in pointer signs.
2016-09-27 19:24:19 +00:00
joerg
f713f3f1c9 Allow clang to generate SPARCv8+ assembly for now. 2016-09-27 19:18:42 +00:00
joerg
87e9b90cbb Disable pointer sign warnings for clang. 2016-09-27 19:15:09 +00:00
mrg
715ec0646c set X11SRCDIR.xf86-video-modesetting correctly for xorg-server 1.18.4.
should fix build errors for x86.
2016-09-27 16:47:01 +00:00
mrg
cf3fd92536 apply the previous typo in another place as well. 2016-09-27 16:44:04 +00:00
maya
858387416c Clean up some commented out x86-specific things. 2016-09-27 13:01:18 +00:00
pgoyette
e31cf58e77 Add a missing ')' in the call to bswap64().
Should fix compile error of twa module for sparc and sparc64
2016-09-27 12:04:16 +00:00
wiz
c0666de355 Sort sections. Formatting nitpicks. Fix typo. 2016-09-27 11:13:57 +00:00
wiz
d6414e373d Remove duplicate Pp. 2016-09-27 11:11:43 +00:00
pgoyette
b6d0aa6f21 Remove some debug printf's that slipped through. Thanks, wiz! 2016-09-27 08:05:34 +00:00
pgoyette
c6bbbf5d26 Update sets lists for all the new modules (for l4(4) and its attachments) 2016-09-27 04:00:33 +00:00
pgoyette
fb351842ae Add module build infrastructure for ld and its attachments 2016-09-27 03:53:06 +00:00
pgoyette
916bdfa5d4 Modularize the ld driver and all of its attachments. Ensure that all
parents are capable of rescan (or otherwise provide a means of attaching
children post-initialization).
2016-09-27 03:33:32 +00:00
christos
c243d8dd7b need XFree86LOADER 2016-09-27 02:33:16 +00:00
kamil
956a8dedad Fix typo 2016-09-26 22:41:25 +00:00
mrg
981b4dd997 build the modesetting driver on x86.
build the modesetting driver for xorg-server 1.18.4.  it has moved
into the xorg-server tree itself, and changed significantly.
2016-09-26 22:37:31 +00:00
jakllsch
51c3cbc4f9 Add register definitions that will be necessary for future
tegraxusbpadctl(4) changes.
2016-09-26 20:08:58 +00:00
jakllsch
85627b239f Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller.  Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.
2016-09-26 20:05:03 +00:00
christos
0c1628ad4e restore rules after the database is open, add error message to prevent
silent failure in the future. (Kurt Lidl)
2016-09-26 19:43:43 +00:00
christos
3ee5c00a54 From Alexander Nasonov:
- Make constants static: Shrinks code and data size.
- Avoid overflow in limit calculation.
- Use uint8_t instead of u_char to match types
While here:
- Remove unnecessary casts
- s/u_int8_t/uint8_t/g
2016-09-26 14:50:54 +00:00
schmonz
7ec9a291e1 Missed in previous: exit 1 if html_cmp says no match. 2016-09-26 00:21:22 +00:00
jdolecek
9a0d9b14e1 adjust ffs_realloccg() so that the logic about allocating full
contiguous block for future fragment expansion doesn't need to
UFS_WAPBL_REGISTER_DEALLOCATION() or ffs_blkfree(); the free blocks
are now immediatelly available for use by the expanding file in further i/o

primary driver is safe removal of the deallocation registration and
hence failure point, but this also fixes degenerate case for wapbl,
and similar also for discard - if the file would be actually expanded
before wapbl commit, or before discard queue would be processed,
the filesystem would not yet see the contiguous free blocks, and
would be forced to allocate another fragment elsewhere
2016-09-25 17:14:59 +00:00
maxv
30855829b6 Fix outdated comment, and #ifdef. 2016-09-25 12:59:19 +00:00
maxv
5b5df871ce Revert my previous change. It is too severe: a fault might be happening in
the kernel page if the map is pageable - implying it is not pmap_kernel. I
thought it wouldn't be the case.
2016-09-25 12:53:24 +00:00
jdolecek
ae4b9ec77b fix typo in #ifdef notyet part 2016-09-25 11:45:39 +00:00
mrg
c47bfd7d3e add some examples: "pcictl pci0 list" and "pcictl pci0 list -N".
inspired by PR 51243.
2016-09-25 00:06:49 +00:00
mrg
d7cc9508b7 weak alias some pcmcia functions (to an returns error function) so this
links when pcmcia isn't in the kernel.  PR#7253.
2016-09-24 23:54:49 +00:00
mrg
22198b51d0 revert the previous; it seems to have been a mistake (adding nsd
entries) and had nothing to do with the message (libc bump.)
2016-09-24 23:15:26 +00:00
mrg
62ee7dc27b introduce a better pci_drvname() and PCI_IOC_DRVNAME as pciio_drvnameonbus()
and PCI_IOC_DRVNAMEONBUS.  the new ones also take a (autoconf) PCI bus
number, which allows lookups for any device on any pci bus node.  use this
in pcictl which current reports the wrong values sometimes.

up next: use these in libpciaccess.
2016-09-24 23:12:54 +00:00
mrg
5bf2dfccdd mark all the xorg-server 1.10 specific files as obsolete for xorg-server 1.18.
being to adapt not ready or not switched ports more to 1.18.
2016-09-24 21:57:38 +00:00
christos
aae80e6be7 remove mpool_getf 2016-09-24 21:31:25 +00:00
christos
2b55b3112e remove mpool_getf 2016-09-24 21:18:09 +00:00
dholland
bb0514ffb3 LDT handling fixes:
- add missing membar_store_store ("membar_producer") when setting a
    new ldt;
  - use UVM_KMF_WAITVA when allocating space for a new ldt instead of
    crashing if uvm_km_alloc fails;
  - if uvm_km_alloc fails in pmap_fork, bail instead of crashing;
  - clarify what else is going on in pmap_fork;
  - don't uvm_km_free while holding a mutex.
2016-09-24 21:13:44 +00:00
jdolecek
7b230d53d8 fix swapped KASSERT() 2016-09-24 21:00:54 +00:00
jdolecek
f082cd3f0b i/o optimization for wapbl flush - only sync superblock and cgs when
they were actually changed
2016-09-24 20:59:51 +00:00
christos
e3030ca1fc bump libc 2016-09-24 20:13:48 +00:00
christos
5703b437ba Add more of the torture tests from the mit kerberos tree. 2016-09-24 20:12:33 +00:00
christos
f3f19d16f2 bump for the flags version of db routines 2016-09-24 20:12:07 +00:00
christos
0ac50079c4 sync with mit/kerberos db 2016-09-24 20:11:43 +00:00
christos
86147b1c32 Merge the recursive tree traversal changes from the mit kerberos tree. This
Also make the tracefile customizable. Unfortunately we can't merge any of
the hash changes because they have a different on-disk format. That does not
matter really because we've fixed most of the problems...
2016-09-24 20:11:12 +00:00
christos
d42d73761d When writing out pages in the "other endian" format, make a copy instead of
trashing the in-memory one.
2016-09-24 20:08:29 +00:00
skrll
21e554b260 Truncate the transfer length if an overflow is seen rather than halting.
Don't consider an EP11_STAT_SETUP as an error as it's not valid for
host operation.

Should fix kern/51500: axe(4) at slhci(4) does not attach, but there are
more problems with axe(4)
2016-09-24 15:06:29 +00:00
skrll
8744f4b2f3 Use bit defines to create bit groups for SL11_EPSTAT 2016-09-24 14:55:16 +00:00
christos
f3439cf7fb say that you need to destroy it first. 2016-09-24 13:40:55 +00:00
christos
a49c1d21d7 move the description of CLOCK_REALTIME in the list. 2016-09-24 01:05:51 +00:00
joerg
d87b908a67 Given Xen/i386 the same process and file limit as native i386. 2016-09-23 22:07:12 +00:00
macallan
cb427fba27 switch sparc to new Xorg 2016-09-23 21:30:49 +00:00
maya
f093c4a000 Fix inverted logic in iwm(4).
The PROT_REQUIRE flag in should be set for data frames above a certain
length, but we were setting it for !data frames above a certain length,
which makes no sense at all.

- taken from all other BSDs (OpenBSD, FreeBSD, DragonflyBSD...)
2016-09-23 19:53:52 +00:00
christos
e1a93a1b84 PR/51497: Clare: Allow gpt -p <n> create to work. 2016-09-23 19:36:50 +00:00
macallan
768a2a4278 - finally fix tcx_clearscreen() and tcx_eraserows() to actually work, and
not just by accident
- sprinkle volatile in order to force gcc 5.4 to emit ldd/std for 64bit
  accesses - BLIT and STIP spaces require those
2016-09-23 17:45:25 +00:00