188907 Commits

Author SHA1 Message Date
jakllsch
07188f89fa ata(4) expects IDENTIFY data to be in host endianess.
Logic borrowed from siisata(4) (which I've confirmed works on sparc64).
Should fix PR kern/39659.
2010-03-12 19:03:14 +00:00
haad
0d21743f10 Disable disk_ioctl_switch fo device-mapper control device. 2010-03-12 16:26:26 +00:00
haad
16daab5dae Fix /var/run/dev.db dependency by adding new get_dev_name routine which
converts raw device major:minor number to block device path. By reading
/dev and using stat to find block device major:minor numbers.
2010-03-12 16:24:40 +00:00
roy
f5bae739a4 Revert part of last patch. Didn't mean to enable pf by default. 2010-03-12 15:12:12 +00:00
roy
f4a46cfc64 Change the default console from wsemul_sun/sun-ss5 to wsemul_vt100/wsvt25.
This allows for a colour console, fixes home/end keys not working and
works with the embedded wsvt25 description in libterminfo.
2010-03-12 14:50:54 +00:00
oki
4c7318c4d2 Fixed a number of race conditions in the case of receiving ipv4 packet.
found by iij seil team.
2010-03-12 13:33:19 +00:00
wiz
35d2900127 Quote question mark so it's correctly marked up.
Problem reported by Ryo HAYASAKA in PR 42963.
2010-03-12 09:36:15 +00:00
uwe
6fc217346b Add memset to libkern on vax, moving existing memset.S to src/common.
While kernel source code is supposed to use <machine/macros.h> via
<sys/param.h> and pick an inline asm version from there, gcc itself
can generate direct calls to memset() for structure initialization, so
the symbol must be provided.

Fixes INSTALL kernel, for which -Os caused gcc to use memset() call to
initialize a struct in uvm_fault_internal().
2010-03-12 09:12:34 +00:00
jdc
403394c2fd Match an additional `SHT1x' signature when attaching.
Handle different temperature calculations for `SHT1x' and for `TEMPer' types.
Display signature and data when UTHUM_DEBUG is defined.
Tested on `SHT1x' (TEMPerHUM) and `TEMPer' (TEMPer and TEMPer1) devices.
Also tested by Antoine Reilles on an `SHT1x' device.
2010-03-12 09:02:15 +00:00
jdc
54c6f4b764 Add mappings for KS_End/KS_KP_End, so that the `End' key actually does
something.
2010-03-12 08:40:50 +00:00
jakllsch
a68ac86b62 note availability of tzcode2010c / tzdata2010e 2010-03-12 01:26:15 +00:00
agc
989a0aa6c2 make sure that the expiration date and time are attached to the correct key 2010-03-12 01:22:01 +00:00
darran
5b3b7dba24 DTrace: fix a few build issues for tools and the dtrace provider operation
interface.
2010-03-11 23:28:07 +00:00
darran
2ac926fa16 DTrace: The CTF format is limited to only 1024 elements in an enum,
so rather than error out when there are more than this just truncate the
length.
2010-03-11 23:26:33 +00:00
skrll
e7893d09c1 Start at the first, not the second, exception register. 2010-03-11 21:43:15 +00:00
skrll
00affa2e9e Comment formating. 2010-03-11 21:41:50 +00:00
skrll
ee193ef9a3 Comment style. 2010-03-11 21:37:52 +00:00
enami
fc5eb1b7ac Since we have st_birthtime in struct stat, it is in default display. 2010-03-11 21:37:01 +00:00
eeh
8dab50982e Fix shifting by zero. 2010-03-11 19:28:55 +00:00
dyoung
6240526075 Simplify interrupt (dis)establishment by two source transformations:
-       cardbus_intr_disestablish(cc, cf, ih);
+       Cardbus_intr_disestablish(ct, ih);

-       ih = cardbus_intr_establish(cc, cf, ...);
+       ih = Cardbus_intr_establish(ct, ...);

Tested by ITOH Yasufumi.  Results: njs(4) works, njata(4) hangs.
njata(4) also hangs in 5.0.1 and in 5.99.24 prior to this patch, so
there is no regression.
2010-03-11 17:27:40 +00:00
dyoung
30882f2250 This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

Simplify interrupt (dis)establishment by two source transformations:

-       cardbus_intr_disestablish(cc, cf, ih);
+       Cardbus_intr_disestablish(ct, ih);

-       ih = cardbus_intr_establish(cc, cf, ...);
+       ih = Cardbus_intr_establish(ct, ...);

Tested by Juraj Hercek.
2010-03-11 17:24:27 +00:00
christos
fcbd1014fb PR/42363: Yasuoka Masahiko: Second part of the patch: iterate only on the
phase2 handles that are bound by the given phase1 handle.
2010-03-11 15:44:48 +00:00
wiz
61622899dd HTMLify. 2010-03-11 14:08:29 +00:00
jruoho
77c099394c Fix comment typos (mangement, managmenet). 2010-03-11 13:51:01 +00:00
skrll
6392307893 A nullify snuck in. Remove it. 2010-03-11 13:26:20 +00:00
enami
b624a04f14 Port uyurex(4) from OpenBSD. There is some XXX but works enough to
play with it.
2010-03-11 10:38:36 +00:00
enami
9ef501d113 Regen. 2010-03-11 10:35:59 +00:00
enami
4d59640014 Add device id of yurex from OpenBSD. 2010-03-11 10:35:22 +00:00
skrll
bc84d3f145 KNF 2010-03-11 07:21:24 +00:00
skrll
6b05fe22ef Reformat comments. 2010-03-11 07:20:15 +00:00
skrll
2fc327764c Wrap a long line. 2010-03-11 07:15:25 +00:00
skrll
edbb9c77e1 Rename Debugger to cpu_Debugger. 2010-03-11 07:14:22 +00:00
skrll
e8a43a17a6 Comment change. 2010-03-11 07:05:21 +00:00
skrll
7c4e782041 Comment improvements. 2010-03-11 07:01:09 +00:00
msaitoh
ff15f2a4f8 Add missing ifmedia_delete_instance() in bnx_detach(). 2010-03-11 04:55:04 +00:00
mrg
ebc9e23316 various aprint_* fixes. 2010-03-11 03:54:56 +00:00
mrg
09c1408d7c - pay attention to the "no-streaming-cache" flag.
- minor re-structure so this looks a little more like psycho.c.
2010-03-11 03:30:16 +00:00
mrg
db7dad6e7e convert to CFATTACH_DECL_NEW(). 2010-03-11 03:12:42 +00:00
uwe
bfdd7a7c6e Bump SYMTAB_SPACE so that the contents fits again. 2010-03-11 02:21:41 +00:00
christos
20ebd2a462 PR/42952: The Grey Wolf: Fix for "true incremental". Don't overload level
9, use a new level "i" which is logically 10.
2010-03-11 01:32:59 +00:00
darran
7eee4c810f DTrace: fix a libctf toolchain build problem. 2010-03-10 23:41:56 +00:00
darran
33bc31b9e2 DTrace: fix a build problem for the SDT provider. 2010-03-10 23:40:53 +00:00
abs
6c6ab6a995 Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
2010-03-10 23:13:09 +00:00
wiz
7d503fdf8d Bump date for newly added reference books. 2010-03-10 21:33:15 +00:00
dyoung
4b936f667e This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

Simplify interrupt (dis)establishment by two source transformations:

-       cardbus_intr_disestablish(cc, cf, ih);
+       Cardbus_intr_disestablish(ct, ih);

-       ih = cardbus_intr_establish(cc, cf, ...);
+       ih = Cardbus_intr_establish(ct, ...);

Tested by me.
2010-03-10 21:00:36 +00:00
bouyer
0aa12b3498 Fix apm(4) suspend/resume:
- apm_suspend() and apm_standby() will call splhhigh() before entering
  standby or suspend. After resume, the system go back tsleep()ing
  in the apm thread without restoring the ipl (this is done in
  apm_resume()), and calling tlseep() at IPL_HIGH cause a DIAGNOSTIC
  panic (and other bad things, I guess).
  Fix by calling apm_resume() from within apm_suspend() or apm_standby(),
  after aa_set_powstate() has returned.
- In apm_event_handle(), we test (apm_standbys || apm_suspends) to set
  apm_damn_fool_bios to 1 and break the while() loop in apm_periodic_check().
  But we set apm_standbys or apm_suspends to non-0 only if apm_op_inprog
  is 0 and we failed to record the apm event. With apmd listening
  we usually succeed recording the event, so apm_standbys/apm_suspends remains
  0 and we never go out of the while() loop.
  Fix by apm_op_inprog instead of (apm_standbys || apm_suspends)
  to break the loop.
2010-03-10 20:30:00 +00:00
bouyer
d8c4fc9544 ahcisata_core.c 1.23 cause long drive probe (31s, reported by
Roy Marples), or other devices misbehavior probably due to interrupts issues
(reported by Jukka Ruohonen). Back it out and do the following changes:
- clear port interrupt register before ahci_channel_start() which enables
  interrupts
- wait 500ms after sata_reset_interface() before touching SERROR register.
  This is what seems to fix the issue I'm seeming on ESB2 controller.
- The 31s delay didn't cause the probe to fail because of a mismatch
  in loop index comparison; use a #define for delay after reset
  instead of numeric values, to avoid this kind of bugs in the
  future.
2010-03-10 19:23:57 +00:00
skrll
e52678ceba More comment improvement. 2010-03-10 18:53:40 +00:00
kiyohara
ca66853e78 Remove white-spaces. 2010-03-10 18:28:30 +00:00
kiyohara
5e9a0d7ca4 Remove unnecessary function declarations. 2010-03-10 18:18:47 +00:00