Commit Graph

163799 Commits

Author SHA1 Message Date
ad
34db286793 Use the softint API. 2007-11-26 23:29:36 +00:00
ad
afa1151e21 IPL_STATCLOCK -> IPL_HIGH 2007-11-26 23:28:31 +00:00
he
0bfa260fce Remove a now-unused variable. 2007-11-26 23:16:15 +00:00
macallan
b795935f14 repeat after me: I will not test OF nodes for validity by checking for >0
since node numbers may well have 0x80000000 set
2007-11-26 23:13:37 +00:00
ad
e7b923f1b3 Adjust previous. 2007-11-26 22:48:57 +00:00
dyoung
ca57c50be5 Make this compile. Use callout_init() instead of ATH_CALLOUT_INIT(),
since callout_init() on FreeBSD and NetBSD are the same, now.
2007-11-26 20:45:01 +00:00
garbled
b0f4d9f970 Apply a set of patches from Frank Wille to make the genfb attachment work
better on ofppc.  In doing so, we also move a few functions around in
macppc and the generic ofw powerpc stuff to allow better sharing of code.
Also, introduce a model_init function.

move ofb_cons.c from macppc/dev to powerpc/oea and rename it to rascons.
This gets rid of some naming confusion, and makes it OFW-MI rather than
macppc specific.
2007-11-26 19:58:29 +00:00
pooka
8a64ceed6a "struct lwp *l" is a goner from VFS/VOP interfaces. 2007-11-26 19:11:11 +00:00
ad
d69bdfa8ed Update status of vmlocking branch. 2007-11-26 19:10:07 +00:00
pooka
c4de3009af 4.99.38: struct lwp gone from VFS/VOP interfaces 2007-11-26 19:04:28 +00:00
pooka
0aea761bea regen: remove struct lwp as a parameter to VOPs 2007-11-26 19:03:30 +00:00
pooka
61e8303e9d Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern
2007-11-26 19:01:26 +00:00
tnozaki
0d66ddd732 more PR/36938
- don't re-initialize internal-state when current locale is stateless encoding.
- fix testcase filedir problem.
2007-11-26 16:09:50 +00:00
christos
1b601e0085 Add dell latitude 420 in the list of machines that need special treatment
to silence speakers when headphones are plugged in. From Marcin Michal Jessa
2007-11-26 15:47:36 +00:00
tsutsui
e2199739d6 Misc cosmetics. 2007-11-26 15:46:48 +00:00
tsutsui
da1f43d88f Account e2fs_reserved_ngdb blocks accordingly in ext2fs_statvfs(). 2007-11-26 15:41:03 +00:00
christos
759df5a6a0 make cr2 64 bits. Requested by fvdl. 2007-11-26 15:38:29 +00:00
tnozaki
7e1ba00ce8 more PR/36938, restore internal-state if mbtowc() throw EILSEQ.
patch provided by Shiozaki-san, thanks.
2007-11-26 15:31:30 +00:00
christos
1f07a76abf fix substitutions. From Anon Ymous 2007-11-26 15:12:06 +00:00
joerg
1fa4940a62 Separate handling of __attribute__, __dead and __pure:
- define away __attribute__ if not running GCC or running GCC < 2.0.
- use __attribute__((__return__)) for GCC >= 2.5, keep other cases.
- use __attribute__((__pure__)) for GCC >= 29.6, keep other cases.
2007-11-26 14:52:34 +00:00
pooka
1b346350d5 In case the userspace wait is interrupted, don't use ERESTART as
the return value, rather use EINTR.

reported by Reinoud
2007-11-26 12:57:26 +00:00
pooka
7568ff51e1 print more info when receiving an abort 2007-11-26 12:20:21 +00:00
yamt
e43896bb4f free: fix size passed to LOCKDEBUG_MEM_CHECK. 2007-11-26 11:48:55 +00:00
bjs
759a913b44 Add PCI_PRODUCT_ATI_RADEON_R430_554F to the R420 chip class.
This will not work until (at the very least) we map the memory properly
(MMIO/VRAM BARs are 64-bit)--some of the values in the configuration
space may be different.  I will discuss this with others, and maybe
it will work someday.
2007-11-26 09:39:50 +00:00
bjs
24e9564be9 Add PCI IDs for the ATI Radeon X800 GTO (R430). Most sources I have
consulted indicated that this ID is an R430 (including xf86-video-ati).

PCI_PRODUCT_ATI_RADEON_R430_554F (primary)
PCI_PRODUCT_ATI_RADEON_R430_556F (secondary)

