Commit Graph

163817 Commits

Author SHA1 Message Date
jnemeth
3b39a4f529 Add a comment after the copyright boiler plate describing how to
"regenerate" this file.
2007-11-27 13:38:23 +00:00
tsutsui
726acbb131 Use powerof2() macro in <sys/param.h> rather than a homegrown version. 2007-11-27 13:31:10 +00:00
tsutsui
fdc8440c81 - use prop_dictionary_set_bool() to set "aic7xxx-use-target-defaults" property
- set "override_ultra" property against not all but only built-in ahc
2007-11-27 13:26:37 +00:00
haad
8a4a986b56 Add myself to the list of NetBSD developers. 2007-11-27 13:04:01 +00:00
pooka
f9379f7719 a_l -> curlwp 2007-11-27 11:37:27 +00:00
pooka
6a3d9a187d Remove "puffs_cid" from the puffs interface following l-removal
from the kernel vfs interfaces.  puffs_cc_getcaller(pcc) can be
used now should the same information be desired.
2007-11-27 11:31:17 +00:00
dogcow
6c09f19fb4 and one more lwp removal victim 2007-11-27 11:25:29 +00:00
hannken
8b99233008 When using bus_space_map() on the ISA bus unstride the address. Since
Rev. 1.13 of sys/arch/powerpc/powerpc/bus_space.c the address will be
strided by memio_map().
2007-11-27 10:59:24 +00:00
hannken
3b59dbb195 Bump SYMTAB_SPACE so that it fits again. 2007-11-27 10:55:27 +00:00
elad
3862950e53 Add a NOTES section to the manual, indicating that kauth(9) is still under
active development and its ABI (and possibly API) may change between
NetBSD versions.

This is critical to, for example, LKMs, where there might be a case of them
being built using one version of the ABI and used on system with another.

The main concern for "ABI" here is the set of KAUTH_* actions and requests
that is (for now) an enum. This note is likely to be removed as kauth(9)
is stablized -- hopefully before NetBSD 5.0.

okay christos@
2007-11-27 10:50:09 +00:00
dogcow
3465a006e9 more VFS_STATVFS(x,y,z) fallout; change them to VFS_STATVFS(x,y). (hi, pooka!) 2007-11-27 09:47:15 +00:00
dogcow
1e02f40f0f fallout from the not-quite-complete curlwp removal.
I'm not sure why I had to monkey about with the includes to get VFS_SYNC to
reappear.
2007-11-27 09:14:21 +00:00
ad
c3a9a185b4 Tidy up the sigacts locking a bit: sigacts can be shared between
multiple processes.
2007-11-27 01:27:30 +00:00
dyoung
2db1c5cdfa Bug fix: in ath_init(), if ath_enable() fails, ATH_UNLOCK() before
returning.
2007-11-27 00:07:42 +00:00
dyoung
e45771984e Don't process the CAB queue twice in ath_tx_proc_q0123. 2007-11-26 23:54:48 +00:00
dyoung
37bdac8857 Eliminate redundant check for read-only mbuf data, since
M_TRAILINGSPACE() does a more complete check on NetBSD.
2007-11-26 23:52:40 +00:00
dyoung
84a52560a3 Bug fix: restore antenna diversity settings after reset. 2007-11-26 23:49:55 +00:00
dyoung
ecfc7c1996 Use device_xname(). Make device_printf() take a device_t argument.
Add __attribute__((__format__(__printf__,2,3))) to device_printf()
so that the compiler will help us detect bad arguments.

Retire unused subroutine m_defrag(), and unused declaration m_getcl().
2007-11-26 23:48:37 +00:00
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