jym
96f9080096
Fixes in the iwi(4) driver to better handle errors:
...
- bus_dmamap fixes, with checks against NULL
- move the rings' allocation code later in iwi_attach() to avoid NULL pointer
dereference if allocation fails
- avoid double free() in case of failure during attach. If an allocation fails,
do not free the ring directly, as it is handled by iwi_detach()
- only set ring->count for RX/TX rings when ring allocation is successful, or
else the for loop during detach will fail with a NULL dereference.
- call pci_intr_disestablish() if iwi_reset() fails during attach; driver is
in an incoherent state, interrupt handler should not be used.
Proposed by me on tech-net@, approved by christos@. Compiled and tested
with GENERIC and XEN3_DOM0 kernels.
2009-03-13 21:57:07 +00:00
cube
1894a7d27b
Now that condmkopttab isn't a hash table anymore, don't initialise it with
...
ht_new()... So actually rename it to condmkoptions to avoid confusion.
Reported build failure on amd64 (strange that I wouldn't get it on i386) on
current-users by Kurt Schreiner.
2009-03-13 20:44:59 +00:00
bouyer
c27d58c8b1
Keep the BIOS-configured interrupt number if intr_find_mpmapping() doesn't
...
return a APIC_INT_VIA_APIC pirq.
Problem debugged and patch tested by jym@
2009-03-13 20:19:56 +00:00
abs
b17f6f5834
Revert test from MACHINE_ARCH to MACHINE, as this can be called with
...
with MACHINE_ARCH=sparc MACHINE=sparc64 when building 32bit kernels for
ultrasparc hardware. Picked up by nakayama@ - thanks.
Add a comment explaining this odd case
2009-03-13 19:16:46 +00:00
abs
072d8cc491
Use separate free lists for TT and ST ram, and give TT a lower id
...
so all TT ram will be used before any ST ram. (free_list param to
uvm_page_physload())
Tested on a TT with and without TT ram.
2009-03-13 19:08:20 +00:00
plunky
bb3009f7a7
Deprecate the SIOCSIFPHYADDR ioctl and the sysctl node in favour
...
of the generic SIOCALIFADDR.
As suggested by cube.
2009-03-13 18:40:10 +00:00
cube
9f700fdcd2
Follow the syntax of file conditionals for makeoptions, using minor case
...
versions of options.
2009-03-13 18:25:58 +00:00
cube
a16a636500
Actually allow a full expression for the condition for "makeoptions" in
...
files.*
Patch from Yorick Hardy.
2009-03-13 18:24:41 +00:00
tsutsui
9022b75da5
- move sgimips xorg stuff which has been pulled up
...
- add a couple of pulled up changes
2009-03-13 18:18:41 +00:00
plunky
6879249b2c
add the xdm config files Xstartup and Xreset to the build
2009-03-13 17:12:44 +00:00
nakayama
fd33b05ec2
Fix typo. (s/_HARKDERNEL/_HARDKERNEL/)
2009-03-13 16:40:22 +00:00
perry
1fd3f53afd
Add a MKARZERO flag, which invokes ar(1) with the new D flag when it
...
is set to "yes" -- defaults to "no" except for build.sh builds. This
results in a deterministic .a file rather than one that reflects
timestamps and permissions on the source files.
Also, clean up the ar flags we're using, and remove a redundant use of
ranlib that on a modern POSIX ar can be done with the "s" flag.
Discussed on tech-toolchain
2009-03-13 16:23:31 +00:00
yamt
6f8f12ad37
nfs_lookup: fix a comment.
2009-03-13 15:01:29 +00:00
yamt
d32e59ebfc
nfs_bioread: don't truncate values in a debug printf.
2009-03-13 15:00:34 +00:00
joerg
535e7ea662
.Ud doesn't take arguments.
2009-03-13 14:23:30 +00:00
joerg
51c2955e45
Use .Rs/.Re for reference to C shell introduction.
2009-03-13 14:07:54 +00:00
nonaka
a3bafaad7a
zaudio(4) works now.
2009-03-13 13:55:18 +00:00
joerg
ddf187c649
Fix number of columns in .Bl. Escape %C.
2009-03-13 11:13:46 +00:00
joerg
35d9d36c82
Use .Tn for XMODEM. Use .Bl -column for physically marked up table.
2009-03-13 11:12:28 +00:00
yamt
e5b76680cb
tprof_amdpmi_start_cpu: PESR_COUNTER_MASK=0 for simplicity.
...
(my understanding of the value is that 0 and 1 mean the same thing.)
2009-03-13 11:10:20 +00:00
yamt
a67bd192f6
tprof_pmi_start_cpu: replace magic numbers with a macro.
2009-03-13 11:07:54 +00:00
yamt
34ccaa3db1
tprof_stop1: add an assertion.
2009-03-13 11:06:26 +00:00
yamt
6fb9967219
do_sys_unlink: remove an unused credential.
2009-03-13 11:05:26 +00:00
yamt
58327f9672
VNODE_FLAGBITS: fix octal counting.
2009-03-13 11:04:25 +00:00
joerg
7ffbcccbf3
Don't use macros for the synopsis. Improve markup to break argument
...
groups together by not splitting opening and closing macro over lines.
2009-03-13 10:51:56 +00:00
tteras
0c68acc1de
From Arnaud Ebalard: Fix couple of problems with previous commit.
2009-03-13 04:49:16 +00:00
he
976380d183
When casting to/from a pointer to an integral type (a bad practice,
...
if you ask me), you need to cast via intptr_t for portability.
2009-03-12 23:05:27 +00:00
dyoung
5786b3376f
Fix spelling: s/parition/partition/.
2009-03-12 22:59:03 +00:00
abs
f681b265bc
Prefer MACHINE_ARCH to MACHINE in some tests
2009-03-12 17:16:58 +00:00
wiz
389d0303dd
Add missing comma in enumeration.
2009-03-12 16:09:56 +00:00
wiz
2df943f931
New sentence, new line. Avoid marking up punctuation.
2009-03-12 15:18:57 +00:00
bsh
01bbe49d65
Turn off interrupt disable bit in command status reg.
...
This is necessary to make S-ATA drives work on some motherboards with
SiS964 including my ASUS P4S800D.
2009-03-12 15:02:42 +00:00
cegger
960d9f288f
- beautify dmesg
...
- print family id if not supported
spotted by jmcneill@
2009-03-12 14:24:17 +00:00
wiz
0d4480d10a
Bump date for previous. Sort options to establish-sa.
...
Stop using Xo/Xc.
2009-03-12 14:01:09 +00:00
wiz
5c82067abe
Remove USETBL, now that man page does not need tbl any longer.
2009-03-12 13:52:47 +00:00
msaitoh
507aaf9eef
Add rnd stuff.
2009-03-12 13:15:13 +00:00
wiz
0dcfdade1a
Remove trailing whitespace.
2009-03-12 13:14:18 +00:00
wiz
52e3c1f016
New sentence, new line.
2009-03-12 13:13:16 +00:00
tsutsui
c6db9543e8
- fix rsync URLs in examples
...
- rsync(8) -> rsync(1)
2009-03-12 13:08:46 +00:00
njoly
56695ef522
In is_number(), do not check strtod() result against HUGE_VAL which
...
will result in a SIGFPE on non IEEE hardware. Instead, check the
provided buffer for "nan" string.
This make native build work again on alpha.
2009-03-12 13:04:01 +00:00
abs
fbcfe9c7af
Clarify free_list usage in uvm_page_physload() regarding faster/slower RAM.
...
Slower RAM should be assigned a higher free_list id.
No functional change to code, just comments and manpage
2009-03-12 12:55:16 +00:00
joerg
9df66b68e0
Explicitly mark : as literal, use Pq.
2009-03-12 12:51:29 +00:00
joerg
441cf5a9bb
Replace physical markup with .Bl -column.
2009-03-12 12:50:31 +00:00
joerg
9b5703cfb2
Replace vertical spaces with paragraphs.
2009-03-12 12:49:36 +00:00
joerg
c6d6c060d8
Replace vertical space with paragraph breaks.
2009-03-12 12:48:56 +00:00
joerg
43e5aad940
No space between dot and macro name.
2009-03-12 12:48:26 +00:00
joerg
5d4d55d864
Remove redundant physical markup. Don't workaround ancient macro argment
...
limit with .Xo/.Xc.
2009-03-12 12:47:49 +00:00
joerg
628af9a360
Don't workaround ancient macro argument limit with .Xo/.Xc.
2009-03-12 12:46:49 +00:00
joerg
9f33bc066d
Fix markup.
2009-03-12 12:46:17 +00:00
joerg
9e7bb98513
Consistently use .Dv for SA_SIGINFO, .Sv doesn't exist.
2009-03-12 12:44:08 +00:00