vga0 at pci1 dev 0 function 0: ATI Technologies product 0x554f (rev. 0x00)
ATI Technologies product 0x556f (miscellaneous display) at pci1 dev 0 function 1 not configured
2007-11-26 09:36:28 +00:00
yamt
8ed07fbf78 inetctlerrmap: use designated initializer. 2007-11-26 08:40:46 +00:00
yamt
ee7cf9f0ab pmap_create: M_VMMAP -> M_VMPMAP for pmap. 2007-11-26 08:33:11 +00:00
xtraeme
f444fd7856 Make this build without LOCKDEBUG (the if statement that uses
LOCKDEBUG_MEM_CHECK).
2007-11-26 08:22:32 +00:00
yamt
1a95aafc2b uvm_map_extract: for UVM_EXTRACT_QREF, mark entries UVM_MAP_NOMERGE. 2007-11-26 08:20:46 +00:00
yamt
354863d6e5 lockdebug_mem_check: turn a redundant check into a panic. 2007-11-26 08:16:49 +00:00
yamt
89169ed40b uvm_unmap1: LOCKDEBUG_MEM_CHECK for kernel_map. 2007-11-26 08:15:19 +00:00
yamt
5e36d79445 in6_pcbsetport: add missing htons. (fixes ephemeral port allocation.) 2007-11-26 08:12:33 +00:00
kiyohara
a6caad5208 #ifndef-ed macro BTBC_DEFAULT_BAUDRATE. 2007-11-25 23:32:44 +00:00
bouyer
e6190ce36f Ops, don't forget break in switch statements ... 2007-11-25 23:23:09 +00:00
bouyer
d3cd257630 Add support for the "protocol" entry in xenstore, which really specifies
the ABI used by the front-end (x86 32 or 64 bit). A linux 32bit PAE kernel
can now boot on a NetBSD 64bit dom0 and use the block devices.
2007-11-25 22:44:39 +00:00
rmind
8cfca2b5e3 - Retry the operations (instead of failing) in case of reallocation.
Suggested by <yamt>.
- Use predicts in checks for reallocation state.
2007-11-25 19:03:24 +00:00
pooka
6cccb0c686 * Use vfs_stdextattrctl instead of a homegrown version. Also fixes
a bug: the homegrown version neglected to unlock vp
* don't reimplement eopnotsupp()
* init genfs_node earlier vget, protects against error paths in vget
  from attempting to destroy a non-inited node
2007-11-25 16:26:42 +00:00
elad
41b84354cb Deprecate KAUTH_REQ_SYSTEM_TIME_BACKWARDS, as it was merged into
KAUTH_REQ_SYSTEM_TIME_SYSTEM.
2007-11-25 09:39:26 +00:00
kiyohara
3bf7c476ac + Add COREGA CG-WLUSB2GL and ABOCOM WUG2700.
+ make sure ni->ni_txrate is always initialized to a meaningful value by
  redefining ic->ic_newassoc.
  this should prevent "bogus xmit rate" panics when operating in HostAP
  mode.
+ s/RT2573_[TR]X_LIST_COUNT/RUM_[TR]X_LIST_COUNT/
+ Restore the workaround for rate==0 bug.
+ http://www.ralinktech.com/ domain name is for sale.
  use official url instead: http://www.ralinktech.com.tw/
2007-11-25 09:30:10 +00:00
xtraeme
c2fd0702f1 Move entry for ticket #990 into CHANGES.prev, because it has been
pulled up into netbsd-4.
2007-11-25 09:23:47 +00:00
kiyohara
e18f7bdc36 Regen. 2007-11-25 09:17:56 +00:00
kiyohara
b18c0cc551 Add COREGA CG-WLUSB2GL. 2007-11-25 09:16:49 +00:00
elad
c1ae8fe49c Kill a KAUTH_REQ_SYSTEM_TIME_SYSTEM request that's no longer needed. 2007-11-25 08:43:11 +00:00
xtraeme
69c8e45340 Do not run the get_powstat callback in apm_attach(), this has a bad
effect with coretemp(4) where it tries to run xc_unicast() before
the xc_thread is ready. Anyway the get_powstat callback was there only
for APM_POWER_PRINT, which will print the correct info if requested
later.
2007-11-25 07:55:21 +00:00
dsainty
e92d81422b Minor typos in comments, no functional change. 2007-11-25 02:46:54 +00:00
elad
abb7851f4d Refactor time modification checks and place them in the secmodel code.
okay christos@
2007-11-25 00:35:26 +00:00
christos
3714528495 - move the save context before the signal reset (Arto Huusko)
- set the sigcontext cr2
2007-11-24 23:52:56 +00:00
christos
b6740bf65c preserve cr2 on pcb for the benefit of linux emulation. 2007-11-24 23:51:23 +00:00
elad
b242e18ba4 Fix a long time issue where the securelevel secmodel would explicitly
allow certain operations.

The suser module of the bsd44 secmodel code was made aware of the missing
operations that were explicitly allowed in the securelevel module, and
the logic in the latter was modified to a default defer, deny where not
allowed.

This concept, which is the correct way to write secmodel code, was first
brought up by pavel@ a long time ago.

okay christos@.
2007-11-24 20:47:14 +00:00
elad
1d139a3075 Modify hpux_sys_stime_6x() to call settime(), like everyone else do.
okay christos@.
2007-11-24 20:43:34 +00:00