Commit Graph

168084 Commits

Author SHA1 Message Date
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
tsutsui
927baa9250 Make <cobalt/leds.h> obsolete. (no userland stuff in it anyway) 2008-03-22 18:34:19 +00:00
tsutsui
38e83cc130 Reorganize interrupt handling on cobalt and allow multiple interrupts on
each icu irq to support multi function PCI devices in the Qube's PCI slot:

- split out interrupt stuff from machdep.c into new interrupt.c
- prepare struct *_intrhead to handle cpu and icu interrupts
- use LIST and malloc(9) to handle multiple interrupts per icu irq
  (mostly taken from algor/pci/pcib.c and evbmips/malta/pci/pcib.c)
- move evcnt(9) stuff into *_intrhead from cobalt_intrhand
  (i.e. make it per interrupt rather than per handler)
- in pci_intr_map(9) handle CPU interrupt separately and add a sanity check
- fixup interrupt lines for devices on the PCI slot in pci_conf_interrupt(9)
- move some device address definitions into <machine/cpu.h> and
  remove <machine/leds.h>
- misc cosmetics

No objection on port-cobalt for three weeks.
2008-03-22 18:32:20 +00:00
ad
7bdc0183f8 4.99.57 - struct selinfo changed 2008-03-22 18:05:13 +00:00
ad
40379c8716 Commit the "per-CPU" select patch. This is the result of much work and
testing by rmind@ and myself.

Which approach to use is still being discussed, but I would like to get
this out of my working tree. If we decide to use a different approach
there is no problem with revisiting this.
2008-03-22 18:04:42 +00:00
ad
ecdd2c2965 Cheat and add inlines for _atomic_cas_ptr() to work around gcc emitting
unneeded PIC stuff in mutex_lock() and mutex_unlock(), when a thread
register is used.
2008-03-22 17:59:12 +00:00
ad
5214147407 LWP_CACHE_CREDS: instead of testing (l_cred != p_cred), use a per-LWP
flag bit to indicate a pending cred update. Avoids touching one item of
shared state in the syscall path.
2008-03-22 17:53:34 +00:00
plunky
220e536f69 remove unnecessary include file 2008-03-22 17:20:31 +00:00
nakayama
c853b61f50 Add more assertion. 2008-03-22 16:51:30 +00:00
jmmv
bf266e554b Fix esym calculation to match comments. Reported by Gao Ya'nan in
PR port-i386/38170.
2008-03-22 16:50:17 +00:00
mlelstv
fcf1d7cd15 Remove computed source files that may confuse mkdep. 2008-03-22 16:17:50 +00:00
christos
4897e6c085 bring some stuff from time_t=64...
- add sysalign parameter to syscalls.conf
- add compat_50
2008-03-22 15:11:01 +00:00
reed
0b1fe5192d In example, change dd count size and also chmod so others can't read swap. 2008-03-22 14:39:57 +00:00
ad
69c15cf00b Make it compile. 2008-03-22 14:28:10 +00:00
ad
3685a3103f vn_close no longer takes a 'struct lwp' argument. 2008-03-22 14:21:56 +00:00
ad
527a0b7dab Regen. 2008-03-22 14:20:30 +00:00
ad
f5405b27b2 Unmark kevent/kqueue as MPSAFE. There seems to be some kind of deadlock
involving kernel_lock.
2008-03-22 14:20:09 +00:00
ad
783e2f6db5 Back out previous. It seems to expose another bug in libpthread/libc,
potentially errno being used before threading is up and running.
2008-03-22 14:19:27 +00:00
jmmv
978a8525ec Add obsolete entries for Heimdal-1.1 import. Hi, mlelstv@! 2008-03-22 13:28:12 +00:00
mlelstv
e160244ccb match whitespace after RCSID 2008-03-22 13:08:21 +00:00
mlelstv
1ea66c56df NetBSD uses __RCSID 2008-03-22 13:03:05 +00:00