Commit Graph

188868 Commits

Author SHA1 Message Date
christos
20ebd2a462 PR/42952: The Grey Wolf: Fix for "true incremental". Don't overload level
9, use a new level "i" which is logically 10.
2010-03-11 01:32:59 +00:00
darran
7eee4c810f DTrace: fix a libctf toolchain build problem. 2010-03-10 23:41:56 +00:00
darran
33bc31b9e2 DTrace: fix a build problem for the SDT provider. 2010-03-10 23:40:53 +00:00
abs
6c6ab6a995 Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
2010-03-10 23:13:09 +00:00
wiz
7d503fdf8d Bump date for newly added reference books. 2010-03-10 21:33:15 +00:00
dyoung
4b936f667e This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

Simplify interrupt (dis)establishment by two source transformations:

-       cardbus_intr_disestablish(cc, cf, ih);
+       Cardbus_intr_disestablish(ct, ih);

-       ih = cardbus_intr_establish(cc, cf, ...);
+       ih = Cardbus_intr_establish(ct, ...);

Tested by me.
2010-03-10 21:00:36 +00:00
bouyer
0aa12b3498 Fix apm(4) suspend/resume:
- apm_suspend() and apm_standby() will call splhhigh() before entering
  standby or suspend. After resume, the system go back tsleep()ing
  in the apm thread without restoring the ipl (this is done in
  apm_resume()), and calling tlseep() at IPL_HIGH cause a DIAGNOSTIC
  panic (and other bad things, I guess).
  Fix by calling apm_resume() from within apm_suspend() or apm_standby(),
  after aa_set_powstate() has returned.
- In apm_event_handle(), we test (apm_standbys || apm_suspends) to set
  apm_damn_fool_bios to 1 and break the while() loop in apm_periodic_check().
  But we set apm_standbys or apm_suspends to non-0 only if apm_op_inprog
  is 0 and we failed to record the apm event. With apmd listening
  we usually succeed recording the event, so apm_standbys/apm_suspends remains
  0 and we never go out of the while() loop.
  Fix by apm_op_inprog instead of (apm_standbys || apm_suspends)
  to break the loop.
2010-03-10 20:30:00 +00:00
bouyer
d8c4fc9544 ahcisata_core.c 1.23 cause long drive probe (31s, reported by
Roy Marples), or other devices misbehavior probably due to interrupts issues
(reported by Jukka Ruohonen). Back it out and do the following changes:
- clear port interrupt register before ahci_channel_start() which enables
  interrupts
- wait 500ms after sata_reset_interface() before touching SERROR register.
  This is what seems to fix the issue I'm seeming on ESB2 controller.
- The 31s delay didn't cause the probe to fail because of a mismatch
  in loop index comparison; use a #define for delay after reset
  instead of numeric values, to avoid this kind of bugs in the
  future.
2010-03-10 19:23:57 +00:00
skrll
e52678ceba More comment improvement. 2010-03-10 18:53:40 +00:00
kiyohara
ca66853e78 Remove white-spaces. 2010-03-10 18:28:30 +00:00
kiyohara
5e9a0d7ca4 Remove unnecessary function declarations. 2010-03-10 18:18:47 +00:00
skrll
3a1cc5030b Comment improvements. 2010-03-10 18:17:42 +00:00
kiyohara
f71dd09b72 Remove white-spaces.
Indent.
2010-03-10 18:06:57 +00:00
kiyohara
5cf42f3927 Assorted spelling/capitalization fixes from Igor Sobrado in PR kern/22595.
Remove multiple njata.
Add uthum, udl, stuirda, uchcom, uberry, u3g, ugensa, uvideo.
2010-03-10 17:40:31 +00:00
kiyohara
e5ad71567c Assorted spelling/capitalization fixes from Igor Sobrado in PR kern/22595.
=============================================================================
2010-03-10 17:25:21 +00:00
msaitoh
ffa7a0568e 82576 is dual port, so check the FUNCID and increment the MAC address for
the 2nd port.
2010-03-10 15:04:04 +00:00
jruoho
0af6d21760 Add two good (KAME) IPv6 books.
Fix the name of Tatuya Jinmei in the RFC reference.
2010-03-10 14:06:42 +00:00
christos
0fa7bdbba6 PR/42943: Takashi Sogabe: pppd generates invalid netmask 2010-03-10 13:45:39 +00:00
jruoho
2aba95133a Move the ACPI_ACTIVATE_DEV block to one place. While there, provide missing
prototype for a function, try to make the code more simple, guard against a
potential NULL pointer dereference, and improve printing.

No functional change intended.
2010-03-10 09:42:46 +00:00
jruoho
f26ee18df3 Some pretty printing for ACPIVERBOSE. 2010-03-10 08:12:44 +00:00
mrg
599646785c XXX: workaround we'd like to remove when pmap / uvm locking is cleaned up:
- rename pseg_get() and pseg_set() to pseg_get_real() and pseg_set_real().
- if USE_LOCKSAFE_PSEG_GETSET is defined, which it current is by default,
  define pseg_[gs]et() in terms of functions that take a new pseg_lock
  mutex at IPL_VM while calling into the real functions.

this seems to avoid the pseg_set() crashes we've seen:
  1 - spare needed, when pseg_get() just worked for this pmap
  2 - the 2rd ldxa via ASI_PHYS_CACHED in pseg_set() loads garbage
      into %o4, and causes the 3rd ldxa to fault
