Commit Graph

168204 Commits

Author SHA1 Message Date
yamt
a7a764750b yamt-lazymbuf-base14 2008-03-24 09:38:04 +00:00
yamt
9f194df082 agrport_monitor: map IFM_NONE to IFM_NONE|IFM_ETHER and add a comment. 2008-03-24 09:14:52 +00:00
yamt
8df658c8ca add some DEBUG checks. 2008-03-24 09:09:55 +00:00
yamt
d886e611bd remove a redundant pmap_update and add a comment instead. 2008-03-24 08:52:55 +00:00
skrll
51730523ef Typo in commit. 2008-03-24 08:34:06 +00:00
dogcow
d0bda29ecc fix compilation on alpha. 2008-03-24 08:27:23 +00:00
yamt
1872c2a033 discourage the new use of malloc(9). 2008-03-24 08:24:48 +00:00
lukem
f0b277f256 Make it easier to find various MK* and USE_* variable definitions
by expanding their names in the for loops.

Inspired by a recent commit, which made sense to me based on the
number of times I've had to redo a search without the leading MK|USE_
within this file just to find the default...
2008-03-24 05:00:31 +00:00
cube
c7dd91c86d Change previous to use aprint_error_dev. 2008-03-24 00:06:03 +00:00
he
b2156dc123 The sig_atomic_t type isn't necessarily compatible with %d printf format;
cast to int before printing.
2008-03-23 23:09:04 +00:00
he
7fa93d44f6 Please repeat after me: I shall not define _KERNEL before including
<sys/types.h> in user-land programs.  Doing so causes build problems
for lots of our ports due to differences in how <sys/bswap.h> ends up
defining the swap functions/macros.
2008-03-23 23:01:21 +00:00
yamt
d3d0ab9bb2 kqueue_scan: skip markers correctly. 2008-03-23 22:39:48 +00:00
jmmv
442ab2406b Add a tip explaining how to run the tests in /usr/tests. 2008-03-23 19:48:57 +00:00
ad
f12243c34d linux_get_sa: fix botched fd handling. 2008-03-23 19:35:54 +00:00
christos
e82b090f18 little cleanups. 2008-03-23 18:53:51 +00:00
xtraeme
6405ed23e5 acpiacad_get_status: move sc_notifysent to the correct place, otherwise
the notify might not be sent.
2008-03-23 18:38:57 +00:00
ad
36cd74d4d8 Undo 1.150 (Don't make root an exception when enforcing rlimits). No other
Unix behaves this way and it breaks too many things, e.g. web servers.
2008-03-23 17:40:25 +00:00
tsutsui
4f64b6719d Use macro defined in <machine/cpu.h> for cobalt_id and device addresses etc.
since <machine/leds.h> has been removed.
Also remove redundant address definitions in Makefile and local headers.
Pointed out by dieter roelants.
2008-03-23 17:19:57 +00:00
macallan
3d2ef4afbb use device_xname() 2008-03-23 17:09:19 +00:00
ad
28a2c8b191 Reorder a code block slightly, to allow proclist_mutex to be an adaptive
mutex (purely for testing).
2008-03-23 16:53:45 +00:00
adrianp
8714d5ea9f Reflect that this is the manpage for 1.0.5 not 1.0.4 2008-03-23 16:53:25 +00:00
cube
55ee8b25d0 Split device_t and softc for pci(4). 2008-03-23 16:40:12 +00:00
ad
25b10dbb15 lwp_ctl_alloc: initialize lcp_kaddr to vm_map_min(kernel_map), in order to
prevent uvm_map() from spuriously failing.
2008-03-23 16:39:34 +00:00
xtraeme
a7e669727a Register a resume pmf(9) handler that clears the status. It is needed
to always fetch new status after resuming, otherwise if AACAD_F_AVAILABLE
is set, acpiacad_get_status() won't be called.

Also use the SME_INIT_REFRESH flag to fetch sensor data once in the
autoconf(9) process.

Ok'ed by <jmcneill>.
2008-03-23 16:22:00 +00:00
xtraeme
6e9673dcb2 Use the SME_INIT_REFRESH flag to fetch sensor data once in the
autoconf(9) process.
2008-03-23 16:12:45 +00:00
xtraeme
a826e85aba Fix some problems reported by <drochner> a while ago on tech-kern:
sme_events_worker: skip sensors with invalid state.
sme_acadapter_check:

	* use a boolean to check if an SME_CLASS_ACADAPTER was found.
	* Always refresh sensor data before checking value_cur.

Introduce the SME_INIT_REFRESH flag. If a device sets this it will mean
that after interrupts are enabled in the autoconf(9) process, sensor
data will be refreshed once.
2008-03-23 16:09:41 +00:00
cube
a27f79f69e Use M_TEMP for allocations instead of the now deceased M_IOCTLOPS. 2008-03-23 15:50:51 +00:00
yamt
7f068c6aa5 mention fpos_t 2008-03-23 15:33:26 +00:00
rmind
42c415f8f1 pool_cache_init: Remove the alignment of pc according to the CACHE_LINE_SIZE,
which is not useful for rump.  This fixes the pool_cache_destroy() which was
freeing the modified pointer, instead of the original one.

OK by <pooka>.
2008-03-23 14:39:17 +00:00
xtraeme
5a14ef4138 Add missing acpilid_wake_event() proto. 2008-03-23 14:20:15 +00:00
yamt
c3c197ba35 when calculating some cache sizes, consider the amount of available kva.
PR/33185.
2008-03-23 14:12:39 +00:00
ad
3acbed8e48 Split select/poll into their own file. 2008-03-23 14:02:49 +00:00
ad
c9a93c8c58 Make this build again. From isaki@. 2008-03-23 13:58:47 +00:00
tsutsui
a6bb23ea14 On preparing a setup packet, use proper byteswap ops and byte shift ops
rather than #ifdef BYTE_ORDER and subtle pointer casts.
2008-03-23 11:08:25 +00:00
yamt
93109cd91b when calculating some cache sizes, consider the amount of available kva.
PR/33185.
2008-03-23 10:39:52 +00:00
yamt
d3bb744af3 make buf_map static. 2008-03-23 10:33:15 +00:00
tsutsui
7934941b93 Ignore the Report on MII error bit if chip doesn't have MII.
Fixes annoying "tlp0: MII error" messages on Qube 2700 with 21041.
2008-03-23 10:32:51 +00:00
mlelstv
d59e5a49dd fix Version to 1.1 2008-03-23 08:24:18 +00:00
bjs
d975c184ef Append ",profile" at the end of the line for libheimntlm_p.a and
libhx509_p.a.  Without this, the build system expects these to be present
in DESTDIR regardless of whether MKPROFILE was set to "no".
2008-03-23 07:32:13 +00:00
uwe
ee4c6e644b G/c old softint code. 2008-03-23 06:07:08 +00:00
uwe
91731665c3 intc_intr_enable/disable: TMU3 and TMU4 are handled by INTPRI00 &co.
Correctly propagate requests to enable/disable their interrupts.
2008-03-23 05:53:47 +00:00
uwe
3328e83196 Sort SH4_INTEVT_PCI* codes. 2008-03-23 05:45:45 +00:00
rmind
2aaf481e64 G/C l->l_locks.
OK by <ad>.
2008-03-23 00:46:25 +00:00
rmind
579caa1e17 - Support for select/poll.
- Convert pool to pool-cache.
- Wrap long lines, adjust the license.
2008-03-23 00:44:15 +00:00
pavel
a4783b9a2e remove myself from releng 2008-03-23 00:08:58 +00:00
jdc
479872d6de Check the "shared-pins" property for the value "serdes".
Makes SBUS GEM 1000Base-SX cards attach.
2008-03-22 23:37:32 +00:00
simonb
a1ba91e196 Remove unused _BSD_OFF_T_. 2008-03-22 22:06:35 +00:00
ad
53d9c2f69b Update for select/poll changes. 2008-03-22 19:27:23 +00:00
mlelstv
7ae544fc2d Remove computed source files that may confuse mkdep. 2008-03-22 19:15:21 +00:00
tsutsui
18573edb9c Use C99 initializer. 2008-03-22 18:46:49 +00:00