Commit Graph

183424 Commits

Author SHA1 Message Date
tls
fd671f648a Add a direction argument to socket upcalls, so they can tell why they've
been called when, for example, they're waiting for space to write.  From
Ritesh Agrawal at Coyote Point.
2009-09-02 14:56:57 +00:00
tsutsui
d90bf6dc81 Call ahc_shutdown() during system shutdown via pmf_device_register1(9),
as well as pre-pmf(9)'fied kernel did via shutdownhook_establish(9).
Tested on O2.

ahc_suspend() and ahc_resume() are still disabled due to lack of hardware.
Anyone who can test Cardbus APA-1480?
2009-09-02 11:44:11 +00:00
tsutsui
1056cb0520 Call pmf_device_register(9) in ahc_attahc() rather than ahc_pci_attach()
since pmf_device_deregister(9) is called from ahc_detach() so that
cardbus backend also gets proper pmf(9) calls.
PCI backend is tested on on O2, but cardbus is untested.
2009-09-02 11:10:37 +00:00
ahoka
b9e737479b Mention sched_m4. 2009-09-02 10:54:20 +00:00
tsutsui
0f7a15058c Invert logic around nested pmf(9) registrations for readability. 2009-09-02 10:43:24 +00:00
tsutsui
531b631d68 Some backends may use ncr53c9x_abort(), so remove static declaration from
the function and explicitly declare it in ncr53c9xvar.h.  Noticed by he@.
2009-09-02 10:34:04 +00:00
pooka
5523d7f5c9 Initialize devsw (lock) early so that subsystems may play with it. 2009-09-02 08:07:05 +00:00
skrll
dd9009a209 More sections to remove when doing ELF->a.out conversion. 2009-09-02 07:48:50 +00:00
mrg
6769a80c80 - normalize netbsd drm_mtrr_del() with freebsd, removing a few #if's
- make the mtrr code do nothing on non-x86
2009-09-02 01:36:41 +00:00
mrg
2d22194137 remove a memset() that isn't necessary. 2009-09-02 01:34:34 +00:00
wiz
9e5519cfe8 Make HTML-ready. 2009-09-01 22:12:05 +00:00
elad
8fbf70d4eb Add useful example program from
http://mail-index.netbsd.org/tech-kern/2009/09/01/msg006020.html
2009-09-01 22:01:48 +00:00
jmcneill
f6062bf27a aprint-ify 2009-09-01 21:46:52 +00:00
jmcneill
1706b83ae7 aprint-ify. 2009-09-01 21:46:07 +00:00
ahoka
2638650e6f Document the vesa command. 2009-09-01 21:30:17 +00:00
macallan
399ee2de4f we don't build libtin10 and xorgconfig on sgimips 2009-09-01 19:46:56 +00:00
plunky
0b2b507e45 bump date for previous 2009-09-01 18:20:14 +00:00
plunky
e4d755d754 add xrefs for bluetooth drivers bcsp(4), btbc(4) and sbt(4) 2009-09-01 18:19:08 +00:00
plunky
ff3abe1407 update/correct printing of HCI version numbers according to the
recently published Assigned Numbers documents at www.bluetooth.com
2009-09-01 18:04:33 +00:00
plunky
7216fe5048 update/correct specification IDs according to recently published
Assigned Numbers documents at www.bluetooth.com
2009-09-01 18:02:44 +00:00
tsutsui
e1e11a8c8e Also call pmf_class_network_register(9). 2009-09-01 17:12:42 +00:00
tsutsui
943109cbb1 Check a return value of pmf_device_register1(9) and also call
pmf_class_network_register(9).
2009-09-01 17:10:42 +00:00
tsutsui
a2ff563552 Replace shutdownhook_establish(9) with pmf_device_register1(9). 2009-09-01 15:19:20 +00:00
pooka
3a1b983101 Set vnode size after creation(*). Fixes cp(1) from ntfs, the
complaint in the "ntfs ubc_uiomove error" (ubc_uiomove error was
not coming from ntfs but instead the "to" file system) and PR
kern/38531 (well, I assume the submitter wanted cp(1) working on
ntfs instead of mangling ntfs the way the PR title suggests).  Yes,
mmap works on ntfs like it always has.

