Commit Graph

186975 Commits

Author SHA1 Message Date
macallan
f1eae1b88d fix a typo - we need to check classipl vs. IPL_VM, not the SBus interrupt
level
2010-01-05 21:38:50 +00:00
dyoung
6bcc29ee08 Fix MKBINUTILS=no builds by leaving out xldscripts. 2010-01-05 20:49:04 +00:00
he
3bb1e78986 Bump the miniroot size from 8m to 9m, so that the contents fits again.
OK'ed by mrg@
2010-01-05 18:36:16 +00:00
jakllsch
ec1d44ba55 Fix copy-paste-o. Per the HID spec, Global Item Tag 0b001101nn is
Physical Minimum, not a alias for Physical Maximum.
2010-01-05 17:57:06 +00:00
jruoho
50af5a5ff5 Put back the evaluation of the return value from mpacpi_get_bbn().
Break reported by njoly@. Thanks!
2010-01-05 17:23:18 +00:00
tsutsui
d3724ba41f Add necessary byteswap ops for tools disklabel(8) used with -F option
(treating a target disk as a regular file and suppressing ioctl(2)s)
on reading/writing disklabel in a target file.
This allows cross build enviroment creating bootable disk images
for targets in different endian.
No functional changes to native (non-tools) disklabel(8) command.

Closes PR toolchain/42357.
2010-01-05 15:45:26 +00:00
skrll
7fe4e16803 Regen. 2010-01-05 15:25:32 +00:00
skrll
e359b65038 Check for dev_t and time_t arguments and mark them as 64bit. 2010-01-05 15:23:32 +00:00
jruoho
5bb528f36b Use acpi_eval_set_integer() to simplify code. No functional change intended.
ok pgoyette@, jmcneill@
2010-01-05 13:57:18 +00:00
jruoho
57bb616085 Fix a memory leak/corruption by commenting out the evaluation of the _PSL
control method. If it is needed in the future, the output buffer must be
freed after use.

ok pgoyette@, jmcneill@
2010-01-05 13:47:52 +00:00
jruoho
0398d5ad8e Use acpi_eval_struct() to simplify code.
ok pgoyette@, jmcneill@
2010-01-05 13:39:49 +00:00
jruoho
6538aaf890 Fix several possible memory leaks in mpacpi_derive_bus().
ok pgoyette@, jmcneill@
2010-01-05 13:32:49 +00:00
mbalmer
982581e04d Remove extra semicolons. 2010-01-05 13:30:10 +00:00
mbalmer
93f06d875c Remove extra semicolon. 2010-01-05 13:22:40 +00:00
mbalmer
2603a89351 One semicolon only (;; -> ;) 2010-01-05 13:20:29 +00:00
mbalmer
bd2482b598 One semicolon is enough. 2010-01-05 13:14:55 +00:00
msaitoh
37fc7a8496 Fix the checking of jumbo frame function though I don't know whether
the function wokrs or not...

 Remove the extra macro definition for the offset 0x1a in EEPROM.
2010-01-05 10:02:01 +00:00
msaitoh
0da37da46d Fix the length of the delay() in wm_gmii_reset(). It fixed the problem that
sometimes the driver misunderstood PHYs in mii_attach(). It was reported
by MATSUI Yoshihiro. We observed it on ICH9.
2010-01-05 09:31:21 +00:00
macallan
7190e17c0e fix off by one in zx_copyrect() 2010-01-05 05:04:38 +00:00
macallan
647d0c5994 fix off by one error in zx_fillrect()
while there, use vcons_replay_msgbuf()
2010-01-05 04:17:49 +00:00
wiz
1f8dff0603 Sort NAME section and removing trailing dot; remove duplicate RCS Id. 2010-01-04 23:06:34 +00:00
pooka
304a850cb9 fix typography 2010-01-04 22:04:50 +00:00
haad
9c52ca7c82 Revert my unattended change to kadmind.html page 2010-01-04 20:18:02 +00:00
plunky
1e2b8c6e0e prevent local socket address from being changed after socket is
in use (connect or listen)
2010-01-04 19:20:05 +00:00
dyoung
e3420c6750 Add a manual page for producer/consumer queues, pcq(9), that I derived
from some documentation written by Matt Thomas.
2010-01-04 18:00:26 +00:00
sjg
03c533138a We need to have set curdir before calling Dir_FindHereOrAbove().
We can call getcwd again if -C is used.
2010-01-04 17:05:25 +00:00
haad
344f97a451 Add device-mapper manual page to build and add it to apropriate lists. 2010-01-04 16:57:48 +00:00
uebayasi
80d41370e7 Use CTASSERT() for constant only assertions. 2010-01-04 16:01:42 +00:00
mbalmer
43f131c4e8 Only use an auto-determined interface if it is the only one in the system
that is up and running.  This change prevents wake(8) from picking an
arbitrary interface (which is possibly the wrong one).
2010-01-04 11:34:39 +00:00
jruoho
4979a58f9d Update the copyright. 2010-01-04 10:06:53 +00:00
jruoho
28fec82cc6 Two bug fixes:
- Use ACPI_ALL_NOTIFY instead of ACPI_DEVICE_NOTIFY.

	- Fix the data query method: this fails without input.

