Commit Graph

130367 Commits

Author SHA1 Message Date
wiz
c7f456efa5 Not sparc-specific, or it should be in man4.sparc. 2004-09-09 21:39:07 +00:00
bouyer
4849b82163 Make the xxstart() functions reentrant again, as some drivers HBA can call
scsipi_done() from their scsipi_request().
For this, add a struct scsipi_xfer * argument to scsipi_command().
If not NULL scsipi_command() will use this to enqueue this xfer, otherwise
it'll try to allocate a new one. This scsipi_xfer has to be allocated
and initialised by scsipi_make_xs() or equivalent.
In xxstart(), allocate a scsipi_xfer using scsipi_make_xs(), and if not NULL,
dequeue the buffer before calling scsipi_command(). This makes sure that
scsipi_command() will not fail, and also makes sure that xxstart() won't
be called again between the BUFQ_PEEK() and BUFQ_GET().

Fix "dequeued wrong buf" panics reported by Juergen Hannken-Illjes in
private mail and Andreas Wrede on current-users@.
Thanks to Jason Thorpe and Chuck Silver for review, and Andreas Wrede for
testing the patch.
2004-09-09 19:35:30 +00:00
yamt
c3b066f850 pull following fixes from openbsd. ok'ed by itojun.
> ----------------------------
> revision 1.58
> date: 2004/06/23 04:34:17;  author: mcbride;  state: Exp;  lines: +5 -3
> pfr_commit_ktable calls functions that can result in the current
> ktable being destroyed, which makes it unsafe in a SLIST_FOREACH.
>
> Fix from Chris Pascoe
> ----------------------------
> revision 1.56
> date: 2004/06/11 05:21:20;  author: mcbride;  state: Exp;  lines: +5 -3
> Eliminate a dereference after pool_put when an inactive/no-longer referenced
> table is destroyed in pfr_setflags_ktable.
>
> Fix from Chris Pascoe
> ----------------------------
2004-09-09 14:56:00 +00:00
tron
e5f111e223 Next attempt to fix the RCS Id. *sigh* 2004-09-09 10:45:52 +00:00
tron
7bcbb2f394 Fix RCS Id lossage caused by last commit. 2004-09-09 10:44:46 +00:00
tron
e22003b771 Finish linux_sys_exit_group() with a (never reached) "return" statement so
that GCC will actually compile this.
2004-09-09 07:02:50 +00:00
thorpej
e49a083756 Add the EFI System Partition MBR partition type. 2004-09-09 04:55:53 +00:00
thorpej
bba02e25de Add the GPT Protective MBR partition type. Sort MBR ptype constants. 2004-09-09 04:19:38 +00:00
enami
051622a62d Print missing newline on attach. 2004-09-09 01:40:13 +00:00
lukem
ac418f52f5 Explicitly flush (-Fa) rules when loading or reloading IPv4 and IPv6 rules,
rather than relying upon running "ipf -Fa" beforehand (which only flushes IPv4)
Should fix PR 26885 and PR 26857.
2004-09-09 00:33:03 +00:00
drochner
27a661f0fb use interface attribute / locator passing versions
of config_search()
2004-09-08 20:13:52 +00:00
drochner
bbd13d13d1 use interface attribute / locator passing versions
of config_search(),
and some KNF/whitespace cleanup
no functional changes
2004-09-08 20:12:20 +00:00
drochner
4eda675cde use interface attribute / locator passing versions
of config_search()
2004-09-08 20:08:46 +00:00
drochner
57cc3c5e5e remove a redundant check 2004-09-08 19:59:15 +00:00
jdolecek
3b18315bb9 regen: add exit_group(2) 2004-09-08 19:46:17 +00:00
jdolecek
78569d6650 implement basic exit_group(2), which just terminates calling thread;
apparently not many apps use thread groups yet, at least not with default
SuSE 9.1 libraries, so this is enough for now
2004-09-08 19:45:21 +00:00
jdolecek
6b3117d804 do more strict flag checking in clone(2) (matches what Linux does) 2004-09-08 19:41:24 +00:00
jdolecek
f2d3769fa4 compute the shared memory location instead of hardcoding list of 'known'
pos3 values for 8013 variants; fixes attachment for some variants

patch provided in PR port-i386/26877 by Dave Barnes
2004-09-08 19:09:43 +00:00
christos
0d0ad08914 cut out the middle-man and use el_insertstr() directly. 2004-09-08 18:15:57 +00:00
christos
742c0a6b61 make rl_inhibit_completion visible. 2004-09-08 18:15:37 +00:00
jdolecek
eefdd9368e fix mask for getting WD8003 I/O address location, so it works even
for 0x300-0x3E0 bases; also miscellaneous white-space and comment fixes

