Commit Graph

187382 Commits

Author SHA1 Message Date
pooka
49d3a570e6 need object directory for etc/mtree to run distrib-dirs 2010-01-13 02:24:06 +00:00
pooka
2fdef1b4e0 In rumptest, create obj dirs before distrib dirs. Fail if distrib dir
creation fails.

per clue-by-4 from mrg
2010-01-13 02:18:25 +00:00
mrg
c1b551b4f5 replace local ci_cpuname[] and use new cpu_name(). 2010-01-13 02:17:12 +00:00
mrg
efc854cf68 introduce a new function that returns a unique string for each cpu:
char *cpu_name(struct cpu_info *);

and use it when setting up the runq event counters, avoiding an 8 byte
kmem(4) allocation for each cpu.  there are more places the cpuname is
used that can be converted to using this new interface, but that can
and will be done as future work.

as discussed with rmind.
2010-01-13 01:57:17 +00:00
pooka
065afcb61a Minimize unnecessary differences in rump. 2010-01-13 01:53:38 +00:00
dyoung
a0fa2e365c ./usr/libdata/ldscripts/kmodule will not be installed if MKKMOD=no, so
add 'kmod' to its keywords.
2010-01-13 01:23:06 +00:00
pooka
8bb03ea96b Add a few symbols used by the tty code. 2010-01-13 01:18:51 +00:00
pooka
e0714677a2 cgd is attached via the module interface now instead of pseudodevs. 2010-01-13 00:31:57 +00:00
pooka
a25612b2d0 If RUMP_VERBOSE is set in the env, set boothowto to AB_VERBOSE. 2010-01-13 00:07:40 +00:00
dyoung
08d9aa56c1 Provide a more complete modules hook, cgd_modcmd(), derived from
vnd_modcmd().
2010-01-12 23:49:34 +00:00
msaitoh
2e42fd64c9 - Add i82567LM-2 i82567LM-4 i82567V-3 LAN controller.
- Reset GMII interface after wm_reset() in wm_init().
- Rework for assigning mii_{read,write}reg(). Use PCI product ID to identify
  the PHY.
- Add code about LPLU(Low Power Link Up) function. Now we can linkup 1000BaseT
  on PCH. It seems that we have to do the same work for ICH9.
2010-01-12 22:26:30 +00:00
rmind
17990e0041 Revert 1.194 rev. 2010-01-12 22:11:13 +00:00
msaitoh
1540dbd923 Add some macros 2010-01-12 21:48:26 +00:00
msaitoh
3d43215552 regen 2010-01-12 21:25:03 +00:00
msaitoh
efbc8a7a03 add i82567LM-2 i82567LM-4 i82567V-3 LAN controller 2010-01-12 21:24:39 +00:00
msaitoh
376a78b62e rename some wm devices to know PHY type 2010-01-12 21:23:38 +00:00
dyoung
1b379d7ac4 Make cgd(4) into a detachable pseudo-device. Thanks, Jan Danielsson,
for the patches!

I've lightly tested the basics: create cgd0 on vnd0d, initialize with
zeros, newfs /dev/cgd0a, mount, copy files on, unmount, drvctl -d
cgd0.  Works fine.  I also shutdown with a cgd0 configured: detached as
expected.
2010-01-12 21:08:08 +00:00
mhitch
a9a95e1379 Fix incorrect Acer Labs ID. PCI_PRODUCT_ALI_M1543 had been incorrectly
identified as product code 0x1533, which is what is actually in the
CS20.  PCI_PRODUCT_ALI_M1543 was corrected recently and sio.c would fail
to match the bridge.
2010-01-12 20:24:45 +00:00
christos
139d3d5a3b - call the mapping function directly instead of el_wset().
- save the strings passed to the mapping function so that they don't get
  re-used. This leaks. To fix it properly we could either pass a flag to
  free particular entries before re-using, or allocate all of them.
  Allocating all of them wastes memory, allocating some of them makes
  the code more complex.
This fixes compatibility binding (shell tab completion for example)
2010-01-12 19:40:50 +00:00
christos
c9043bbf6e - in the argv conversion, handle NULL as NULL
- when printing tab/nl print them, don't handle them specially.
2010-01-12 19:37:18 +00:00
pooka
ef38ca9933 Make r/w servers unmount themselves cleanly upon receiving SIGINT/TERM. 2010-01-12 18:43:37 +00:00
pooka
b95be6c682 Add convenience routine puffs_unmountonsignal(), which does exactly that. 2010-01-12 18:42:38 +00:00
macallan
179feaec06 send PMF events for volume control keys 2010-01-12 17:39:21 +00:00
jakllsch
d1d4fac35a Adjust report descriptor for Logitech USB Receiver M/N C-BT44 to
more closely match what is in the report.  (This corrects the
off-by-one usages of most of the gray multimedia keys on a EX110
wireless keyboard so they can sensibly be used with libusbhid(3),
usbhidctl(1) and usbhidaction(1).)

