Commit Graph

208908 Commits

Author SHA1 Message Date
matt bf4e528611 Deal with case when kmembase == kmemstart.
Use KASSERTMSG for a few KASSERTs
Make sure to match the color of the VA when we are allocating a physical page.
2012-01-31 00:30:52 +00:00
matt ccd880d5ab Switch to using ANSI prototypes. 2012-01-30 23:34:58 +00:00
matt 35949990c0 Use ANSI prototype for _bus_dmamem_alloc_range.
Caught when compiling with -Wold-style-definition
2012-01-30 23:34:15 +00:00
matt 4b50cb788d Use proper ANSI prototypes for foo() -> foo(void)
Caught when compiling with -Wold-style-definition
2012-01-30 23:31:27 +00:00
tls 286b7417a0 Add ipf_rb.h to setlist -- missed in earlier commits in ipf 5.1.1 import. 2012-01-30 22:51:51 +00:00
christos 109f5fba24 - remove dup included files
- use intptr_t instead of long where appropriate
- use perfused_ instead of perfuse_ for our own functions.
- more static
Fixes namespace collision of perfuse_mount with this and libperfuse.
2012-01-30 22:49:03 +00:00
rmind 48c7e820df acpi_md_ncpus: use kcpuset_attached instead. 2012-01-30 21:47:24 +00:00
rmind f14d8195ed pmc_init: check ncpu instead of cpus_attached. 2012-01-30 21:35:22 +00:00
darrenr ee0161be40 Patch to include ipf_rb.h missed from merge. 2012-01-30 21:10:30 +00:00
rmind 4444e11321 Fix for KMEM_GUARD; do not use it from interrupt context. 2012-01-30 21:05:40 +00:00
christos 762e4c5eaf fix printf formats 2012-01-30 20:51:50 +00:00
martin cfe24375a5 Initialize "match", it may be used uninitialized, and gcc complains
about it.
2012-01-30 20:40:39 +00:00
darrenr 60a7048ce5 Correct merge error from import. 2012-01-30 20:10:27 +00:00
darrenr 6e01b777b4 Merge error - stale code from HEAD not removed. 2012-01-30 20:08:31 +00:00
christos 80398b9c60 - don't copy past the end of sockaddr if we are rounding, zero it out instead,
from mlelstv@
- put a comment explaining the 6 nuls.
2012-01-30 20:02:55 +00:00
christos 92b963447b Count length from the beginning of the structure not the sa_data portion.
From skrll@
2012-01-30 20:01:08 +00:00
drochner d8e1a7b61a Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
2012-01-30 19:41:18 +00:00
darrenr 3646154e14 Lost on import 2012-01-30 19:38:45 +00:00
dholland 56581d9c24 Needs its own copy of quotaprop.[ch] too. 2012-01-30 19:31:31 +00:00
dholland 2d9ddf6e73 Make it build in userlevel and hook it in. 2012-01-30 19:28:11 +00:00
dholland 89dd9c69f6 Add a copy of the proplib interpreter here so this program will
continue to work after it's removed from the kernel. This copy is
unchanged from sys/kern/vfs_quotactl.c except that I've preserved a
cop of the old rcsid.
2012-01-30 19:23:49 +00:00
dholland bdf1946e25 Remove this material, which is no longer used. 2012-01-30 19:21:37 +00:00
drochner 75699fcff7 document pci_aprint_devinfo(9) (not the _fancy variant yet because
it is still experimental)
2012-01-30 19:20:13 +00:00
dholland 36e1f47401 This will need its own compat copy of some of the strings from
quotaprop.h even after the latter goes away.
2012-01-30 19:19:55 +00:00
dholland 3e2a4d1109 Remove dependence on quotaprop.h, also quotautil.c (no longer used).
Like repquota, compile in the number of object types for now because
making it support an arbitrary number would take some hacking.
2012-01-30 19:19:20 +00:00
dholland 6a92ecbca0 Rely on libquota for fallback to direct access of old-style quota files.
Keep the code around in #if 0 blocks for now, just in case some of the
logic might turn out to be wanted in libquota.
2012-01-30 19:18:36 +00:00
dholland 9aec0f661d Remove references to -D option. 2012-01-30 19:17:29 +00:00
dholland eba182257f Don't use the old getvfsquota() here. 2012-01-30 19:16:36 +00:00
dholland 3190ca5bed Fix broken build by laundering const. hi joerg 2012-01-30 18:50:45 +00:00
cherry 054bec8aef Remove obsolete comment 2012-01-30 17:56:27 +00:00
darrenr 4e1b0345a9 Lost on import 2012-01-30 17:54:34 +00:00
jakllsch fba17f2eec Need i8259.h for previous. 2012-01-30 17:45:37 +00:00
mhitch e2f8886b1f Allow adapters with SAS/SATA or FC devices to use tagged queuing by the scsipi
layer.  Can improve write performance on SAS adapters under certain conditions
when the logical drive does not have write caching enabled.  Also need to
reserver a couple of slots for commands for the driver to use - stops the
adapter shortage messages.  Multiple commands can now cause QUEUE_FULL events,
so add that to the events handled, currently just ignoring it.  Changes
based on the thread http://mail-index.netbsd.org/tech-kern/2011/02/08/msg009946.html.
cvs: ----------------------------------------------------------------------
2012-01-30 17:45:14 +00:00
para 4c6d5e038d do the bookkeeping right 2012-01-30 17:35:18 +00:00
para 4db6dbc15c removed code from uvmpdpol_needsscan_p that got there by mistake
pointed out by yamt@
2012-01-30 17:21:52 +00:00
he 27b500c23c Convert from malloc()/free() to kmem_* family of functions.
Discussed with and some guidance from para@.
2012-01-30 17:03:58 +00:00
joerg 1350fe098d Merge for mdocml 1.20.1pre import 2012-01-30 17:03:01 +00:00
dholland f674bc87d8 Set list updates for libquota minor bump.
(the 32-bit lib and debug lib lists really ought to be automatically
generated)
2012-01-30 16:54:46 +00:00
dholland e8133e8154 Bump libquota minor version (version is now 0.2) because I added some stuff. 2012-01-30 16:52:15 +00:00
dholland cae8b79fca Remove unused include. 2012-01-30 16:46:30 +00:00
dholland 5f0d2c5f55 Add quota_quotaon() and quota_quotaoff(). Use them in quotaon(8). 2012-01-30 16:45:13 +00:00
jakllsch 909f9aa64b Mask all i8259 interrupts in ioapic_enable().
Should fix PR kern/45160.
2012-01-30 16:44:23 +00:00
joerg cf816816a1 Merge mdocml state from 2012-01-30 for various relaxed checks in the
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:10 +00:00
dholland 129b8a27f6 Add quota_getrestrictions() to report the semantic restrictions
associated with a particular quotahandle.
2012-01-30 16:44:09 +00:00
joerg 0f0fda1c10 Merge mdocml state from 2012-01-30 for various relaxed checks in the
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:08 +00:00
dholland f6b247aa3b Add quota_getrestrictions() to report the semantic restrictions
associated with a particular quotahandle.
2012-01-30 16:44:08 +00:00
joerg 94561435e1 Merge mdocml state from 2012-01-30 for various relaxed checks in the
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:03 +00:00
njoly b702a1d739 Add permissions support to rump_vop_access(), to be used by
rump_vop_lookup().
2012-01-30 16:17:14 +00:00
darrenr 9598df00fd Update ftp-proxy for changes to ipnat_t 2012-01-30 16:14:27 +00:00
darrenr 68474ce176 New files required to build ipfilter into the kernel 2012-01-30 16:13:43 +00:00