161292 Commits

Author SHA1 Message Date
ad
c9bbf87b8f NetBSD 4.99.29 - change ktrace to be LKM friendly. 2007-08-15 12:10:33 +00:00
ad
d3675885a8 Regen. 2007-08-15 12:09:12 +00:00
ad
df7945cf28 - Update for ktrace changes.
- Mark a few more syscalls MPSAFE.
2007-08-15 12:08:38 +00:00
ad
63c4506184 Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.
2007-08-15 12:07:23 +00:00
skrll
6c8e72c931 Correct scope of nick-csl-alignment. 2007-08-15 10:07:50 +00:00
tnn
51e95e7756 Correct some comments (proc -> lwp conversion) 2007-08-15 09:40:15 +00:00
kiyohara
2db72b9118 * splsoftusb, IPL_SOFTUSB, and IPL_HARDUSB defines in usbdi.h
-> the current names are confusing (didn't change other drivers)
* fix invalid memory access in usbd_transfer (kern/24636)
-> needed for this driver
* fix USB HC detach race condition (kern/32011)
-> main patch needed for this driver, sc_dying changes in other drivers
not necessary but seem right to me

Patch from Matthew Orgass.
  http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html
2007-08-15 04:00:33 +00:00
kiyohara
44c89c7646 Replace to Matthew Orgass's slhci(4).
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html
2007-08-15 03:53:08 +00:00
rmind
d2142b3188 sys__lwp_suspend: Handle the possible problem when target LWP might exit via
lwp_exit() before suspending.  In such case, LWP might be already freed after
cv_wait_sig() and checking the list of LWPs via lwp_find() is necessary.

Possible problem catched by Andrew Doran.
2007-08-15 02:50:40 +00:00
markd
89d3c65ccd Add agp support for i965Q.
Based on a patch for FreeBSD by Eric Anholt.
OKed on tech-kern some months ago.
2007-08-15 02:26:13 +00:00
joerg
7fb995bb6e Catch up with pkg_install-20070814. 2007-08-14 23:01:05 +00:00
joerg
50c788c748 Import pkg_install-20070814. 2007-08-14 22:59:50 +00:00
uwe
9a34099682 au_setup_ports - don't hide ports->nports++ inside another expression,
especially if that other expression is the right hand side operand of
&& which is short-circuiting.  The effect was that audiorecord(1)
would always fail trying to set recording port with AUDIO_SETINFO.

Tested on wss@pnpbios.  It looks like this problem has been reported
as PR/35239, filed against port-hp700.
2007-08-14 21:34:03 +00:00
agc
6396470148 + re-activate code to set port number in the iSCSI target
+ if the attempt to getaddrinfo() on (host,port) fails, try various
	combinations of (host,service)
+ clean up lint
+ set sess->d when we get traffic in, rather than just at iSCSI login
2007-08-14 18:52:48 +00:00
macallan
b5dc000777 fix a logic botch in the headphone wiring setup - what was thought to be
'screamer' specific is actually beige G3 specific.
2007-08-14 16:18:20 +00:00
jnemeth
d74976c467 regen 2007-08-14 16:14:21 +00:00
jnemeth
5b3c74a3d6 PR/36759 - Christoph Egger -- add some MARVELL devices 2007-08-14 16:13:38 +00:00
joerg
b2dde09db1 Explicitly assert that the protocol out pr_ctloutput before calling it. 2007-08-14 16:03:48 +00:00
pooka
c360a79960 * split userspace file system access into two separate libraries:
+ libp2k: the interface between libpuffs and vfs/vop
  + libukfs: generic user kernel file system library, usable
	     independent of libp2k and/or puffs
* use file system name (MOUNT_XYZ) instead of vfsops pointer to
  mount file system
2007-08-14 15:56:15 +00:00
kiyohara
fd0dddb4aa Must call callout_init(). 2007-08-14 15:04:44 +00:00
pooka
6a129c6ab2 note mount_sysctlfs 2007-08-14 15:04:41 +00:00
kiyohara
2bf46d5050 Remove and insert null-line.
No parentheses are needed around the return value.
2007-08-14 14:18:17 +00:00
martin
3eda297f44 Complete initialization of lwp0 in pmap_bootstrap() 2007-08-14 14:16:17 +00:00
kiyohara
ec1fb4e2a6 Remove white-spaces. 2007-08-14 14:10:52 +00:00
kiyohara
5d6dcf3d03 Add ARGSUSED. 2007-08-14 14:07:01 +00:00
pooka
b0ae85df19 interrupt headers necessary for vfs_bio 2007-08-14 14:06:12 +00:00
kent
31b57ef849 support for playback-only devices such as Radeon HD 2x00 2007-08-14 13:57:56 +00:00
pooka
ea312e5c20 udf support 2007-08-14 13:56:58 +00:00
pooka
243a4686b8 Kill handrolled buffercache and use vfs_bio from the kernel. This is
mostly to get the flag jungle in sync with the kernel.
2007-08-14 13:54:14 +00:00
pooka
3340382aec more vfs_subr -> vfs_subr2 dance for rump:
vwakeup, vinvalbuf, vtruncbuf, vflushbuf, bgetvp, brelvp, reassignbuf
2007-08-14 13:51:31 +00:00
seanb
7a700a611e - Check IFF_RUNNING | IFF_UP in gre_output() correctly. 2007-08-14 13:36:50 +00:00
pooka
790f3adcf7 compile in clock_subr.c 2007-08-14 13:24:34 +00:00
pooka
f89f2dc0be Add some barely staggering code to get more disklabel support. 2007-08-14 13:24:07 +00:00
reed
4f402e3972 Add the year for:
08/15  Beatles replace drummer Pete Best with Richard Starkey, 1962
(While http://en.wikipedia.org/wiki/Ringo_Starr
says this happened on August 16 not the 15th.)
2007-08-14 13:15:06 +00:00
martin
2c724d3948 Backout the md_tf part of the previous change - it was wrong and should
not be needed, needs more investigation.
2007-08-14 11:10:55 +00:00
martin
0617d834b5 Initialize lwp0.l_md.md_tf - it was NULL before. Spotted by tnn.
While there, g/c the unused md_pcbpaddr.
2007-08-14 10:42:00 +00:00
dyoung
4287175475 Don't nul-terminate the interface name in a sockaddr_dl that is
part of an ifa_msghdr returned by sysctl(3), because that could
overwrite the ifam_len field of the following ifa_msgher.  Instead,
copy the interface name out of the sockaddr_dl, and then nul-terminate.
Fixes the bug reported by Frank Kardel on current-users@.  Thanks
Frank for reporting, and for testing the fix.
2007-08-14 03:39:19 +00:00
macallan
a0e394bf30 envctrl needs to pull in i2cbus 2007-08-13 22:18:31 +00:00
briggs
b53262281a Check for duplicate sensor names in the IPMI table. If a duplicate name
is found, try to make it unique by appending a count (1-99) to the sensor
description (truncating, if necessary).  This takes my Dell PowerEdge 1800
from:
        Temp:     40.000 degC
  VRD 1 Temp:     35.000 degC
  VRD 0 Temp:     39.000 degC
 Planar Temp:     35.000 degC
Ambient Temp:     20.000 degC
       Fan 2:       1500 RPM
       Fan 1:       1425 RPM
CMOS Battery:      3.057 V
   Intrusion:         ON
     Status :         ON

to:
       Temp3:     40.000 degC
       Temp2:     40.000 degC
  VRD 1 Temp:     35.000 degC
  VRD 0 Temp:     39.000 degC
 Planar Temp:     35.000 degC
Ambient Temp:     20.000 degC
       Temp1:     41.000 degC
        Temp:     43.000 degC
       Fan 2:       1500 RPM
       Fan 1:       1425 RPM
CMOS Battery:      3.057 V
   Intrusion:         ON
    Status 1:         ON
     Status :         ON
2007-08-13 18:32:22 +00:00
pooka
0322f263f2 nuke no longer used vm macros 2007-08-13 15:59:47 +00:00
pooka
5e1193986e opts necessary for vfs_vnops.c missed in previous commit 2007-08-13 13:57:21 +00:00
pooka
7ed98ea083 Add locking assertions to check that file systems comply with the
vnode locking protocol.
2007-08-13 13:52:45 +00:00
pooka
787d952790 Use supermarket variety vfs_vnops.c instead of homecooked routines
(that's actually a good thing here).
2007-08-13 13:51:39 +00:00
pooka
e09047007b lock and unlock vnodes according to locking protocol 2007-08-13 12:20:55 +00:00
pooka
66cdfd6744 compile in libkern __assert.c, argument order differs from libc model 2007-08-13 10:52:15 +00:00
pooka
d1cd2c26a2 * don't call VOP_ACCESS in lookup, that's the file system's problem
* be more careful with r/o fs to catch EEXIST in lookup CREATE
* some comment polish
2007-08-13 09:48:55 +00:00
rillig
3911c95333 A small word can sometimes express things clearer ... 2007-08-13 06:14:08 +00:00
macallan
ce33f23af8 remove two restore without matching save 2007-08-13 03:09:13 +00:00
tsutsui
6c44f1b32b Parse "root=/dev/hdXN" args passed from the firmware and
set default boot device accordingly.
Requested and okay'ed by cyber@.
2007-08-13 02:09:01 +00:00
tsutsui
320e4f3fc5 Remove all references to spl_mask. Now it isn't used by any sources.
Discussed on port-arm.
2007-08-13 02:04:50 +00:00