2010-03-10 06:57:22 +00:00
macallan
a39bec69a6 - move register definition in their own header, reduce magic numbers
- get geometry and framebuffer layout from the chip instead of hardcoding
- get rid of some now superfluous leftovers
- remove some debug code
- clean things up a bit
- dump registers with WCFB_DEBUG even if we're not the console
2010-03-10 05:16:17 +00:00
macallan
032bd8f14e enable wcfb now that it's actually useful
This driver has been tested on Sun XVR-500 and XVR-1200 boards but it should
work on most ( all? ) Wildcat-based boards.
2010-03-10 03:11:49 +00:00
macallan
6a17dc44f2 forgot to include opt_wsdisplay_compat.h for WSDISPLAY_SCROLLSUPPORT 2010-03-10 02:41:02 +00:00
dyoung
dc1ff0bc8e This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

Simplify interrupt (dis)establishment by two source transformations:

-       cardbus_intr_disestablish(cc, cf, ih);
+       Cardbus_intr_disestablish(ct, ih);

-       ih = cardbus_intr_establish(cc, cf, ...);
+       ih = Cardbus_intr_establish(ct, ...);

Tested by Klaus Heinz.
2010-03-10 00:21:10 +00:00
macallan
5374e24fd8 now we also draw a cursor 2010-03-09 23:17:12 +00:00
jym
d0a75a07db Although Xen's documentation states that the address_bits field is not used
by XENMEM_decrease_reservation, it is checked by the hypervisor. In certain
circumstances (stack leak), the field could have an improper value, leading
to a fail of the hypercall.

Set it to 0 ("no addressing restriction") to avoid that.

Patch tested by Sam Fourman and haad@.

This should fix the rare "failed allocating DMA memory" encountered
under NetBSD dom0. Will ask for a pull-up.
2010-03-09 23:12:06 +00:00
macallan
af1ec92289 Use a shadow framebuffer instead of doing every operation twice ( once for
each framebuffer ) - this gives quite a dramatic speedup and hides the funky
effects previously seen.
Almost there, now we need to actually draw a cursor.
2010-03-09 22:45:50 +00:00
matt
3022f6d3b6 Add BookE modifications to cpu_info 2010-03-09 22:41:03 +00:00
matt
1f9cc4c264 Include BookE version of pmap.h 2010-03-09 22:40:06 +00:00
matt
8b3b8c4851 Add initial versions of these for BookE. 2010-03-09 22:39:32 +00:00
matt
7cd69c568c Add BookE variation of MSR. 2010-03-09 22:37:47 +00:00
matt
f46a80a66c Put ASM RCSIDs into .ident 2010-03-09 22:36:41 +00:00
matt
2bc030d433 Add PPC BookE files. 2010-03-09 22:35:50 +00:00
matt
d442abeaba Add PPC_BOOKE cputype and booke files. 2010-03-09 22:35:12 +00:00
jruoho
320e1e3fb8 Remove the namespace scopes.
These are neither used nor useful beyond the parser and interpreter.

ok jmcneill@, joerg@
2010-03-09 18:15:21 +00:00
joerg
2c0a7fd6bd Do not call pam_end with an invalid handle if pam_start failed.
From Richard Hansen.
2010-03-09 16:14:08 +00:00
wiz
8c68fa47ec Sort sections. Try to improve description of -t. 2010-03-09 10:54:01 +00:00
kiyohara
cecd9b8efc Remove white-spaces. 2010-03-09 02:01:51 +00:00
hubertf
66306fcc6c Add etherip(4), commented out 2010-03-08 22:51:52 +00:00
plunky
c683e41b5d use %zd for ssize_t argument 2010-03-08 21:48:42 +00:00
plunky
7937d424ef fix compilation errors 2010-03-08 21:19:29 +00:00
kiyohara
3e3acb56cf Add -t, -F, -P. 2010-03-08 18:35:51 +00:00
kiyohara
4670060018 Add option 'test mode'(-t).
Can test your Bluetooth module via com-port.
  This mode guess speed for bcsp(4) or btuart(4), if not respond.
2010-03-08 17:59:52 +00:00
kiyohara
45be6911c0 Add options 'no parity'(-P) and 'disable flow control'(-F).
Also default enable parity for bcsp.
2010-03-08 17:41:11 +00:00
skrll
9ea33502ce Set the frame pointer of newly created and function changing LWPs to 0
for the benefit of DDB.
2010-03-08 14:52:29 +00:00
pooka
50cfd7e754 add commented out nqmfs 2010-03-08 12:48:31 +00:00
pooka
c11c0f21f8 Not Quite MFS
Instead of copulating with newfs to produce a new FFS image into
memory, mmap() a given existing image and pass that as the backing
store.  If -s is given, mmap is done with MAP_SHARED and changes
are kept across mounts, else MAP_COPY (i.e. MAP_PRIVATE for us) is
done and changes are lost when the server exits.

Note: -s does not guarantee any kind of file system safety whatsoever
and in case of kill, crash, exit or other form of elusion,
everything will be, according to our theme, quite screwed.
2010-03-08 12:46:33 +00:00
pooka
b405c8d23e mfs is a bit off in the sense that mount(2) doesn't return since
mfs uses the mounting process for the backing store memory.  I
guess mfs could be fixed to just reference the process vmspace and
let it return, but that would probably cause wait() to return for
other worms.  So it's easier to dance according to mfs's tune: if
mounting mfs, create a thread for extra execution context.
2010-03-08 12:38:14 +00:00
jruoho
cc5a93f703 Add missing (FreeBSD) license. Ok jmcneill@. 2010-03-08 12:35:08 +00:00