patch provided by in PR port-i386/26871 by Dave Barnes
2004-09-08 17:44:53 +00:00
yamt
31715f4eb9 remove no longer needed caddr_t casts to reduce diffs from openbsd. 2004-09-08 12:11:25 +00:00
yamt
7b09a1e089 m_copyback, m_copyback_cow, m_copydata:
- caddr_t -> void *
- constify.
partly from openbsd.
2004-09-08 12:00:28 +00:00
yamt
80c1fe0c1d - move a common part of MEXTREMOVE and MFREE into a inline function.
- wrap more definitions in #ifdef _KERNEL.
2004-09-08 11:59:01 +00:00
jmmv
5a9d24809c Set valid values for the (commented out) WS_DEFAULT_COLATTR and
WS_DEFAULT_MONOATTR options.  This way, if a user blindly uncomments
them, he will not get a build failure.  Addresses PR kern/26503.
2004-09-08 11:38:22 +00:00
simonb
965b11f656 Fix non-ELF case in _nsloadmod(). 2004-09-08 10:52:56 +00:00
yamt
d08391b2a3 buf_trim: a buffer grabbed by getnewbuf() should be clean and anonymous.
thus, there's no need to check and handle B_WANTED here.
2004-09-08 10:20:15 +00:00
yamt
64308e90f3 arc4random: fix a bug introduced by rev.1.7.
actually generate four bytes random value, rather than
leaving a byte always zero.
2004-09-08 04:06:15 +00:00
lukem
9624ff4ee6 add postconf.5.html OVERVIEW.html 2004-09-07 23:56:08 +00:00
lukem
dce1aace09 Revert previous, per Perry's request (maintainer of postfix in NetBSD) 2004-09-07 23:53:22 +00:00
lukem
11e341bed2 add postconf(5) 2004-09-07 23:51:50 +00:00
lukem
a1e01ef943 Revert previous, per Perry's request (maintainer of postfix in NetBSD) 2004-09-07 23:50:32 +00:00
wiz
201f9fdaab - fix a device name
- grammar fixes
- capitalization fix
- add missing words
From Christian Brueffer in PR 26870.
While here: New sentence, new line, and add a comma.
2004-09-07 15:15:51 +00:00
wiz
6da0cfcad6 Grammar improvements, sort SEE ALSO, fix a typo. 2004-09-07 13:55:22 +00:00
jrf
190b2e4c51 Replaced strncpy with strlcpy. Thanks to Peter Postma who
pointed them our in PR #25762. Approved by christos@NetBSD.org.
2004-09-07 13:20:39 +00:00
taca
900e6a5a0e Add missing ./usr/share/man/cat9/m_tag_copy.0. 2004-09-07 12:28:34 +00:00
enami
94265c64d4 Fix default format so that not to print NULL (e.g., ldd mozilla-bin). 2004-09-07 02:54:40 +00:00
lukem
1e6cfcfcaf fix typo 2004-09-07 02:18:06 +00:00
enami
5cdda6c35f ath_debug is bitmask and takes much wider value than 0, 1, or 2. 2004-09-07 01:15:59 +00:00
enami
a4ee532ba4 Adjust caller for net/if_ieee80211subr.c rev 1.11 change; the argument
`reassoc' is replaced with testing if the type is ..._REASSOC_REQ.
2004-09-07 01:07:40 +00:00
enami
872adc6ce0 No need to disable if we failed before enabling it. 2004-09-07 00:24:18 +00:00
thorpej
9946bbdb7a Use CPUFLAGS for codegen options. 2004-09-06 23:41:21 +00:00
uwe
7caf846e65 Add lxtphy.
Requested in PR port-hpcsh/26863.
2004-09-06 23:32:59 +00:00
yamt
7e5cc54607 fix typos. 2004-09-06 21:53:25 +00:00
yamt
2b4fe0218c sort. 2004-09-06 21:47:45 +00:00
yamt
c63e47f8b1 add MLINKS for each mbuf tagging functions. 2004-09-06 21:46:46 +00:00
bouyer
76f52e0733 Fix comment: xxstart() can also be called from xxrestart() 2004-09-06 20:38:14 +00:00
is
83e64d1f98 We don't build split sets anymore... don't confuse users. 2004-09-06 19:08:47 +00:00
is
78cf568c49 Clarify Apollo-accelerator-modifed-mainboard-SCSI vs.
Apollo-accelerator-provided-SCSI support status.
2004-09-06 18:56:16 +00:00
yamt
419ed6dbbc add m_tag(9). 2004-09-06 18:25:00 +00:00