237429 Commits

Author SHA1 Message Date
pooka
76622945bf + include opt_inet.h for INET (or lack thereof)
+ include net/in_ether.h, not netinet/in_ether.h
  (did not cause a meltdown only because opt_inet.h was missing)
2015-08-24 20:58:47 +00:00
rjs
eebfc9ef1e Add hardware checksumming support. 2015-08-24 18:51:37 +00:00
rjs
40b201d5b9 Fix logic for setting multicast addresses.
Setting CRC values for hashes is broken so all multicast addresses are
accepted for now.
2015-08-24 18:40:57 +00:00
rjs
1300cf4a12 Whitespace. 2015-08-24 18:26:51 +00:00
pooka
916d66f2ac Remove unnecessary DPSRCS+=
-imacros automatically results in a dependency.
2015-08-24 18:17:04 +00:00
rjs
f74ff4198b printf -> aprint. 2015-08-24 18:11:12 +00:00
christos
ef44aed886 Fix the build: provide compatibility with ports that define KERNLDSCRIPT to
a file?
2015-08-24 18:02:55 +00:00
bouyer
2266c911f6 Consistently use iswap64() and 64bit intermediate variable, as well as
64bit formats for c_tapea. Fixes tape useage report for large filesystems.
2015-08-24 17:37:10 +00:00
bouyer
262ce6cb8d Default the read block size (-k default value) to kern.maxphys (usually
64k these days). This gives a noticable performance boost on large filesystems.
2015-08-24 17:34:03 +00:00
pooka
b00f3c3b11 regen 2015-08-24 16:07:10 +00:00
pooka
e037806b6d <sys/mount.h> is necessary only with !RUMP_CLIENT, so include it only
in that case.  Fixes build for Hurd (which does not provide <sys/mount.h>)

from rmh@gnu.org
2015-08-24 16:05:46 +00:00
uebayasi
40e3059a86 If a kernel linker script is provided, preprocess it by cpp(1).
Thus some constants (PAGE_SIZE, COHERENCY_UNIT, ...) can be replaced in linker
scripts without setting unnecessary temporary symbols, or doing ugly sed(1)
hacks.  No headers are included yet.
2015-08-24 15:50:47 +00:00
uebayasi
f0a73a3138 Fix vers.o dependency:
o Depend on ${SYSTEM_OBJ} instead of ${SYSTEM_DEP}.  The latter is obviously
  meant for kernels.
o Depend on Makefile instead of ${SYSTEM_SWAP_DEP}, which has existed since
  Rev. 1.1, but seems not used now.  Makefile is a file that must be updated
  after every config(1) run.  This is simpler than dependency on swap<kernel>.c.
2015-08-24 15:44:01 +00:00
uebayasi
db0ac56ebf Define ${LINKSCRIPT} in one place. 2015-08-24 14:04:24 +00:00
martin
819c3cdb65 Add some missing obsolete markers 2015-08-24 09:49:08 +00:00
pooka
8dc07d6aab Use BUILDRUMP_IMACROS if specified. 2015-08-24 09:45:44 +00:00
ozaki-r
b635aa0309 Change 0 to NULL for rtrequest's last argument (struct rtentry **ret_nrt) 2015-08-24 09:45:29 +00:00
hannken
4207afb71b Use vfs_vnode_iterator for udf_do_sync.
- Build rb_tree to get an ordered list of nodes, sync them and
  clean the tree.

- Stop abusing mntvnode_lock to serialize udf_do_sync, use new
  mutex ump->sync_lock instead.
2015-08-24 08:31:56 +00:00
hannken
f731f08d1c Use vfs_vnode_iterator for udf_unmount_sanity_check. 2015-08-24 08:30:52 +00:00
hannken
09f7c2773a Remove dirtynodes_cv, it is only used for timed waits without any signals.
Replace the cv_timedwait with kpause.
2015-08-24 08:30:17 +00:00
uebayasi
ce93b3da57 Don't mention stab and DWARF sections, because these (poorly mtaintained)
lists only help to make them harder to read.

