Commit Graph

192600 Commits

Author SHA1 Message Date
hannken
c84e81cad1 Add vm page flag PG_MARKER and use it to tag dummy marker pages
in genfs_do_putpages() and uao_put().
Use 'v_uobj.uo_npages' to check for an empty memq.
Put some assertions where these marker pages may not appear.

Ok: YAMAMOTO Takashi <yamt@netbsd.org>
2010-07-29 10:54:50 +00:00
cegger
6e8417c157 add RDTSCP_AUX MSR 2010-07-29 08:16:49 +00:00
jruoho
a240caeadb Add "pnp0c14" to the list of HIDs. Required for LG X110. As valid EISA IDs
should be all upper case, leave this as a onetime quirk specific to acpiwmi(4).
2010-07-29 07:10:39 +00:00
msaitoh
08745d8602 The ETHERCAP_VLAN_HWTAGGING flag is not a member of if_cap but ec_cap,
so fix it.
2010-07-28 23:30:21 +00:00
pooka
fc729209b1 always add to SRCS 2010-07-28 22:35:52 +00:00
macallan
c0fdba0919 try to synchronize %tick registers across CPUs during startup
this should take care of a lot of clock-gone-backwards problems I've seen on
my Blade 2500
2010-07-28 21:34:57 +00:00
jruoho
b226f3d0e3 Add a simple test for pthread_join(3). 2010-07-28 21:29:15 +00:00
jruoho
c28dcae1e0 Get rid of SYSCTL_SETUP.
We want the sysctl variables also when mqueue(3) is loaded as a module.
2010-07-28 20:49:12 +00:00
pooka
8dd6d6832e setlist gods are not favorable to me today 2010-07-28 20:08:45 +00:00
pooka
862a7ebf2c install to right place. from pgoyette 2010-07-28 19:23:01 +00:00
pgoyette
e2679ccb18 Fix a typo (missing digit) in chip name table. 2010-07-28 18:43:10 +00:00
pgoyette
da35e56b54 Update list of supported chips and add additional chip addresses to the
config info in the synopsis.  Also remove the xref to sysctl, since the
threshold values are now accessible within envsys framework.
2010-07-28 18:28:15 +00:00
jruoho
c0c31ce929 Use acpi_eval_set_integer(), KNF. No functional change. 2010-07-28 18:10:31 +00:00
njoly
c45af2045a Do not check pcpu value against 100.0 but rather 99.95, to properly
deal with value rounding. From apb@.
2010-07-28 17:39:54 +00:00
jym
a511dc0633 Enable the NX bit feature early in i386 MP trampoline code (do not rely on
cpu_init_msrs() to do it). Having NX bit set on a page will raise a #GP
on fetch if NXE is not enabled, which can happen early when structures
(like idlelwp) are allocated with just rw- rights.

NX is enabled with PAE (if host supports it).

Exact same issue as for amd64, some weeks ago. Same player, shoot again...
2010-07-28 17:05:51 +00:00
jruoho
cc2aad5da2 Remove also the HIDs from previous. 2010-07-28 16:29:11 +00:00
jruoho
c1b6b639ac Remove the homegrown attempt to match the parent PCI bus. This was only used
for descriptive purposes, and for such purposes the ACPIVERBOSE output is
much better.
2010-07-28 16:26:56 +00:00
jruoho
0df7185e13 Remove leftovers from the aiboost(4) removal. 2010-07-28 16:02:33 +00:00
pooka
2a9e74cc14 +tp 2010-07-28 15:27:18 +00:00
pooka
6d749c2c28 Add test for service interruption while mountd handles SIGHUP.
This is an xfail test for the problem described in PR kern/5844

