164698 Commits

Author SHA1 Message Date
dyoung
10bb018ab2 In sysmon_wdog_unregister(), do not return until all of the watchdog
timer's users are gone.  A signal cancels the unregister:
sysmon_wdog_unregister() leaves the watchdog registered.

The only user of sysmon_wdog_unregister() that I can find is in
elansc(4), so this looks like a safe change to make.
2007-12-16 21:07:45 +00:00
dyoung
471ee9702c Add a childdetached handler. This lets us detach devices from
mainbus0. E.g.,

# drvctl -d pci0
elansc0 detached
cardbus0 detached
pcmcia0 detached
cardslot0 detached
cbb0 detached
rtw0 detached
cardbus1 detached
pcmcia1 detached
cardslot1 detached
cbb1 detached
nsphyter0 detached
sip0 detached
nsphyter1 detached
sip1 detached
pci0 detached
#

Alas, we cannot re-attach devices to mainbus, yet.
2007-12-16 20:57:21 +00:00
dyoung
2bfef6f106 Add config_deferred() for forcing the deferred configuration to
run, which we need to do from drvctl(4) sometimes.

Add device_foreach_child() for calling a function on each child of
a device_t.

Add config_detach_children() for detaching all of the children of
a device (uses device_foreach_child()).
2007-12-16 20:49:52 +00:00
dyoung
50ee1db9f5 #include <sys/stdint.h> for uint64_t. 2007-12-16 20:45:59 +00:00
pooka
08c7b6138e * nuke puffs_cc_get{specific,usermount} for good
* move prototypes for puffs_docc and puffs_dopufbuf into the
  public header, as they are should be exposed
2007-12-16 20:02:57 +00:00
pooka
369391b0a0 Clarify that link_target in node_symlink is null-terminated. 2007-12-16 19:10:58 +00:00
christos
f54e064ee9 add null pmf handlers. 2007-12-16 19:01:35 +00:00
elad
ce55394a89 Oops. Remove kauth.h inclusion.
Pointed out by gdt@, thanks.
2007-12-16 18:39:57 +00:00
phx
c6d327a8be At least under certain (mis)configurations (e.g. on the "Pegasos" board)
the VT8231-IDE's native mode only works with irq 14/15, and cannot be
programmed to use a single native PCI irq alone. So we install an interrupt
handler for each channel, as in compatibility mode.
This behaviour has to be activated by the "use-compat-native-irq" property,
otherwise the driver works as before.
2007-12-16 16:41:01 +00:00
apb
f90ed3540d s/07555/0755/ in permissions of /dev file system. Thanks to
Dieter Roelants for the report.
2007-12-16 16:09:27 +00:00
he
5ccc78e887 Remove a local variable which is no longer used. 2007-12-16 14:21:43 +00:00
elad
7beaf4911f Really fix low port allocation, by always passing a valid lwp to
in_pcbbind().

Okay dyoung@.

Note that the network code is another candidate for major cleanup... also
note that this issue is likely to be present in netinet6 code, too.
2007-12-16 14:12:34 +00:00
degroote
9fe6472fc5 Add support for the command list scan in ifconfig (this command permits to scan
access point in the neighbourhood).

Complete list of channel attributes and list of management information element
payload.

While here, use estrlcpy instead of strncpy.

From FreeBSD ifconfig and net80211
2007-12-16 13:49:21 +00:00
lukem
433c095cb8 Add references to various protocol pages that support setsockopt(2).
Makes it much easier to find them.
2007-12-16 09:49:28 +00:00
apb
d1108f97fb shorten lines > 80 chars; remove trailing spaces; unexpand tabs. 2007-12-16 08:10:00 +00:00
apb
4cb750b592 Mention revent MAKEDEV(8) changes. 2007-12-16 07:51:28 +00:00
mrg
cd5f1957b6 move the arm32 cpu_intr_p() function into arm32_machdep.c
from arm_machdep.c.  this lets acorn26 link again.
2007-12-16 07:31:47 +00:00
perry
9dfe283011 remove cdefs.h at mrg's request 2007-12-16 02:38:24 +00:00
mrg
f38a1578dc catch up with LOCKDEBUG changes. 2007-12-16 02:23:55 +00:00
dyoung
058d9b982e Synchronize device detachment with network interrupts. Use the
pmf network class instead of powerhooks.
2007-12-16 00:04:07 +00:00
dyoung
7ab662e649 Add a detach routine. 2007-12-16 00:00:08 +00:00
dyoung
868758b808 In ath_pci_detach(), unmap bus memory. 2007-12-15 23:56:54 +00:00
christos
177940c72e use vnode_to_path. 2007-12-15 23:52:00 +00:00
dyoung
fca36f8a1a sip_copy_small and gsip_copy_small should not be static any longer.
Make it so.
2007-12-15 23:04:57 +00:00
perry
d4b751b032 Remove lots of redundant __attribute__((__noreturn__))s
The lines already had __dead on them. I wonder why they had both...
2007-12-15 22:01:25 +00:00
he
2ffc7d4a2b Only declare sip_copy_small under __NO_STRICT_ALIGNMENT, to afoid
a "defined but not used" warning turned into error by compiler options.
2007-12-15 21:51:45 +00:00
snj
5a1d0f0133 Sort xrefs. 2007-12-15 21:44:15 +00:00
apb
824c1f08d4 Update for the fact that MAKEDEV uses either tmpfs or mfs. 2007-12-15 21:33:49 +00:00
apb
802860abdb When MAKEDEV creates a memory file system, let it try mount_tmpfs(8)
before falling back to mount_mfs(8).  Also calculate required number
of inodes more accurately.

