mbalmer
4e71b44621
Change one more struct device * to device_t, noticed by cegger.
2009-07-25 16:41:58 +00:00
mbalmer
2a176dde16
Mention gpio and kauth changes.
2009-07-25 16:39:16 +00:00
mbalmer
3270b18844
Use device_t instead of struct device * per cegger's request.
2009-07-25 16:30:44 +00:00
cegger
22b735eb9f
- replace magic number with proper define from mii.h. From OpenBSD.
...
- fix typo in comment. From OpenBSD.
2009-07-25 16:25:13 +00:00
mbalmer
953ebaaf3d
Allow gpiosim(4) to attach if configured in the kernel configuration.
2009-07-25 16:23:39 +00:00
mbalmer
588a2f395f
Add new files due recent gpio(4) rework.
2009-07-25 16:22:59 +00:00
mbalmer
70d654f756
Document recent gpio(4) changes and introduce a new config file for GPIO.
...
Integrate with the startup scripts in /etc/rc.d. Introduce new variable
"gpio" for /etc/rc.conf.
2009-07-25 16:20:10 +00:00
mbalmer
32eeaba5d3
Reworked gpioctl(8) command to reflect recent gpio(4) changes.
2009-07-25 16:18:09 +00:00
mbalmer
8964d40bc5
Rework the GPIO framework. Tie it to the kauth(9) framework to control
...
access to the GPIO pins. Device drivers using GPIO pins can now be
attached and detached at runtime. GPIO pins can be named for easier
reference from userland programs. Introduce a new gpiosim(4) driver,
which is used for development.
Reviewed by many.
2009-07-25 16:17:10 +00:00
mbalmer
245a298f10
Extend the existing security models for upcoming gpio(4) changes.
...
Reviewed and feedback by Elad Efrat.
2009-07-25 16:08:02 +00:00
msaitoh
df316185c6
Call prop_dictionary_set_uint32() before mii_attach(), so that brgphy
...
can do prop_dictionary_get_uint32() correctly.
2009-07-25 13:52:47 +00:00
gson
5861f6c435
When installing via a temporary file, base the name of the temporary
...
file on the name of the target file, not just the target directory, to
ensure uniqueness when multiple concurrent invocations of install(1)
simultaneously install files in the same directory. Fixes bin/41512.
2009-07-25 11:45:58 +00:00
dholland
6d977e7b2a
de-__P() and ANSIfy; no functional change
2009-07-25 08:20:24 +00:00
dholland
6263c6ea9c
(1) reject instead of ignore extra arguments;
...
(2) reject requests for environment variables containing '='
(PR 41774, but with different patch)
(3) fix capitalization of usage message
2009-07-25 08:18:33 +00:00
dyoung
2568e945f9
There's no such file as arch/i386/i386/core_machdep.c, so don't
...
list it here.
2009-07-24 21:22:22 +00:00
christos
4c01456929
new root.cache
2009-07-24 16:34:56 +00:00
christos
6d36a1a3fe
sync; adds v6 address for L.
2009-07-24 16:34:02 +00:00
christos
f7c0a24801
the movers came.
2009-07-24 14:28:36 +00:00
njoly
420fe75a02
Delay emulation record output, to be processed after the current
...
syscall; to avoid picking syscall name from the wrong emulation table.
2009-07-24 11:34:03 +00:00
skrll
7a56aed863
spaces to tab.
2009-07-24 06:58:24 +00:00
skrll
01ec640001
G/C DCIAS
2009-07-24 06:57:53 +00:00
skrll
eaffbb9ed5
Remove trailing whitespace
2009-07-24 06:54:10 +00:00
skrll
aa9f2831e1
Wrap some long lines.
...
Whitespace.
2009-07-24 06:50:40 +00:00
mrg
2f79d21a3f
we have xorg 1.6.2 now.
2009-07-24 04:46:53 +00:00
christos
47736ab62e
check return code from soreserve() (Sean Boudreau)
2009-07-24 01:09:49 +00:00
dyoung
60e16c204c
Move the RAID shutdown to the raid(4) detachment routine, and use
...
config_detach(9) to shutdown a RAID.
Detach raid(4) units at shutdown.
Ok by oster@.
2009-07-23 21:58:06 +00:00
dyoung
90dc63ec14
Extract ldlastclose() and use it in ldclose(). At the top of
...
ldbegindetach(), call disk_begindetach(..., ldlastclose, ...).
Compiles. Not tested.
2009-07-23 21:38:33 +00:00
dyoung
487ea78a9c
Use kpause(9), cv_timedwait(9), and cv_signal(9) instead of tsleep(9)
...
and wakeup(9).
Use mstohz(9).
XXX Protection against spurious wakeups is still needed, but this patch
XXX makes the code no worse than before in this regard.
2009-07-23 21:22:25 +00:00
plunky
076d7e3e4e
Avoid a kernel assertion failure upstream by using FSTATE_NOTFOUND
...
rather than FSTATE_FOUND when setting the unit number directly.
config_attach_pseudo() will convert it to FSTATE_FOUND just after the
assertion.
2009-07-23 17:53:17 +00:00
jym
3974d05df6
Fix typos in comments and __PRINTKs.
2009-07-23 15:26:20 +00:00
wiz
fa52b0ad23
Bump date for previous.
2009-07-23 13:37:34 +00:00
skrll
0c186402f2
Provide bus_space_mmap. Still needs implementing.
2009-07-23 13:34:26 +00:00
yamt
5c0d4899bb
update
2009-07-23 10:53:19 +00:00
macallan
680ff5c320
quick hack to allow brightness control via PMF
2009-07-23 07:21:45 +00:00
msaitoh
256f34e7cc
Reduce the difference against FreeBSD and OpenBSD
...
Define BGE_IS_JUMBO_CAPABLE and use it. No functional change.
Cleanup the code for BGE_PCI_DMA_RW_CTL regster setting. No functional
change.
Fix a printf message.
2009-07-23 05:05:13 +00:00
agc
cb2414dfd1
Fix from Bert Kiers, also noted by jak - be consistent in naming the
...
key for the target hostname variable - it's "target hostname", not
"target host".
2009-07-23 04:32:13 +00:00
dholland
3cfdfcef43
Clarify the description of the errno behavior, based on the recent
...
thread in tech-userlevel.
2009-07-23 02:54:27 +00:00
dholland
6687b6883d
Mention, along with the behavior of succeeding system calls, the
...
normal behavior of succeeding library functions regarding errno.
(That is, they may leave arbitrary nonzero values in errno.)
Ok kleink@; related to PR lib/41567 as well as a recent thread on
tech-userlevel.
2009-07-23 02:31:56 +00:00
pooka
7982dc729e
Restore error behaviour bulldozed in rev 1.246.
...
might fix PR kern/41769
2009-07-23 01:10:02 +00:00
pooka
c39552c570
return proper errno from mount
2009-07-23 01:01:31 +00:00
alc
3831d4ed46
Bump date.
2009-07-22 22:54:15 +00:00
alc
2f42139c8e
Constify the fourth argument of sysctlbtname(3) (ie. `newp', the pointer to
...
the new value).
This change sync sysctl(3) and sysctlbtname(3) prototypes.
No objection on <tech-userlevel>
2009-07-22 22:53:41 +00:00
joerg
46d5217b8f
Don't set debug for the directory.
2009-07-22 21:35:38 +00:00
pooka
35e55460ba
Since rumpfs can now be used from publically exported routines,
...
convert unsupported checking KASSERTs to return EOPNOTSUPP.
2009-07-22 21:06:56 +00:00
pooka
77d8bc0d04
delint
2009-07-22 21:05:30 +00:00
pooka
d51d08a74d
* catch up with the ukfs changes
...
* leave mounted fs reference counting totally up to le coq grande
and simply force an unmount if the kernel has decided the mountpoint
is not busy
2009-07-22 20:49:28 +00:00
pooka
ee47269736
Since rump rootfs now supports creating directories, mount ukfs
...
mounts at the requested mountpoint instead of as the rump kernel
rootfs. While doing so, generally convert everything to use system
calls instead of handcrafter rump interfaces (e.g. rump_sys_mount()
instead of rump_mnt_mount()). This avoids a lot of unnecessary
fuss.
Change UKFS_DEFAULTMP from / to /ukfs and bump ukfs version.
2009-07-22 20:46:34 +00:00
kleink
9be4603670
Declare strsignal(3) in <string.h>, per POSIX-2008, and adjust
...
documentation accordingly.
Fixes PR standards/41325 from Perry E. Metzger.
2009-07-22 19:48:27 +00:00
wiz
65db08e438
Sort supported hardware by name.
2009-07-22 19:42:15 +00:00
wiz
32550f5f41
Remove unnecessary .Pp.
2009-07-22 19:40:41 +00:00