If those sections are found in inputs, they simply appear in outputs as
orphaned sections, sorted by section types and attributes.
2015-08-24 08:13:07 +00:00
christos
795680b973 handle blacklistd properly. 2015-08-24 07:21:14 +00:00
matt
efe08ed2b5 Fix mbuf dmasyncing for extended MMU kernels. 2015-08-24 04:51:18 +00:00
ozaki-r
8a0c9bd6b5 Add an assertion; if rtcache has an rtentry, its refcnt must be > 0 2015-08-24 04:44:54 +00:00
ozaki-r
1a07436188 Disable another tentative state check
It's too ephemeral to check robustly.
2015-08-24 02:02:25 +00:00
wiz
71a19e6319 Formatting and typo fixes. 2015-08-23 20:07:16 +00:00
rkujawa
bafa0e11e2 Add man page for mcp48x1dac driver. 2015-08-23 19:09:02 +00:00
jakllsch
45dc116cb7 Quadruple GPT partition entry count limit (to 512 entries or 64KiB).
The UEFI 2.3.1 specification states that:
"A minimum of 16,384 bytes of space must be reserved for the GPT Partition Entry Array."
and [the size of a partition entry shall be a power of two greater than 128]
and that [the defined fields of a partition entry total 128 bytes].

Clamping the entries means that no partitions on the drive will be detected,
as this will result in an incorrect partition entry array CRC. This change
reduces the likelyhood of useless partitions, while still not allowing a
huge kernel memory allocation to load the partition entries into.

In the future this code should probably be reworked to checksum and evaluate
the partition array in chunks while still limiting the number of GPT
wedges added per drive to something reasonable.
2015-08-23 18:40:15 +00:00
mrg
ef363e2dc9 if you change display types, the "Showing %s, refresh every %d seconds."
message is retained, and you can't get rid of it.  since it's dispalyed
in inverse, it feels like there's always an error happening (which is
really what the code has -- the above string is displayed via the error()
function.)  for several types of key press that largely are just "redraw"
operation (space, ^L, etc.), clear the error string as well.
2015-08-23 18:33:15 +00:00
mrg
081fe7889a move the obsolete list files into their respective sets. this means
that if you install a new set and run "postinstall fix obsolete"
the expected things happen.

(hi 12.5 year old me who thought base was better than etc set, which
it really was, but this is better again :-)
2015-08-23 18:28:40 +00:00
jakllsch
122ae025aa whitespace 2015-08-23 18:00:30 +00:00
jakllsch
b8bda54dc1 Support PCI_PRODUCT_INTEL_82Q45_KT_1 in addition to PCI_PRODUCT_INTEL_82Q45_KT. 2015-08-23 17:59:40 +00:00
jakllsch
a5e271f1dc pcidevs .h regen 2015-08-23 17:54:30 +00:00
jakllsch
5da998fceb Add another ID for Intel 82Q45 KT 2015-08-23 17:52:42 +00:00
christos
cf0ea7fe31 swap the formats too, not just the args. 2015-08-23 16:00:23 +00:00
skrll
072561d27f Move rd assignment. Spotted by christos@. Thanks. 2015-08-23 13:18:44 +00:00
skrll
0e3416b727 Do BUS_DMASYNC_POST{READ,WRITE} on transfer buffers appropriately 2015-08-23 11:15:08 +00:00
skrll
6a9f7d0e6b Expose usbd_xfer_isread 2015-08-23 11:12:01 +00:00
joerg
865795c450 Use .word for data that is known to be aligned. 2015-08-23 11:01:24 +00:00
joerg
9d0743abbf Remove .proc 1, it has been ignored by gas for ages. 2015-08-23 10:59:15 +00:00
joerg
131d1bf162 .align ensures alignment, so replace .uaword with .word. 2015-08-23 10:53:28 +00:00
skrll
495e5f4e4f regen 2015-08-23 10:49:09 +00:00
skrll
ed83d9d0f9 PR/50160: 5 duplicate entries in dev/usb/usbdevs 2015-08-23 10:46:20 +00:00
dholland
336a1ae812 Fix reversed arguments to a print. nice and confusing... 2015-08-23 09:29:46 +00:00
uebayasi
3b60f8ec0c Don't need to specify OUTPUT_FORMAT/OUTPUT_ARCH. 2015-08-23 08:57:24 +00:00
mlelstv
1f08a1e2a6 An adaptive mutex is sufficient, the data structures are accessed
by regular threads and by the biodone softint.

This allows diskstart routines to sleep (like cgd).
2015-08-23 07:47:52 +00:00
christos
7ec9eaaab4 another wait test. 2015-08-23 07:15:16 +00:00
dholland
ff561ccdee Sync lfs changes with the x68k version of this code. 2015-08-23 04:56:20 +00:00
uebayasi
7722a65218 TODOs about kernel options. 2015-08-23 01:30:21 +00:00
uebayasi
633a8f2e2e Unfortunately no sh3 kernels (no longer?) use linker scripts, but I dare to
clean up .ctors/.dtors here too.
2015-08-23 00:53:15 +00:00