Discussed in tech-userlevel.
2007-12-15 21:33:13 +00:00
perry
441197bc3b de-__P, ansify prototypes 2007-12-15 20:36:11 +00:00
pooka
049d39b202 document puffs_dopufbuf 2007-12-15 20:11:38 +00:00
pooka
96294df307 update to match reality 2007-12-15 20:08:06 +00:00
pavel
1bde439405 Remove a spurious paragraph break from the start of the generated
text. Bump date.
2007-12-15 19:48:16 +00:00
perry
8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
jmcneill
381f4068ae Provide a stub acpi_md_sleep_init on xen, pointed out by Paul Goyette
on current-users.
2007-12-15 19:24:17 +00:00
agc
2c5108a997 Update the number of packages in pkgsrc to match reality.
Dedicate the 4.0 release to the memory of itojun.
2007-12-15 19:16:57 +00:00
yamt
5755384fd5 fix a comment. 2007-12-15 18:20:11 +00:00
yamt
0b6f963133 .htm -> .html 2007-12-15 17:49:14 +00:00
jmmv
80aba14b89 Update URLs after website reorganization in the motd check; per pavel@'s
request.  Closes PR misc/37070.
2007-12-15 17:48:38 +00:00
apb
beae89cd6d In MAKEDEV.tmpl:
* Add a nooutput function to be used instead of redirecting to /dev/null,
  because /dev/null might not exist early in the boot sequence.  This
  should fix a bug in which the pax autodetection failed when used from
  init(8) with a read-only root file system without a /dev/null.
* Move most of the main program into a new makedev_main function,
  to allow reuse by MAKEDEV.local.

In MAKEDEV.local:
* Use the new makedev_main function defined in MAKEDEV.  This allows
  MAKEDEV.local to support all the options understood by MAKEDEV, instead
  of only a subset.  This should fix a bug in which the setup() function
  could try to use pax mode even though that was previously not supported.

In MAKEDEV.local man page:
* Update list of command line options.
* Don't explain all the options, just refer to MAKEDEV(8) man page.
* Remove BUGS section now that all MAKEDEV options are supported
  by MAKEDEV.local.
2007-12-15 17:28:09 +00:00
perry
36c7456d7c include sys/cdefs.h so that __attribute__ can be fixed later 2007-12-15 16:32:05 +00:00
pavel
83ae3a0049 Note the socket(2) syscall change. 2007-12-15 16:25:46 +00:00
pavel
2c8b453fd0 Complete the list of libraries needed for 3.0 binary compatibility. From
the emulators/compat30 package, suggested by Johnny Lam.
2007-12-15 16:15:26 +00:00
phx
5dda38d449 wsmux was missing.
Switched to a smaller default font.
2007-12-15 16:09:08 +00:00
perry
4d096031f0 replace instances of __attribute__((__packed__)) with __packed 2007-12-15 16:03:29 +00:00
apb
241ba90c52 Add doc2html support for Bro/Brc/Brq. 2007-12-15 14:57:39 +00:00
apb
d38a66619d Fix the definition of .Fl. Now this construct works:
.Ic boot Fl c .

Previously, the space between "boot" and "-c" was missing from the
HTML output.
2007-12-15 14:48:40 +00:00
tsutsui
61126beefc Rename a device property name: "override_ultra" -> "aic7xxx-override-ultra" 2007-12-15 14:23:14 +00:00
tsutsui
fc91c35517 - enable both ffsv1 and ffsv2
- use __arraycount()
2007-12-15 14:21:40 +00:00
njoly
e78a322c4a s/netbsd32_void */netbsd32_caddr_t/ 2007-12-15 14:08:16 +00:00