per highly surreptitious nudge from mrg
2010-07-28 15:24:54 +00:00
pooka
0f9324ee3d Move nfstestargs to header "because I need them". A more sweeping
action would be good here.
2010-07-28 15:16:50 +00:00
pooka
ce798b3d87 Defer definitely-nonreentrant signal handler to thread context.
This protects from rump kernel reentry and makes things not
crash && burn.
2010-07-28 15:15:22 +00:00
pooka
0d8d8d2b19 Make sure we are not executed in non-debug mode (which forks). 2010-07-28 15:12:17 +00:00
pooka
1411ba67f8 Don't ignore SIGHUP here since mountd uses it. The mountd signal
handler is installed later, so technically this is unnecessary,
but try to be complete.
2010-07-28 15:11:30 +00:00
pooka
5781e02fa3 Add FSTEST_CONSTRUCTOR/FSTEST_DESTRUCTOR which create/mount the
file system with default params.  Make ATF_FS_APPLY use the
constructor (can't use the destructor due to the (useless) cleanup).
2010-07-28 14:23:02 +00:00
joerg
cee90d4c4c Replace csu test case with a C++ based version. This makes the various
assembler routines obsolete. Be more exhaustive by testing dynamically
linked, statically linked and dynamically loaded.

XXX currently hard-codes /usr/tests due to limitations of bsd.test.mk
2010-07-28 13:51:38 +00:00
hannken
3a7edffde9 ext2fs,ffs: free on disk inodes in the reclaim routine.
Remove now unneeded vnode flag VI_FREEING.

Welcome to 5.99.38.

Ok: Andrew Doran <ad@netbsd.org>
2010-07-28 11:03:47 +00:00
hannken
4d87516177 Regen. LK_INTERLOCK is gone. 2010-07-28 09:32:13 +00:00
hannken
24fa034661 Remove now unneeded flag LK_INTERLOCK. 2010-07-28 09:31:00 +00:00
hannken
2ac44efee2 Modify vn_lock():
- Take v_interlock before examining v_iflag
- Must always be called without v_interlock taken,
  LK_INTERLOCK flag is no longer allowed.
2010-07-28 09:30:21 +00:00
msaitoh
5112be368f regen. 2010-07-28 00:00:11 +00:00
msaitoh
e595ecc12f Add Quatech, System Base, Pcre Systems and Syba Tech. 2010-07-27 23:56:29 +00:00
joerg
1f957839c3 Merge mdocml 1.10.5 2010-07-27 22:40:24 +00:00
joerg
7da9b93487 Import mdocml 1.10.5:
- Initial support for PDF output
- Improved support for various roff commands
2010-07-27 22:34:54 +00:00
jakllsch
95ea24f1a1 Use use 64-bit DMA tag (where available and supported) for ahcisata.
Avoid the possible ATI SB600 64-bit DMA problem.
2010-07-27 22:27:52 +00:00
jakllsch
5630ecd473 Support detachment of ahcisata(4).
Use use 64-bit DMA tag (where available) for ahcisata(4) at jmide(4).
Beginnings of detach/resume support for jmide(4).
Sprinkle static.  Misc. little changes.
2010-07-27 22:07:50 +00:00
jakllsch
184db2acdc Use 64-bit DMA tag (if available) on PCI-E re(4) NICs. 2010-07-27 21:48:41 +00:00
jakllsch
e6977ed4d1 No need to store map size locally now. 2010-07-27 21:05:04 +00:00
jakllsch
28b0c5a3fd Make the Realtek PCI network interfaces detachable.
Use __arraycount to avoid null table entries.
Miscellaneous other touch-ups in bus front-ends.
2010-07-27 21:02:00 +00:00
jakllsch
0117c2837f Tune ugen(4) isochronous parameters to better support high speed pipes.
Fixes PR#43159.

Justification:

UGEN_NISORFRMS, previously 4, is now 8 because that's the number of
microframes per frame on a high speed bus.  This allows data to be
transfered every microframe if necessary.

UGEN_NISOREQS, previously 6, is now 4.  This is harder to justify,
but I didn't think the total number of buffer frames needed to be
much more than it was.

UGEN_NISOFRAMES, previously 500, is now (UGEN_NISORFRMS * UGEN_NISOREQS)
(32 with values as above).  This is all the more we've actually used.
2010-07-27 20:20:46 +00:00
jakllsch
a72d5a5dfe Make debugging code compile on LP64. 2010-07-27 19:44:16 +00:00
jakllsch
792148e6de Use bus_addr_t for physical addresses.
For some reason the driver will put virtual addresses in these variables,
so I'd say this still not quite right.  Oh well, at least it compiles on LP64.
2010-07-27 19:40:16 +00:00
jakllsch
b034386738 Rework debug printf invocation to not fail on LP64 so easily. 2010-07-27 19:31:55 +00:00
jakllsch
1a808dfbe7 Print size_t with 'z' in debug code. 2010-07-27 18:50:32 +00:00
matt
f2d2b6453a Don't use/rely on a constraint. Move the constraint predicate
to the pattern's condition.
2010-07-27 16:30:38 +00:00
drochner
d8c815f3cd do a port reset between initial device descriptor fetch and
address assignment - not required by the spec but Windows does so,
fixes a problem with a Sun Keyboard reported by Jonathan Perkin,
verified by Jonathan Kollasch
2010-07-27 16:15:30 +00:00
pgoyette
9e9cac1c34 Use __arraycount(). No functional change. 2010-07-27 15:16:16 +00:00
jakllsch
5da0f05200 printf() size_t with 'z' format modifier in debug code. 2010-07-27 14:34:33 +00:00
jakllsch
359dcd7f55 Use 'z' printf format modifier to print size_t in debug code. 2010-07-27 14:25:23 +00:00
jakllsch
33a98ca057 Use %zu instead of %d for size_t.
Just in case anyone ever debugs se(4) on LP64.
2010-07-27 14:04:55 +00:00