This device also uses officially reserved usages (in the approximate
range of 0x1000 to 0x1100) in the Consumer usage page, but these
are out of the logical range the device reports as being valid.
2010-01-12 16:50:58 +00:00
jakllsch
108bad03f6 Avoid treating the Griffin PowerMate knob as a ums(4).
Should fix PR/19445.
2010-01-12 16:18:58 +00:00
christos
de3b931d80 merge conflicting error sections. 2010-01-12 15:51:01 +00:00
tsutsui
23e6770b50 Split device_t/softc, some KNF. 2010-01-12 15:20:29 +00:00
tsutsui
59bb42b6d5 Switch to using todr_[gs]ettime_ymdhms() format
which doesn't require struct timeval details.
2010-01-12 15:01:48 +00:00
jakllsch
1c4d1c8a69 regen. 2010-01-12 14:51:43 +00:00
jakllsch
1b5a2f8f7f Add Logitech C-BT44 Receiver. 2010-01-12 14:50:38 +00:00
martin
99585750eb Import support for upa64s device (/upa on SB1000/2000) from OpenBSD.
Attach ffb both at mainbus and at upa.
2010-01-12 14:45:50 +00:00
christos
d449716afd error message cleanup
- 1 -> EXIT_FAILURE
- fprintf(stderr, -> warnx(
- better warning messages
2010-01-12 14:45:31 +00:00
christos
b8afdde726 - 1 -> EXIT_FAILURE
- avoid assertion firing when hitting ^D in CC: line.
2010-01-12 14:44:24 +00:00
christos
533d2abbab - 1 -> EXIT_FAILURE
- preallocate child struct, since the signal handler can be called before
  wait_child, and we cannot allocate a child struct there. there is a signal
  race still here if the program exits and the signal handler is called before
  we allocate the struct.
2010-01-12 14:43:31 +00:00
jruoho
3708b81bde Properly evaluate the _PRW object in case we have a package inside a
package.

ok jmcneill@
2010-01-12 12:21:04 +00:00
nonaka
63a3573771 regen (Added RENESAS SH7780/SH7785 PCI Controller.) 2010-01-12 10:13:32 +00:00
nonaka
fcd3fb7baa Added RENESAS SH7780/SH7785 PCI Controller. 2010-01-12 10:11:32 +00:00
wiz
a099dde0e8 New sentence, new line. 2010-01-12 09:26:26 +00:00
uebayasi
0eddd68d7f According to SD Host Controller Simplified Specification Version 2.00, 2.2.10.
Host Control Register (Offset 028h), the "Data Transfer Width" bit is in Host
Control Register (Offset 028h), not Power Control Register (Offset 029h).
2010-01-12 08:41:16 +00:00
lukem
7858a04d0e rename argument from "bool" to "val" 2010-01-12 06:50:04 +00:00
dholland
fd438cf632 Fix previous: use correct mode as well as owner/group.
My bad. PR misc/41544.
2010-01-12 04:44:06 +00:00
mrg
ff65ddb460 link in libOSMesa as well. 2010-01-12 03:56:17 +00:00
mrg
9f817fe79f replace LIBS with LIBDPLIBS. makes these actually link against drm_intel.
should fix a problem reported by snj@.
2010-01-12 00:57:45 +00:00
jmmv
75eb9daa20 Drop unnecessary trailing commas. 2010-01-12 00:04:30 +00:00
christos
a61eab08ce remove weak reference for now. 2010-01-11 23:38:24 +00:00
joerg
00711901b6 Use a proper char */size_t pair in __sfileext to keep track of the line
buffer for fgetln and fgetwln. Simplifies code by dropping the INT_MAX
related logic. Drop conditionals around FREELB, free(NULL) is valid.
2010-01-11 20:39:29 +00:00
joerg
85dea109fa libfetch-2.27:
Fix a bug in the connection caching for FTP.
2010-01-11 19:40:01 +00:00
stacktic
1b7d9846f4 Fixed typo. 2010-01-11 19:19:57 +00:00
christos
eaed345c96 bump libm for exp2 and exp2f 2010-01-11 16:30:26 +00:00
christos
5f7c431ef4 Add exp2 and exp2m 2010-01-11 16:28:39 +00:00