jruoho
d76ace19e9
Bump iomem_ex_storage from 16 to 64. Based on analysis from joda@:
...
http://mail-index.netbsd.org/current-users/2010/10/01/msg014446.html
Discussed with mrg@ and jmcneill@.
2011-01-10 16:59:09 +00:00
tsutsui
2916fd3fce
Add hazard nops required by MIPS1 in noreorder case.
...
(Umm, is it easier to remove noreorder and all BDslot insns?)
2011-01-10 16:43:29 +00:00
tsutsui
157a6dd44c
Indent instructions in BDslots.
2011-01-10 15:25:44 +00:00
tsutsui
e18f71c901
- specify .set noreorder to fill BDslots properly
...
- indent instructions in BDslots
2011-01-10 15:25:15 +00:00
cegger
e5bfaecf68
add missing break
2011-01-10 14:19:36 +00:00
christos
8ce31bfb43
namespace protect sigqueue and sigqueueinfo
2011-01-10 13:56:44 +00:00
phx
7a4bf1d4d4
Some new information and cleanup.
2011-01-10 13:45:57 +00:00
tsutsui
3ce80fd791
Use ether_aton_r() in sys/net/if_ethersubr.c instead of home grown copies.
...
Hint from ryo@. Tested on IP32 mec(4).
2011-01-10 13:29:29 +00:00
jmcneill
5263a998f9
ppb_fix_pcix changes:
...
- rename to ppb_fix_pcie
- support version PCI-E 2.0
- print version and device/port type information
- use constants from pcireg.h instead of magic numbers
changes:
ppb2 at pci0 dev 21 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb2: unsupported PCI Express version
to:
ppb2 at pci0 dev 21 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>
2011-01-10 12:23:21 +00:00
tsutsui
7bb48ed5ab
Don't call bus_dmamap_load(9) and bus_dmamap_sync(9) on command xfers
...
if (AT_READ|AT_WRITE) in ata_c->flags is set but ata_c->bcount is zero.
Someone actually tries to put such a command and it causes
DIAGNOSTIC panic in x86/bus_dma.c:_bus_dmamap_sync().
I think bus_dma(9) API itself may allow calls with mapsize==0
but there are many MD code that asserts offset>=mapsize or len==0.
The problem is reported and fix is confirmed by Takuro KUBOTA
with XEN DOM0 kernel (which has options DIAGNOSTIC).
2011-01-10 11:18:14 +00:00
cegger
e1f9b2b091
fix typo in ioctl definition
2011-01-10 11:13:03 +00:00
hannken
b89d0815aa
Add layer_revoke() that adjusts the lower vnode use count to be at least as
...
high as the upper vnode count before passing down the VOP_REVOKE().
This way vclean() check for active (vp->v_usecount > 1) vnodes gets it right.
Should fix PR kern/43456.
2011-01-10 11:11:03 +00:00
jruoho
2304727048
Small clean-up in the match and attach functions. Namely, use the attach
...
args instead of referencing the global softc. No functional change.
2011-01-10 09:07:27 +00:00
christos
fb4e945aa5
regen
2011-01-10 04:42:24 +00:00
christos
3d70c4b47c
implement sigqueueinfo
2011-01-10 04:39:18 +00:00
christos
27d3c8f911
add sigqueue.
2011-01-10 04:38:37 +00:00
phx
93f78709c7
fixed message: "is found" -> "was found"
2011-01-09 22:59:40 +00:00
tsutsui
dd6122d404
Misc cleanup:
...
- use DPRINTF() style debug printf
- KNF and ANSIfy
- fix space/TAB botch
- remove extra newlines
2011-01-09 16:55:13 +00:00
tsutsui
eae5c43d18
Check if `enet' environment variable is available before reference to
...
get MAC address, and exit with appropriate warning messages if it isn't.
My 3MIN doesn't set the variable by default and netboot fails silently.
Also tidy up code that converts strings to enaddr.
2011-01-09 16:28:40 +00:00
jruoho
f640132d0b
Convert aprint_error(9) to ACPI_DEBUG_PRINT.
2011-01-09 16:22:07 +00:00
jruoho
1b00e79140
Remove also rest of the ACPI_DEVICE_POWER checks.
2011-01-09 16:15:25 +00:00
jruoho
930b9f2eb4
After consulting jmcneill@, set the state to D0 ("on") upon shutdown and
...
detach. A safety measure so that we do not accidentally fry anything.
2011-01-09 15:43:20 +00:00
jruoho
37f5de3ab8
Add a dummy-driver for ACPI fans.
2011-01-09 15:12:33 +00:00
jruoho
019ba6b902
Use acpi_power_register() for consistency. No functional change.
2011-01-09 14:58:10 +00:00
jruoho
1dee4ee9e2
We use config_defer(9) now when scanning power resource and wake-up
...
capabilities, so do not fail in acpi_power_register() if ACPI_DEVICE_POWER is
not set in struct acpi_devnode::ad_flags.
2011-01-09 14:56:06 +00:00
is
ea61b20fd5
some more 8187B variants. From OpenBSD
2011-01-09 14:30:36 +00:00
pooka
574a31f2de
Shortcircuit remote 0-len copyin/out already in the kernel.
2011-01-09 14:12:37 +00:00
pooka
35e989d694
accept '\0' as a valid string
2011-01-09 13:49:57 +00:00
jruoho
7ce8997e79
Don't use SYSCTL_SETUP in a driver.
2011-01-09 13:01:03 +00:00
pooka
9a17e75e0e
Autoconfigure 127.0.0.1 for lo0.
...
(testing bind/connect/etc. is now possible on a virgin rump kernel
without the need to ifconfig anything)
2011-01-09 12:22:34 +00:00
pooka
284c651488
Separate interface init and domain adding.
2011-01-09 12:20:53 +00:00
pooka
74e0a75b03
Allow multiple RUMP_COMPONENT() in one file.
2011-01-09 12:20:10 +00:00
jruoho
c40255f958
Print a message if ACPI 4.0 functionality is present (in which case the
...
driver should be updated).
2011-01-09 09:47:55 +00:00
jruoho
a134245aa1
Remove APM. (Already commented out.)
2011-01-09 08:05:47 +00:00
jruoho
74a4ee7fc0
Rearrange (use two tabs).
2011-01-09 05:06:17 +00:00
jruoho
f422341f8e
Regen.
2011-01-09 04:59:00 +00:00
jruoho
04e39f05b5
Add INTC0102 (Intel TPM chip). From ThinkPad T500.
2011-01-09 04:58:34 +00:00
kochi
90a1aa9207
Try reading MAC addr from register if it fails to read from EEPROM.
...
Copied from FreeBSD driver.
Without this my JMC261 doesn't get MAC address properly.
OK'ed by bouyer@
2011-01-09 00:12:45 +00:00
is
6d77db8f4e
Realtek 8187B
2011-01-08 22:02:49 +00:00
christos
f79b6ffa09
Add two sysctls one that does verbose transaction logging and a second one
...
that disables flushing the disk cache (which is fast but dangerous for
data integrity). From simon a long while back.
2011-01-08 20:37:05 +00:00
christos
27ec421326
fix sysctl again.
2011-01-08 20:29:13 +00:00
pooka
712b80467f
SIGPIPE is generated internally by the kernel, so include it in
...
the list of "no panic" sigs.
2011-01-08 14:01:04 +00:00
tsutsui
71bca1aa09
Update some items to reflect reality.
2011-01-08 09:44:37 +00:00
pooka
6d44fb2799
Do a minidehumanizenumber for RUMP_MEMLIMIT. Now you can set it
...
to e.g. 16m instead of having to type out 16777216.
2011-01-08 09:40:05 +00:00
jym
4c59a64111
Move if_xname setting earlier for xvif creation, so we can grab domid
...
and handle values sooner for error cases.
2011-01-08 05:23:19 +00:00
christos
b9d27ca2f7
PR/44340: Brian Buhrow: Raid sets containing wedges cannot be unconfigured
...
and reconfigured without a reboot.
2011-01-07 19:52:18 +00:00
jmcneill
0e137f7821
fix compilation when _MODULE is not defined
2011-01-07 18:24:53 +00:00
jmcneill
c82905f94c
add hdaudio and hdafg modules
2011-01-07 15:32:11 +00:00
jmcneill
4608557aab
modularize hdaudio and hdafg drivers
2011-01-07 15:30:29 +00:00
pooka
3a382dc397
Avoid double init of tty_lock if rumpkern_tty is included. LOCKDEBUG
...
does not tolerate double inits.
pointed out by njoly
2011-01-07 15:10:22 +00:00