Commit Graph

175890 Commits

Author SHA1 Message Date
jmcneill 8f9f0cd4d2 Document PMS_ELANTECH_TOUCHPAD option and hw.elantech.* sysctls, bump date. 2008-12-14 00:52:26 +00:00
jmcneill c2854ab43d add options PMS_ELANTECH_TOUCHPAD 2008-12-14 00:44:29 +00:00
jmcneill 3e8db25945 Add Elantech multi-touch driver. 2008-12-14 00:42:33 +00:00
christos 83d64e1dc1 sort keywords 2008-12-13 23:36:21 +00:00
christos 57e2347761 document the clear option, from Anon Ymous.. 2008-12-13 23:32:24 +00:00
christos f0468ba656 add a boot.cfg option to clear the screen; default off. From Anon Ymous 2008-12-13 23:30:54 +00:00
christos 4cc3f6a334 add clear=1 2008-12-13 23:30:03 +00:00
ad 70a01ab869 softint_disestablish: the soft interrupt could still be running on a CPU
somewhere in the system. If it is, wait for it to complete before tearing
it down. The caller commits to not trigger the interrupt again once
disestablish is set in motion.
2008-12-13 21:13:30 +00:00
mrg 5adba7ec2c - read AgentID out of the schizo CSR and use that, rather than the
passed in portid, to calculate the IGN.
- don't logical-or in the IGN always, possible twice
2008-12-13 21:00:09 +00:00
ad 7a3593355a Fix a comment. 2008-12-13 20:49:49 +00:00
mrg 983a8c07d8 look for "portid" as well as "upa-portid". 2008-12-13 20:48:10 +00:00
ad 24da1f6ca4 PR kern/36183 problem with ptrace and multithreaded processes
Fix the famous "gdb + threads = panic" problem.
Also, fix another revivesa merge botch.
2008-12-13 20:43:38 +00:00
sketch 8be734c633 Fix PGTBL sizes. 2008-12-13 20:12:13 +00:00
alc 796eb5e086 Atheros open-source HAL 2008-12-13 19:50:49 +00:00
christos 64193bedec more debugging in the dump path. 2008-12-13 19:38:20 +00:00
ad 2e606b7b1b sigchecktrace: process SIGKILL before everything else. 2008-12-13 18:55:01 +00:00
dholland ee1b2317fb fix typo in comment 2008-12-13 18:11:53 +00:00
tsutsui 3eda3c7d85 Revert part of previous that reverted part of rev 1.14
which didn't affect the bug. (use __func__ to print function names)
2008-12-13 17:32:53 +00:00
pooka 5ca3e3371e * fix pmap_extract() prototype
* sparc64 also defines __sparc__.  deal with it
2008-12-13 17:11:34 +00:00
pooka 1bc395ab02 Get rid of local machine/{mutex,rwlock}.h files by treating the
object storage as a single pointer (all archs have at least one
uintptr_t in the objects).

(forgot to commmit with others)
2008-12-13 15:37:13 +00:00
pooka 22c85f18af Get rid of local machine/{mutex,rwlock}.h files by treating the
object storage as a single pointer (all archs have at least one
uintptr_t in the objects).
2008-12-13 15:34:48 +00:00
dsl 8a143811b9 Use NULL instead of -1 cast to the relavant type (usually via NIL).
This was a suggestion from christos - so blame him if there is a deep
reason for using -1 :-)
2008-12-13 15:19:29 +00:00
dsl 40e0ab7a8f Do not let the variable name "" be set from the command line (-D "")
or from ::= modifiers (${::=foo}).
2008-12-13 14:26:10 +00:00
pooka 29f99fff05 _VMPARAM_H_ -> _$MACHINE_VMPARAM_H_ 2008-12-13 14:07:10 +00:00
pooka 5e4ac10274 wrap in #ifdef __x86_64__ 2008-12-13 13:36:04 +00:00
chris aa5f67e8e7 Add -lutil to allow linking to find the e-functions. 2008-12-13 12:21:50 +00:00
dsl e8915d2e05 Actually we need 'long int' to avoif a stupid 'truncating long to int'
warning.
2008-12-13 11:53:25 +00:00
dsl abd4a7f6d0 Change type of 'n' to 'int' so that it can be printed with %d.
The domain of the value is [-1..sizeof (int)] so a type of 'int' is fine.
2008-12-13 11:48:46 +00:00
ad b5413f0358 It's easier for kernel reserve pages to be consumed because the pagedaemon
serves as less of a barrier these days. Restrict provision of kernel reserve
pages to kmem and one of these cases:

- doing a NOWAIT allocation
- caller is a realtime thread
- caller is a kernel thread
- explicitly requested, for example by the pmap
2008-12-13 11:34:43 +00:00
ad 9d315c5bc9 PR 40027/pagedaemon loops on memory shortage
uvmpd_scan_queue:

- Fix a bug that prevented the pagedaemon from making forward progress
  if (a) swap was full (b) the first 16 pages on the inactive list were
  unbusy anons not already backed by swap.

- Remove redundant uvm_swapisfull() check and just try to allocate a slot.
  If it fails we know swap is full.
2008-12-13 11:26:57 +00:00
ad f9a4aaf41f PR kern/40027 pagedaemon loops on memory shortage
uvm_swapisfull: don't count some small portion as it may be inaccessible to
us at any given moment, for example if there is lock contention or if pages
are busy.
2008-12-13 11:22:09 +00:00
tsutsui 593ae76032 Suppress false -Wuninitialized warning on gcc -O1. 2008-12-13 09:17:48 +00:00
tsutsui 791606eb62 Sync usage with man page. 2008-12-13 09:05:56 +00:00
mrg a375e7c55a fix much of the interrupt mapping/establishment code. still does
not yet work, but we are now seeing spurious interrupts (that should
be mapped to some handler..)
2008-12-13 08:07:23 +00:00
mrg f4cdd8a3bc remove unused variable. 2008-12-13 05:54:57 +00:00
alc 0a5dd2a285 Restore a valid call to ath_hal_wait() and wrap the if() statement with curly bracket.
Fix build wrt the original HAL, prevent the next call to OS_REG_WRITE() to be skipped
if HALDEBUG() is not defined.

pointed out by <sam>
2008-12-13 05:16:28 +00:00
mrg 6a475604d6 - enable schizo_dmamap_create() after fixing it
- clean up some debug code
- remove unused schizo_intr_map()
- setup our iommu state properly
- for now, implement a 'struct schizo_iommureg' and use it in schizo.
  XXX this should be merged with iommu*

interrupts are still not working but we get to scsi probe now.
2008-12-13 04:56:32 +00:00
mrg 5fe53803ec DPRINTF() the new protection in sparc_bus_map() 2008-12-13 04:53:09 +00:00
dholland 2adcd1a3c2 Don't deadlock on rename("foo/foo", "foo") in the case where foo/foo is a
directory. This doesn't affect non-wapbl renames; it affects wapbl because
one of the lock acquisitions was moved up past where this case otherwise
fails.

PR 40163 from Lloyd Parkes.
2008-12-13 04:45:28 +00:00
mrg 223aed87aa if the "interrupt-map-mask" property is larger than the static 100 int
array, dynamically allocate the desired size and try again.

fixes crashes in OF_mapintr() when there are 102 entries.
2008-12-13 04:44:38 +00:00
isaki b3a08741f8 Fix a broken 'Front power switch' signal.
Use softint(9), instead of using psignal(9) in
hardware interrupt.  Thanks to soda-san.
2008-12-13 02:49:10 +00:00
njoly b4f0a0e86c +tabs.debug 2008-12-12 23:49:28 +00:00
njoly 6b9fe0233d Regen for clock_nanosleep. 2008-12-12 23:38:13 +00:00
njoly 99688b74d2 Add clock_nanosleep syscall. 2008-12-12 23:36:18 +00:00
christos 47b2a9219c document svc_getrpccaller 2008-12-12 23:22:26 +00:00
christos 809d48d0cb back emalloc out, I don't want it. 2008-12-12 23:10:08 +00:00
christos 56a682bfb8 - handle memory allocations gracefully using e-functions instread of
core-dumping.
- if the display is too small bail out.
2008-12-12 23:09:08 +00:00
lukem 65288d6d2c nvi expandtab 2008-12-12 23:07:47 +00:00
lukem e7617fb9ab Bump the version to ""nvi-1.81.6nb1" for NetBSD changes:
expandtab
	gtagsmode
	matchchars
	WARNS=4

Per discussion with Christos.
2008-12-12 23:05:36 +00:00
lukem 534002bc26 Implement "expandtab" option:
expandtab, et [off]
          Prevent the use of <tab> characters in leading whitespace when
          shifting text, autoindenting, indenting with <control-T>, or
          outdenting with <control-D>.
2008-12-12 22:55:55 +00:00