oster
ff30fd25f5
Fix a minor typo in a comment.
2006-08-07 17:08:18 +00:00
manu
05c8a1b827
Add a new signature test for linux probe function. We look for a .debuglink
...
section, which is specific to the Linux dynamic interpeter (yes, Linux
can execute it as a stand alone program)
2006-08-07 14:19:57 +00:00
cube
bb041282a1
Correctly free freq_names and cstate.
...
XXX This code is bogus anyway. Global variables vs. MP systems, anyone?
2006-08-07 11:39:30 +00:00
mhitch
1d4e083680
gcc4 uninitialized variable. gcc3 apparently didn't catch this one.
2006-08-07 01:31:36 +00:00
xtraeme
421fdf2f64
Free freq_names if k[78]pnow_current_state is NULL, pointed out
...
by cube.
2006-08-06 18:21:32 +00:00
dyoung
0cf23243f9
Use ${SYSDIR}/arch/mips/ instead of ../mips/, which was fragile.
2006-08-06 17:22:47 +00:00
dyoung
bc21bda1c9
Make the 'tags' target work better: use ${SYSDIR}/arch/evbmips/
...
instead of ../evbmips/, which was pretty fragile. Cope with long
argument lists using the echo ${args} | xargs ctags idiom used in
other architectures' tags target.
2006-08-06 17:21:58 +00:00
jmcneill
4b802ec0e1
PR/12843: Workaround for CS4280 on IBM ThinkPads. From Stephane Witzmann.
...
Note: This workaround conflicts with piixpm(4); you will need to disable
the piixpm driver if you need this fix.
2006-08-06 16:21:11 +00:00
xtraeme
e7d2347699
* Sync powernow_k7.c driver with OpenBSD, it seems to work much
...
better finding PST tables.
* Use functions defined in powernow_common.c to detect if the
CPU can run powernow.
* Update the LKM with current code.
2006-08-06 16:05:07 +00:00
jmcneill
0eb9f3fd24
Regen.
2006-08-06 15:48:34 +00:00
jmcneill
5672a65632
Add entry for IBM ThinkPad audio. From Stephane Witzmann.
2006-08-06 15:48:12 +00:00
christos
dfb16d34c3
PR/34117: Takuya SHIOZAKI: enhancement for acpiapm(4)
...
- make sleep state corresponding to standby/suspend changeable by using sysctl,
- make sure to generate APM events appropriately.
- arrange the code for getting power status.
2006-08-06 15:47:51 +00:00
christos
0fe2e6efc3
PR/34116: Takuya SHIOZAKI: acpiapm(4) misuses config(9)
...
acpiapm(4) always matches the first node of AML, which is unrelated
with acpiapm. Separate acpi(4)'s children into two individual interface
attributes.
2006-08-06 15:46:54 +00:00
xtraeme
9c74798bdd
AMD PowerNow!/Cool`n'Quiet driver for NetBSD/amd64,
...
adapted from OpenBSD.
Tested on a few machines:
http://bigbird.dohd.org:3021/NetBSD/dmesg
http://www.bsd.org.il/netbsd/acpi/dmesg
Thanks to cube, elad and others for testing and fixes.
Enabled by default on GENERIC.
2006-08-06 15:37:21 +00:00
bjh21
47ef6bac03
Using humanize_number() on clock speeds does more harm than good, and
...
precious little of either. Go back to displaying them with all their digits.
2006-08-06 13:29:42 +00:00
martin
12cf319c62
Fix size confusion with lfs_fhandle - and as it now turns out to be the same
...
as the lfs compat_30_fhandle, g/c the latter.
Add an alias for the LFCNIFILEFH fcntl, so that binaries compiled in the
meantime (with too large lfs_fhandle) continue to work.
This makes vfs_cleanerd work again after the kernel checks filehandle size
more strictly (problem reported by Kurt Schreiner on current-users).
2006-08-06 12:34:12 +00:00
bjh21
891d055e7c
Nothing in the tree pays any attention to "options NC" any more, so don't set
...
it.
2006-08-05 23:11:11 +00:00
bjh21
6e83f00384
The Hydra code should probably be removed, but until it is, it may as well
...
not generate spurious diffs in my tree, so bring it up to my working version.
2006-08-05 23:03:21 +00:00
bjh21
3c8394c448
Centralize the various checks for validity of a CPU context in one macro,
...
so we don't have to get it right in lots of different places.
2006-08-05 22:54:28 +00:00
bjh21
d97d9a1480
Xarm32VIDC has supported pckbd(4) for several releases now, so it's probably
...
safe to stop using rpckbd(4) in wscons configurations.
2006-08-05 22:33:44 +00:00
xtraeme
07e7c5a439
HPT368 support. Patch from Jonathan A. Kollasch via PR kern/34097.
...
Thanks.
2006-08-05 22:31:13 +00:00
bjh21
fc39059504
Clock frequencies tend to be big numbers -- use humanize_number() when
...
displaying them through printf.
2006-08-05 21:59:40 +00:00
sanjayl
265929b20e
1st cut of Powermac G5 support (uses bridge mode).
2006-08-05 21:26:48 +00:00
bjh21
69c3a7ed34
bcopy -> memcpy
...
bzero -> memset
2006-08-05 21:25:39 +00:00
bjh21
758ec34161
ANSIfy, un-__P, and generally KNF.
2006-08-05 18:22:57 +00:00
pavel
8bf13164fe
defflag PPPOE_SERVER and PPPOE_TERM_UNKNOWN_SESSIONS.
2006-08-05 17:20:54 +00:00
bjh21
21a0df473c
This file seems to be unused, left behind by the last I^2C overhaul.
...
Remove it.
2006-08-05 16:44:43 +00:00
bjh21
1426eb6e49
ANSIfy, un-__P, light KNF.
2006-08-05 16:38:57 +00:00
martin
f1dc5b61db
Fix typo in comment
2006-08-04 23:18:53 +00:00
he
5ea0e70c68
Rearrange included headers and/or add include of <sys/types.h> and
...
<sys/lock.h>, so that the mipsco port can build again, ref.
http://mail-index.netbsd.org/port-mips/2006/08/04/0000.html
Reviewed by thorpej
2006-08-04 22:42:36 +00:00
yamt
ac0b9042bb
sys___fhstatvfs140: update a comment.
2006-08-04 17:07:32 +00:00
yamt
a4aecea36e
compat_30_sys_getfh: check the size of filehandle. remove an unnecessary cast.
2006-08-04 16:58:27 +00:00
yamt
273fdcedb9
whitespace.
2006-08-04 16:36:44 +00:00
yamt
4977b4bbc0
some filehandle syscall related changes.
...
- remove the support of variable-sized filehandle from compat version of
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
- unify vfs_copyinfh_alloc and vfs_copyinfh_alloc_size.
- vfs_copyinfh_alloc_size: check fhsize strictly.
- reduce code duplication between compat and current syscalls.
2006-08-04 16:29:51 +00:00
yamt
e99f3cca81
vfs_copyinfh_alloc_size: fix indent.
2006-08-04 13:31:51 +00:00
mhitch
74f4d61b61
gcc4 fix: change a couple of volatile void functions.
2006-08-04 02:32:30 +00:00
mhitch
710f94acb4
gcc4 fix: needs string.h
2006-08-04 02:30:48 +00:00
mhitch
856bf4faf5
gcc4 fix: needs stdlib.h
2006-08-04 02:30:00 +00:00
mhitch
7e08a789a6
gcc4 fix: correct declaration of 'end'.
2006-08-04 02:26:49 +00:00
mhitch
1b474f00d6
gcc4 fix: change prototype and definition of volatile void usage().
2006-08-04 02:23:23 +00:00
mhitch
370e3a585e
gcc4 fix: need to cast string variable.
2006-08-04 02:21:19 +00:00
mhitch
8511e80fdb
gcc4 fix: gcc4 more strict on checking signed/unsigned.
2006-08-04 02:19:55 +00:00
mhitch
5a37c00320
gcc4 fix: gcc4 bug generates a label twice. This label can't be conveniently
...
ignored like bpendtsleep, but a clue from the commit skipping the bpendtsleep
label for vax provides a workaround. Move the label to an earlier location
and gcc4 only generates one label. The label just marks the start of
memory protected during a memory test, so excluding a little more memory
from that test should be fine.
2006-08-04 02:17:34 +00:00
mhitch
26264a025e
gcc4 fix: correct of couple of casting errors picked up by gcc4.
2006-08-04 02:09:19 +00:00
mhitch
7e0fcda313
gcc4 fix: include sy/device.h to pick up a definition of something which
...
I've forgotten - needed by gcc4.
2006-08-04 02:07:59 +00:00
mhitch
ce5b58c8c7
gcc4 fix: gcc3 was apparently more lax in structure declarations - change
...
order of including nextkbdvar.h and wskbbdmap_next.h.
2006-08-04 02:05:12 +00:00
mhitch
b9021f4ff0
gcc4 fix: correct declaration of 'end'.
2006-08-04 01:58:49 +00:00
mhitch
1f636ff58a
gcc4 "uninitialized" variable; previous workaround doesn't satisfy gcc4 -
...
explicitly initialize drq.
2006-08-04 01:56:42 +00:00
mhitch
4016823297
gcc4 fix: needs stdlib.h
2006-08-04 01:51:31 +00:00
mhitch
3264771d41
gcc4 fix: static devsw didn't match the prototype.
2006-08-04 01:50:30 +00:00
mhitch
c97e01a899
gcc4 fixes: need to include stdlib.h; fix prototype and definition of
...
local error() function.
2006-08-04 01:48:02 +00:00
mhitch
fa97ed2f83
More gcc4 "uninitilized" variables.
2006-08-04 01:45:05 +00:00
mhitch
425bfd4d05
gcc4 "uninitialized" variables; just like pmap_motorola.c and amiga/pmap.c.
2006-08-04 01:44:12 +00:00
bjh21
62d6ab40d3
Support for timecounters on acorn32, supplied by Mike Pumford. Only
...
compile-tested by me, but he promises it works.
2006-08-03 23:19:06 +00:00
christos
cf3258890d
PR/34129: Andreas Gustafsson: Nonblocking write to pty can return 0
...
If we cannot write on the slave side, always return EWOULDBLOCK in the
non-blocking case, because we don't know that the buffer we started
writing is actually in a system call boundary.
2006-08-03 22:51:05 +00:00
christos
740d87bac5
adjust resid in one more place.
2006-08-03 22:06:55 +00:00
christos
75300d10c2
don't drop characters that we've copied in when we block.
2006-08-03 22:03:18 +00:00
mhitch
977da07ffe
gcc4 checks for and warns of matching constraints that don't specify
...
a register operand. Remove the matching constraint and change the output
operand constraint from "=m" (write-only) to "+m" (read-write).
2006-08-03 20:32:07 +00:00
mhitch
23e6dfaccf
Add a new ADOS partition type, "RAI?" to specify a RaidFrame partiion
...
which can then be autoconfigured. Currently can only use the 'c'
partition of the raid* device, since there will be no RDB on the device.
2006-08-03 20:29:54 +00:00
mhitch
1553e3ad3f
gcc4 uninitialized warning - initialize the darned thing like pmap_motorola.c.
2006-08-03 20:26:24 +00:00
mhitch
7f15b0ef11
gcc4 checks for and warns about specifying a general register constraint
...
for operands that won't accept an address register. Change constraint
to specify only a data register.
2006-08-03 20:24:57 +00:00
bsh
f3f5bb0be8
regen
2006-08-03 03:06:32 +00:00
bsh
065a50f8cf
Device 10de:026c is not AC-97 controller but nForce430 HD Audio controller.
...
Pointed out by Brad. Thanks.
2006-08-03 03:01:39 +00:00
hubertf
db43815c20
Add commented-out "joy* at eap?" & point people at eap.4 before enabling.
...
Per discussion with drochner@
2006-08-03 00:19:21 +00:00
reed
242dae6299
Fix comment, removed some periods at end of a couple comments (not all),
...
and alphabetize "ral" before "re".
This will make it easier to diff with GENERIC_LAPTOP.
No real changes.
2006-08-02 16:24:29 +00:00
reed
35728fe8e7
Fix some comments, tabs or indenting, and some ordering
...
to make this easier to diff with the GENERIC config.
No real changes.
2006-08-02 16:20:45 +00:00
rpaulo
d9e2b32d75
Don't read the firmware twice. Noticed by Nick.
2006-08-02 13:58:39 +00:00
jmcneill
7c1d2c6776
Forgot to commit this last night -- add the unichromefb(4) driver.
2006-08-02 11:26:16 +00:00
jmcneill
165e6acd89
Allow unichromefb(4) to be the system console.
2006-08-02 01:44:50 +00:00
jmcneill
051b75db82
Add work-in-progress framebuffer console driver for the VIA UniChrome
...
integrated graphics family.
2006-08-02 01:44:09 +00:00
he
788b068ad5
Bump SYMTAB_SPACE so that it fits again.
2006-08-01 22:21:19 +00:00
martin
61138efdd6
regen
2006-08-01 21:05:32 +00:00
martin
796cceed8d
Adapt to latest fhandle_t changes.
...
Pointed out by Havard Eidnes.
2006-08-01 21:05:14 +00:00
xtraeme
08e3be34b6
Match nForce3 250 SATA2.
2006-08-01 20:38:50 +00:00
xtraeme
1b6aac49b2
regen
2006-08-01 20:37:43 +00:00
xtraeme
3b17bf7207
Add nForce3 250 SATA2.
2006-08-01 20:37:02 +00:00
bsh
b6116cb922
Support nForce430's audio.
...
(I have tested this only with nFroce410, not with nFroce430)
2006-08-01 18:31:53 +00:00
martin
a0680cae8a
If the card presents 64bit memory, map it as that.
...
Fixes PR kern/34045.
2006-08-01 18:11:32 +00:00
bsh
a271f8d4ca
regen
2006-08-01 17:29:18 +00:00
bsh
ea0e607e09
add an another device ID for AC-97 controller in nForce430 (MCP51).
...
XXX: I found this ID on MSI K8NGM-V, which has nForce410. Maybe 0x26b is
for 410 and 0x26c for 430?
2006-08-01 17:20:51 +00:00
lukem
755b4414f2
If there's any wd quirks in use, display them.
2006-08-01 07:19:07 +00:00
hubertf
ded0447fa8
spc(4) can also attach to pcmcia(4), as was already in hpcmips/GENERIC
...
for quite some time. Add it to all systems that have pcmcia SCSI.
Pointed out by Björn Johannesson <rherdware@yahoo.com> in private mail,
OK'd by matt@
2006-07-31 23:29:54 +00:00
he
ade3eb1a11
Also comment out audio* at audiobus? now that no audio device is available.
2006-07-31 22:53:43 +00:00
wiz
a1fd1fd937
Sort twa before twe.
2006-07-31 22:23:09 +00:00
mrg
95543a8e6e
add a new "biosmem_implicit" variable that is set when a bootloader
...
info parser sets "biosbasemem" and "biosextmem" from. check for this
when probing memory size, rather than biosbasemem/biosextmem being
zero which is no longer true. also, make the REALBASEMEM/REALEXTMEM
options work properly with multiboot-booted kernels. fixes PR#33918.
2006-07-31 20:59:07 +00:00
bjh21
19d3be8004
Fix a typo that was stopping this compiling.
2006-07-31 20:52:13 +00:00
bjh21
e9b4035b9a
Correct last commit to use correct variable name in hpux_sys_getpgrp2().
2006-07-31 20:39:34 +00:00
christos
fa94c5cda1
mention the correct PR/33725
2006-07-31 18:40:41 +00:00
christos
596f06d2d9
workaround for PR 33918
2006-07-31 17:07:27 +00:00
martin
a5ab452935
Welcome to 3.99.24 - filehandle syscalls changed
2006-07-31 16:36:38 +00:00
martin
b4cb63a646
Make filehandles opaque to userland
2006-07-31 16:34:42 +00:00
martin
f956f13e21
Step 1 to make filehandles completely opaque to userland
2006-07-31 16:32:51 +00:00
ad
39e6d49dad
tcfb_cnattach(): pass the slot address through TC_PHYS_TO_UNCACHED() in
...
case the PROM hands us a physical or KSEG0 address.
2006-07-31 00:19:05 +00:00
jmcneill
82c477c076
regen
2006-07-30 22:41:52 +00:00
jmcneill
9d27901109
Add VIA VT3314 (CN900) UniChrome integrated graphics
2006-07-30 22:41:38 +00:00
ad
a0c8510a86
Single-thread updates to the process credential.
2006-07-30 21:58:11 +00:00
oster
1c1c99da5c
Regen
2006-07-30 21:09:54 +00:00
oster
8084d0b099
Recognize another Intel PRO/100 VM Network Controller.
2006-07-30 21:09:00 +00:00
bouyer
0a5662efed
Add twa(4) and ld at twa
2006-07-30 17:55:31 +00:00
bouyer
7877547494
Add twa(4) and ld at twa where it makes sense.
2006-07-30 17:53:50 +00:00
elad
5446ee0ef6
ugh.. more stuff that's overdue and should not be in 4.0: remove the
...
sysctl(9) flags CTLFLAG_READONLY[12]. luckily they're not documented
so it's only half regression.
only two knobs used them; proc.curproc.corename (check added in the
existing handler; its CTLFLAG_ANYWRITE, yay) and net.inet.ip.forwsrcrt,
that got its own handler now too.
2006-07-30 17:38:19 +00:00
bouyer
ae11e4655e
Add some missing splvm()/splx() around uvm_km_* I noticed.
2006-07-30 10:49:48 +00:00
simonb
6c1cfac08b
Add support for 82945GM and (untested) 82945P AGP. FreeBSD and
...
Linux both treat the 945 series exactly the same as the 915 series
for AGP, so just match a few extra device IDs.
2006-07-30 04:23:44 +00:00
simonb
041946b812
Regen.
2006-07-30 04:18:25 +00:00
simonb
aaba845631
Add 82945P_IGD.
...
Should this be "82945G_IGD", and other 945 device IDs have G instead of P
suffix?
2006-07-30 04:17:42 +00:00
tsutsui
351cfbb29b
scc (alpha) was removed ~4 years ago.
2006-07-30 03:02:07 +00:00
wiz
7df24bdea9
- dc, dtop, scc (pmax), they were removed yesterday.
2006-07-30 00:39:27 +00:00
riz
184df1b6fd
Correct an error introduced in rev 1.3; if there are no sensors of a
...
given type, this is indicated by "low" > "high" in the envsys_range
struct - the comments (and revision 1.2 of this file) indicate there are
no sensors of type ENVSYS_SVOLTS_AC, so fix viaenv_ranges[] to agree
with this.
2006-07-29 21:03:24 +00:00
ad
d8360081f7
Remove RASTERCONSOLE support from the pmax port.
2006-07-29 19:10:56 +00:00
kiyohara
43b03eea5b
Alphabetical order.
2006-07-29 19:02:28 +00:00
ad
a08a363b0d
Remove unused variable.
2006-07-29 18:48:14 +00:00
wrstuden
7cfa6f224f
Updated driver, contributed by Jordan Rhody of Wasabi Systems.
...
Main fix is to improve reliability under heavy load and frequent
status monitoring.
2006-07-29 00:13:57 +00:00
riz
dd3bbab5ac
Change "-mcpu=i486" to "-mtune=i486" so this will compile with gcc4.
2006-07-28 20:16:14 +00:00
wrstuden
94e89e2961
Updated twa driver contributed by Jordan Rhody of Wasabi systems.
...
Correct AEN severity values.
2006-07-28 19:23:53 +00:00
dyoung
7559ef3351
Extract predicate M_UNWRITABLE(m, len), which is true iff len
...
consecutive bytes at the front of m are writable (i.e., neither
shared nor read-only).
2006-07-28 17:34:13 +00:00
dyoung
8cb43bea43
Fix mtod() usage. If we will write to the mbuf data, check whether
...
the data is read-only/shared and call m_pullup(). Otherwise,
extract a const pointer to the mbuf data.
XXX I should extract a new macro, M_WRITABLE(m, len), that is true
if m has len consecutive writable bytes at its front.
KNF slightly.
Use bpf_mtap_af().
2006-07-28 17:06:59 +00:00
dyoung
bce72f7b6a
Fix mtod() usage. If we will write to the mbuf data, check whether
...
the data is read-only/shared and call m_pullup(). Otherwise,
extract a const pointer to the mbuf data.
XXX I should extract a new macro, M_WRITABLE(m, len), that is true
if m has len consecutive writable bytes at its front.
2006-07-28 17:04:27 +00:00
dyoung
ae0b3d534e
Where mbuf data may be read-only/shared, use mtod(m, const ...).
...
Annotate a comparison and m_pullup() that seem unnecessary.
2006-07-28 16:30:55 +00:00
dyoung
788c34d9d0
Use bpf_mtap_af(). KNF slightly.
2006-07-28 16:26:20 +00:00
hannken
fc67a08a9c
Remove 'unused variable p'.
2006-07-28 14:08:11 +00:00
hannken
5bc42a01ba
Fix typo: slim -> &slim.
2006-07-28 13:02:56 +00:00
hannken
055db86c86
Remove 'unused variable p'.
2006-07-28 13:02:21 +00:00
scottr
aed25205e0
Regenerate with correct rcsids
2006-07-28 08:57:03 +00:00
ad
76274213ea
Correct first arg to falloc().
2006-07-28 08:51:05 +00:00
simonb
7056ad57e0
Remove a few trailing blank lines.
2006-07-28 08:15:29 +00:00
scottr
f9be1a6de9
Add Siemens SS1021 WLAN.
2006-07-28 08:02:39 +00:00
kent
6e5c3f3d89
add support for S/PDIF.
2006-07-28 07:41:39 +00:00
kent
add0e05fda
add support for AC'97 S/PDIF
2006-07-27 15:35:01 +00:00
christos
3358c957a3
PR/34094: Jorge Acereda: Kernel option KSTACK_CHECK_MAGIC doesn't build
2006-07-27 00:04:08 +00:00
bjh21
5d74db8c24
Add __attribute__((__noreturn__)) to kernel longjmp(), like the userland one
...
already has. This makes arch/acorn26/acorn26/cpu.c compile with GCC 4.
2006-07-26 20:50:56 +00:00
drochner
84f50d1b92
don't install <machine/db_machdep.h>, this is kernel only
2006-07-26 19:54:56 +00:00
elad
14171f6143
make the sleepable assertion in #if 0 (with commented out LOCKDEBUG for
...
later) until we sort that stuff out.
2006-07-26 17:13:26 +00:00
elad
ebdd7412b5
sync kpi with docs, remove old comments
2006-07-26 16:34:07 +00:00
elad
0050618207
deprecate "options VERIFIED_EXEC"
...
veriexec pseudo-device doesn't need a count anymore too
XXX: port masters should propagate this to their ports
2006-07-26 15:34:39 +00:00
elad
22e1a583a2
fix logic in veriexec_report()
2006-07-26 15:14:24 +00:00
kent
117c4cc6d5
add capability to support for S/PDIF.
...
If a codec supports for AC'97 S/PDIF, it will have an mixer "spdif.enable."
However, we can't change the value of the mixer without AC'97 host
driver's support.
2006-07-26 14:44:33 +00:00
itohy
ae1a2ff3d3
Remove ADM9511's "signature".
...
I don't think it is used anywhere.
2006-07-26 14:21:20 +00:00
christos
224c697f91
Patch from Dheeraj S, inspired by the following FreeBSD change:
...
Rather than calling mircotime() in catchpacket(), make catchpacket()
take a timeval indicating when the packet was captured. Move
microtime() to the calling functions and grab the timestamp as soon
as we know that we're going to call catchpacket at least once.
This means that we call microtime() once per matched packet, as
opposed to once per matched packet per bpf listener. It also means
that we return the same timestamp to all bpf listeners, rather than
slightly different ones.
It would be more accurate to call microtime() even earlier for all
packets, as you have to grab (1+#listener) locks before you can
determine if the packet will be logged. You could always grab a
timestamp before the locks, but microtime() can be costly, so this
didn't seem like a good idea.
(I guess most ethernet interfaces will have a bpf listener these
days because of dhclient. That means that we could be doing two bpf
locks on most packets going through the interface.)
2006-07-26 13:54:13 +00:00
tron
30d6332135
Bluetooth fixes by Iain Hibbert:
...
Remove bthset(4) device and add btsco(4) in its place. This is an
improved version which is not just for headsets, as it can receive
incoming connections (eg for Hands Free Profile). Update bthset(1)
control utlitiy to relate to new device.
2006-07-26 10:43:01 +00:00
tron
5d67049004
Bluetooth fixes by Iain Hibbert:
...
- Update bthidev(4) to use property lists for configuration.
2006-07-26 10:40:50 +00:00
tron
4241fec1bf
Bluetooth fixes by Iain Hibbert:
...
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
2006-07-26 10:30:59 +00:00
tron
b504a17332
Bluetooth fixes by Iain Hibbert:
...
- Enable listening and incoming connections for SCO links.
2006-07-26 10:20:56 +00:00
tron
1b42d7e7dc
Bluetooth fixes by Iain Hibbert:
...
- Clarify some deprecated commands from the 2.0 spec.
2006-07-26 10:13:49 +00:00
tron
0429374bbb
Bluetooth fixes by Iain Hibbert:
...
- Utilise cached inquiry results when making connections.
2006-07-26 10:10:06 +00:00
dogcow
c959b3c4bd
at the request of elad, as veriexec.h has returned, revert the changes
...
from 2006-07-25.
2006-07-26 09:33:57 +00:00
martin
a8770a2683
Make it compile again
2006-07-26 08:09:21 +00:00
cube
cad5e9a56c
Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
...
already an attachment to the interface attribute (atapi and scsi).
Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
2006-07-26 07:00:23 +00:00
elad
29a0dff0c0
kill dup prototype
2006-07-25 19:33:35 +00:00
elad
ddf6300b26
typo; from Arnaud Lacombe, thanks!
2006-07-25 18:43:15 +00:00
elad
290bf1e3e7
fix typoe; thanks ober
2006-07-25 18:14:20 +00:00
elad
9778bb7296
make veriexec.h be generated again; thanks cube@
2006-07-25 18:04:03 +00:00
riz
e0f4b4c3cf
Adapt to change in args for falloc(). Reported by Hisashi T Fujinaka
...
on current-users.
2006-07-25 05:14:38 +00:00
mrg
9eca1294f7
fix a typo in a comment and a very minor KNF.
2006-07-25 00:23:38 +00:00
dogcow
cc44d2fe07
mechanically go through and
...
s,include "veriexec.h",include <sys/verified_exec.h>,
as the former has apparently gone away.
2006-07-25 00:23:06 +00:00
dogcow
52a142f555
fix typo in utterly uncompilable code.
2006-07-25 00:10:42 +00:00
elad
05eb39fb84
replace magic numbers for strict levels (0-3) with defines.
2006-07-24 21:32:39 +00:00
elad
32e391d158
finally do things properly. veriexec_report() takes flags, not three ints.
2006-07-24 21:15:05 +00:00
manu
a640310a53
typo
2006-07-24 19:01:49 +00:00
gdt
cf30106955
Add UGEN_BULK_RA_WB, requested by cube@.
2006-07-24 17:41:30 +00:00
elad
5d611badde
some fixes:
...
- adapt to NVERIEXEC in init_sysctl.c.
- we now need "veriexec.h" for NVERIEXEC.
- "opt_verified_exec.h" -> "opt_veriexec.h", and include it only where
it is needed.
2006-07-24 16:37:28 +00:00
kardel
587059915b
get tickle_tc() prototyped unconditionally
2006-07-24 16:37:24 +00:00
elad
93a2eaef51
prevent removal of monitored files as early as ids mode.
...
okay blymn@
2006-07-24 16:27:15 +00:00
gdt
f9f3dc0a85
Add UGEN_BULK_RA_WB, which allows users of ugen(4) to request read
...
ahead and write behind, improving performance for the Universal
Software Radio Peripheral (USRP) used with GNU Radio.
Enable UGEN_BULK_RA_WB in GENERIC and GENERIC_LAPTOP; behavior is
unchanged unless the new ioctl is called.
This code was written by Joanne Mikkelson under funding from DARPA's
ACERT program.
ok'd by christos@, tested by Berndt Josef Wulf
2006-07-24 14:24:48 +00:00
drochner
53f4a934ae
revert previous (executable mapping of data needed for secondary CPU
...
spinup), this is not needed anymore
2006-07-24 10:57:13 +00:00
drochner
b5d3716437
Set the "NXE" bit (if available) early, before the cpu_info struct
...
is accessed. Without this, the (secondary) CPU chokes on the NX bit in
the PTE.
2006-07-24 10:55:25 +00:00
ad
f474dceb13
Use the LWP cached credentials where sane.
2006-07-23 22:06:03 +00:00
kent
6f99efd46f
For ThinkPad T60, make the default value of outputs.linein.dir "output"
2006-07-23 16:05:21 +00:00
bouyer
d252c65e9c
Add a /dev/amr* control file for amr(4) devices, which allows sending raw
...
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.
2006-07-23 12:01:25 +00:00
uwe
68272cc770
tlb_exception: Move and indent TLB_ASSERT to reduce visual clutter.
...
Fix function name in the panic message. Print expevt on panic.
Split panic message so that the dumped numbers are on a separate line.
2006-07-22 22:43:43 +00:00
uwe
3ed02eac7c
exp_type[] was constified in exception.c but an extern declaration in
...
db_interface.c was not updated. Declare it publicly. While here,
constify the array itself too.
2006-07-22 21:58:29 +00:00
tsutsui
84180e1158
- reorganize bootinfo structures and fix bootinfo handling in bootloader
...
(mostly based on pmax)
- pass symbol info from bootloader to kernel via bootinfo
(currently bootinfo is allocated in the bootloader and
copied by kernel later; maybe we should rethink about this)
- use passed bootinfo to initialize ksyms(4) in kernel
- remove options SYMTAB_SPACE from kernel config files
- bump bootloader version
2006-07-22 18:15:05 +00:00
rpaulo
25ec6d007f
revert stuff that shouldn't have gone in.
2006-07-22 17:45:03 +00:00
rpaulo
f5f6aa2ed3
TCP RFC is 793, not 783.
2006-07-22 17:39:48 +00:00
martin
a4cb6f93d2
Remove unused variable to make it compile again.
2006-07-22 15:09:09 +00:00
tsutsui
6efaa65c79
Add "-I${S}/../common/include" to CPPFLAGS for libprop sources in libkern.
...
XXX: shouldn't this be handled by sys/lib/libkern/Makefile.inc?
2006-07-22 14:11:35 +00:00
elad
e2706baefd
kill a VOP_GETATTR() we don't need for veriexec.
2006-07-22 10:40:49 +00:00
elad
a92c1615a4
deprecate the VERIFIED_EXEC option; now we only need the pseudo-device to
...
enable it. while here, some config file tweaks.
tons of input from cube@ (thanks!) and okay blymn@.
2006-07-22 10:34:26 +00:00
elad
a6e0095c33
oops, no 'p' here. from xtraeme@.
2006-07-22 09:59:24 +00:00
elad
7e7591e119
if LOCKDEBUG, assert that we can sleep in kauth_authorize_action().
...
discussed with yamt@ on tech-kern.
2006-07-22 09:24:25 +00:00
elad
6f83bb0086
don't call kauth_authorize_generic() when holding a lock, from yamt@.
2006-07-22 09:22:21 +00:00
yamt
54a9d2b0f7
- genfs_getpages: in the case of PGO_LOCKED, check if we can acquire
...
g_glock as suggested by Chuck Silvers on tech-kern@.
- genfs_rel_pages: handle PGO_DONTCARE so that it can be used for the above.
2006-07-22 08:49:13 +00:00
yamt
f9458a6ba1
- in genfs_getpages, take g_glock earlier so that it can't be
...
intervened by truncation.
it also fixes a deadlock. (g_glock vs pages locking order)
- uvm_vnp_setsize: modify v_size while holding v_interlock.
reviewed by Chuck Silvers.
2006-07-22 08:47:56 +00:00
tsutsui
83d364980f
TAB/space cleanup.
2006-07-22 06:58:17 +00:00
tsutsui
ecc22258ee
- remove parentheses from return
...
- remove trailing spaces
2006-07-22 06:42:41 +00:00
tsutsui
999dc402f0
KNF, remove register decls
2006-07-22 06:40:44 +00:00
tsutsui
9b4ab881f1
- include <m68k/m68k.h> for fputype decl
...
- some KNF
2006-07-22 06:40:20 +00:00
tsutsui
2bf43cdfa1
remove __P(), ANSIfy, KNF, use pmap_t rather than struct pmap *
2006-07-22 06:37:27 +00:00
tsutsui
2895c250c2
KNF, ANSIfy, remove register decls
2006-07-22 06:36:06 +00:00
tsutsui
4d891ed888
KNF and misc cosmetics
2006-07-22 06:34:41 +00:00
tsutsui
f430313b2d
- remove unused decls.
...
- remove parentheses from return arg
2006-07-22 06:32:17 +00:00
tsutsui
c15c158ffc
KNF, ANSIfy, de-__P(), bzero() -> memset()
2006-07-22 06:27:00 +00:00
uwe
acfbe0b252
Report traps from user break controller as ksi_code = TRAP_TRACE
2006-07-22 03:22:15 +00:00
uwe
2e7b010133
Minor cosmetics.
2006-07-22 03:06:56 +00:00
uwe
43d9f78e91
Using "irq" in different functions to either x or 1<<x is confusing.
...
Rename.
2006-07-22 02:13:06 +00:00
uwe
c50fbd7f2b
We don't need to update HD6446X_NIMR when (dis)establishing an
...
interrupt as splx will update it from the recomputed mask anyway.
2006-07-22 01:53:49 +00:00
uwe
485a350c1b
hd6446x_intr_priority_update: simplify.
2006-07-22 01:34:55 +00:00
uwe
e8ceae81ee
Shave off one instruction in hd6446x_intr_raise.
2006-07-22 01:16:16 +00:00
gdamore
b846198ad4
Initial implementation for Marvell 88E6060 10/100 5-port PHY switch, from
...
Sam Leffler, used in various products including AR5312-based designs. This
is not enabled in any configs yet, nor tested by anyone other than Sam. I
will be testing this more later, and adding it to appropriate configs once
I have verified (unless someone else beats me to the punch.)
2006-07-21 23:55:27 +00:00
tsutsui
b6558b0616
Use bus_space_map(9) and bus_space_vaddr(9).
2006-07-21 18:40:58 +00:00
tsutsui
a75de8e2db
Use more proper macro.
2006-07-21 18:11:01 +00:00