*) well, um, and in other places too ... uuuh ... no comments.
but I guess this works as long as in-kernel ntfs doesn't grow write
support.
2009-09-01 15:16:41 +00:00
pooka
3ef732fbf6 fix tybo 2009-09-01 12:23:36 +00:00
tteras
ae0beb16dc Check nat_traversal configuration from remote configuration candidates
when acting as responder. Enable NAT-T if any of the remote candidates
have NAT-T enabled.
2009-09-01 12:22:09 +00:00
tteras
5e74d5d98f Change remote conf matching level to matching score. This way one can
override anonymous certificate block config with more exact "inhereted"
IP specific block.
2009-09-01 09:49:59 +00:00
tteras
43e6802298 From Maik Broemme: export ISAKMP SA identity as REMOTE_ID for phase1 up
script (trac #313).
2009-09-01 09:24:21 +00:00
rmind
e24f6c0896 Turn off pipe's direct I/O again, it corrupts the data (although build and
various activity survived while testing this).  Corruptions also happen on
sparc64 where emap is not in effect, therefore bugs are in direct I/O code.
2009-08-31 20:48:14 +00:00
tron
a657e1c872 Note import of Postfix 2.6.5. 2009-08-31 19:06:25 +00:00
tron
165eb454ca Resolve conflicts from last import. 2009-08-31 17:57:09 +00:00
tron
05fa9772ea Import Postfix 2.6.5. Changes since Postfix 2.6.2:
- The Postfix Milter client got out of step with a Milter application
  after the application sent a "quarantine" request at end-of-message
  time. The Milter application would still be in the end-of-message
  state, while Postfix would already be working on the next SMTP
  event, typically, QUIT or MAIL FROM. In the latter case, Milter
  responses for the previously-received email message would be applied
  towards the next MAIL FROM transaction. This problem was diagnosed
  with help from Alban Deniz.
- The Postfix SMTP server would abort with an "unexpected lookup table"
  error when an SMTPD policy server was mis-configured in a particular way.
2009-08-31 17:53:31 +00:00
tsutsui
0b880aebb9 Replace shutdownhook_establish(9) with pmf_device_register1(9).
Also check howto to print appropriate "Rebooting..." or "Halting..." messages.
2009-08-31 15:18:55 +00:00
cube
76ccaa8650 Don't reference files that don't exist, and cvs diff before commit. 2009-08-31 14:48:41 +00:00
tsutsui
9ddabccc10 Treat 8168DP as well as 8168C/CP/D. From FreeBSD. 2009-08-31 13:05:30 +00:00
yamt
7dc10fea3d nd6_ifattach: fix a missing parens bug in rev.1.132. 2009-08-31 12:37:59 +00:00
dholland
e28fc9086c Dumping all system includes anything uses in one big header file is so 1986.
XXX: Removing unused declarations (thus, unused headers can trigger
XXX: it) sometimes causes gcc to generate substantially different
XXX: code. Dunno why but it looks rather like a gcc bug.
2009-08-31 08:27:16 +00:00
wiz
a7c1bdeb22 New sentence, new line. 2009-08-31 07:45:24 +00:00
dholland
83b3dbf601 Fix up seriously borked mallocing of a static buffer, which seems to
have been this way since at least 4.4. This will still dump core if
malloc fails on the first trip through, instead of on any malloc
failure, but should otherwise behave much more reasonably.
2009-08-31 07:11:16 +00:00
dholland
da5f74ac6d if we're updating this... add myself under make and lfs, and add a
line for vfs.
2009-08-31 06:21:54 +00:00
dholland
869e0ec654 Use uintptr_t instead of uint32_t as an intermediate stage when
casting from off_t to a pointer. This way it compiles in a 64-bit
world. Dunno if it'll work though with 64-bit mips kernel addresses,
which are in the negative range of 64-bit off_t.
2009-08-31 05:36:23 +00:00
dholland
97d7a71b45 Use uintptr_t instead of int when munging fcntl flags, which are
pointer-sized integers. Now builds in a 64-bit world, might even work :-)
2009-08-31 05:34:16 +00:00
cube
9a23b0e1a5 .Sx to refer to a section, and add one ref to the lint stuff for clarity. 2009-08-31 03:39:00 +00:00
christos
461d0372fd delete defined(sun), it could be invaded in the user namespace. Suggested
by mrg@
2009-08-31 00:05:43 +00:00
hubertf
206ec737e8 Make sure cdrom/etc exists before copying files into it.
Needed when someone sets CDRUNTIME to "" in  a subdirectory's Makefile,
to not get anything besides a kernel and maybe a ramdisk (module) on a CD.
2009-08-30 22:30:30 +00:00
mrg
d3f868030f move protocol.txt from xserver/md.* into xbase/mi, since it's built
on all Xorg platforms, not just ones using hw/xfree86.

reported by he@ and noticed by i understand 32 autobuilds.
2009-08-30 21:27:35 +00:00
cube
323b339462 For {pseudo-,}devices, check if an instance of the pseudo or the considered
attachment of the device has already been done by the template config file.
If so, don't emit a line.  Reported by John Nemeth.
2009-08-30 21:07:41 +00:00
plunky
9abf5ef727 actually exit on errors 2009-08-30 19:24:40 +00:00
plunky
ca9e57b2e6 (perhaps) fix a long standing issue that I came across recently. If
you repeatedly enable/disable a ubt device it sometimes hangs in
the bluetooth initialisation where the device responses never arrive,
but if you interrupt and try again it works fine.

additionally aborting the default pipe on shutdown seems to fix that
2009-08-30 18:35:53 +00:00
christos
fc1ddab2f3 Change _POSIX2_VERSION for shells and utilities to 200112L to match
_POSIX_VERSION. Requested by Channa.
2009-08-30 16:38:48 +00:00