Commit Graph

175912 Commits

Author SHA1 Message Date
mrg 15e9690d92 no need for this to use BUS_SPACE_MAP_LINEAR - it uses bus_space properly 2008-12-14 23:13:18 +00:00
elad 48949a2a2a Fix length passed to strlcpy(): we used to get names one character shorter
than reality.

Should be pulled up to netbsd-5.
2008-12-14 23:12:58 +00:00
he cc040f5992 Bump SYMTAB_SPACE so that it fits again. 2008-12-14 23:07:22 +00:00
pooka 649c12eb68 If the arch uses __BSWAP_RENAME, provide non-namespaced kernel
symbols which just call the libc symbols.  Allows to get rid of
rump machine/bswap.h.

XXX:
1) this is unlikely to work on non-NetBSD
==>
2) should look into including libkern in librump
2008-12-14 19:58:29 +00:00
christos 49e9ba9a6b more KNF and ANSI from Anon-ymous 2008-12-14 18:46:33 +00:00
christos 334f5e8f00 ANSI and KNF from Anon Ymous 2008-12-14 17:03:43 +00:00
wiz e07f76d158 New sentence, new line. Drop trailing whitespace. 2008-12-14 13:51:33 +00:00
ad 024c36f64b vclean: be paranoid and set v_tag, v_op while holding v_interlock.
FS code could check their values while scrolling through mnt_vnodelist.
2008-12-14 11:15:59 +00:00
ad 31420e7959 - vrelel: fix broken "dead but not clean" assertion. The vnode can be
dead and dirty if cleaning is in progress.
- Add an assertion, fix some text.
2008-12-14 11:13:36 +00:00
macallan f0655d6400 mention sparc going wscons 2008-12-14 04:31:17 +00:00
macallan 1cbbd12ac0 do as sparc64 does 2008-12-14 03:37:21 +00:00
macallan b71621c812 wscons here we come!
(finally)
2008-12-14 03:28:51 +00:00
kenh 1d3c0b7c9e Revert changes from revisions 1.3 and 1.4; they make the tsarm platform
fail to boot.
2008-12-14 03:00:59 +00:00
isaki f9b58c234c Simplify #ifdefs. 2008-12-14 02:21:34 +00:00
isaki a4144ad62e Remove unused macros. 2008-12-14 02:19:58 +00:00
isaki 5b2d4637e6 Use intio_set_*() macros to purge macros by the name of sysport, ioctlr. 2008-12-14 02:16:51 +00:00
isaki 1c83a96ebb Use mfp_{set,clear}_*() macros to purge macros by the name of 'mfp'. 2008-12-14 02:05:54 +00:00
matt 145d27560e Add the beginning of a driver which supports the on-chip gmac (gigabit)
ethernet port.  It's still being debugged but it attaches and does some
things right.  And a lot wrong.  That's what debugging is for.
2008-12-14 01:57:02 +00:00
matt d2dce27b37 Rename gpio.h to gpiovar.h. Make the pin routines usable by others
than the gpio code.  (gmac driver needs access to gpio to do mii ops).
2008-12-14 01:55:15 +00:00
jmcneill 00c12be141 Note that the Elantech trackpad support only works for firmware revisions
2.48 and above.
2008-12-14 00:56:14 +00:00
jmcneill 0af0b213b5 Remove debug printfs 2008-12-14 00:53:52 +00:00
jmcneill 201f724e77 pms(4): Add Elantech multi-touch trackpad support 2008-12-14 00:53:09 +00:00
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