ok pgoyette@
2010-01-04 09:43:30 +00:00
jruoho
111b592d55 Cleanup:
- Provide the module declaration and use ACPI_FREE
	  as well as ACPI_ALLOCATE_LOCAL_BUFFER for ACPI_DEBUG.

	- Maintain the calling conventions of existing ACPI utility
	  functions by initializing the output buffer for the caller
	  in all applicable functions.

	- Remove superfluous const correctness. Additional semantics:
	  u_char -> char, u_int16_t -> uint16_t, and u_int64_t -> uint64_t.

	- Collect the validation of input parameters to a single function.

ok pgoyette@
2010-01-04 09:34:47 +00:00
mrg
50368a15c2 rework the timer interrupt usage on MP sun4m systems a little. use
either schedintr() or schedintr_4m() and make sure we call hardclock()
and schedclock() appropriately.  the level10 interrupt isn't used much
for MP sun4m systems anymore..

now, besides crazy interrupts panics, sparc smp is functionaly again.
2010-01-04 04:21:35 +00:00
mrg
d13c733da1 use the idle lwp's uarea for stack, not the interrupt stack. this works
now, and it fixes up idle vs interrupt time measurement for cpu>0.
2010-01-04 04:06:57 +00:00
mrg
fd50199ebf curlwp is never NULL any more. 2010-01-04 03:54:42 +00:00
haad
293fc00622 Indent files remove unnecessary blank lines, white spaces and KNFize code. 2010-01-04 00:12:22 +00:00
mrg
1ee1eb05c3 add an explicit "bool mpsafe" to intr_establish(). only set it to true
for the sun4m timer/counter interrupts.  this gets lev10/14 working again
on SMP systems, where those interrupts started taking the kernel lock and
hanging...
2010-01-03 23:03:20 +00:00
haad
66ff911808 Refactor dmioctl to by cleaner and to copyout dictionary in case when something
went wrong.
2010-01-03 22:55:25 +00:00
haad
c52cab8857 KNF police, remove unnecessary whitespaces and tabulators. Refactor dmioctl
to not use prop_dictionary_copy* functions if NetBSD_DM_IOCTL command was
not called on device. If disk_ioctl returms anything else then ENOTTY exit
from dmioctl.
2010-01-03 22:44:10 +00:00
haad
b9ba4842ce Hook device-mapper to autoconf framework. Add dm_attach, dm_match and dm_detach
routines used by autoconf users. Change dm_dev_remove_ioctl to call dm_detach.

This should be primary used by kernel to disable devices during shutdown of
system with nested disk devices.

Requested by dyoung@.
2010-01-03 22:22:23 +00:00
wiz
0d3270a169 Bump date for historyw -> history_w. 2010-01-03 19:05:26 +00:00
wiz
f5e16a46b4 Capitalize Ethernet. 2010-01-03 19:04:26 +00:00
christos
73eda9fe27 rename historyw -> history_w for consistency.
add wide tst code and make it the default.
2010-01-03 18:27:10 +00:00
mbalmer
18af789290 Indicating the interface over which to send Wake on LAN frames is optional,
if the interface is not given on the command line, wake(8) will use the
first ethernet interface that is up and running.
2010-01-03 17:58:14 +00:00
jruoho
4053740fd1 Introduce acpiwmibus, a pseudo-bus to which the child WMI devices attach.
Multiple WMI mapper devices are supported, but each one can have only one
child device.

All exposed functions now require the parent mapper device as a parameter.

ok pgoyette@, jmcneill@
2010-01-03 17:53:15 +00:00
dholland
2ea1f2138b Christos points out that usage should not use errx, but should use
getprogname.
2010-01-03 17:08:45 +00:00
jdc
4096a9f1d6 Match "rsc-console" and set its baud rate to 115200.
Makes the 501-5856 (RSC2) card usuable as console on a Fire 280R.
2010-01-03 17:02:03 +00:00
plunky
260c1d53a9 when receiving a MCC PN response, the max frame size that the remote
party requests must be less than the one we asked for which will not
be greater than the max acceptable value so no need to test for that
but make sure that it is not smaller than minimum acceptable value.
2010-01-03 16:38:15 +00:00
haad
22c533e1d0 Replace aprint_Verbose with aprint_debug to shutup unnecessary logs. 2010-01-03 12:53:00 +00:00
mrg
48defd0739 reinsert part of the code accidentally deleted by the previous change. 2010-01-03 12:44:34 +00:00