tsutsui
bc6f8d1486
Split device_t/softc with misc cosmetic changes.
2008-07-06 13:29:50 +00:00
cegger
02018c5980
ryo shimizu: gscsehci doesn't work.
...
Correctly initialize softc. Fix from PR port-i386/39109.
2008-07-06 08:01:15 +00:00
abs
614a789bec
Commit patch from jmcneill@ to fix "No sound on Thinkpad azalia"
...
Definitely fixes a T60p, and hopefully will fix PR#37141 for an R61 also
2008-07-06 00:14:00 +00:00
minskim
57ab7bfa94
Fix a typo.
2008-07-05 23:52:33 +00:00
bouyer
d80637780e
xbd_map_align() can be called from interrupt context (though
...
xbd_handler()->dk_iodone()->dk_start()->xbd_start()), so don't try
to sleep in uvm_km_alloc().
2008-07-05 19:06:01 +00:00
tsutsui
0f31d9dee9
Split device_t/softc with misc related changes.
2008-07-05 08:46:25 +00:00
ad
c4e6bfaf85
tcp_input: add a couple of assertions.
2008-07-04 18:22:21 +00:00
kiyohara
4a30efc297
Fix config error. required to include files.bluetooth.
2008-07-04 17:31:07 +00:00
tnozaki
c71a9f1dad
use mbrtowc() instead of mbtowc().
2008-07-04 16:52:10 +00:00
ad
6c6c91b240
Move an assignment later.
2008-07-04 16:41:00 +00:00
ad
46587f3717
- Keep cache locked while allocating a cache group - later we might want
...
to automatically tune the group sizes at run time.
- Fix broken assertion.
- Avoid another test+branch.
2008-07-04 16:38:59 +00:00
tnozaki
b29240a183
use nl_langinfo(CODESET) instead of setlocale(LC_ALL, "").
2008-07-04 16:24:45 +00:00
tnozaki
c1cfc49998
fix cursor position problem with the character wcwidth > 1.
...
discussed in tech-userlevel, ok'ed by jdc@ thanks!
2008-07-04 15:51:35 +00:00
ad
9d573e640e
Remove a bunch of conditional branches from the pool_cache fast path.
2008-07-04 13:28:08 +00:00
bsh
928b18eabf
fix slow TOD clock.
2008-07-04 11:59:45 +00:00
skrll
0e6408c2a9
Pull in harmony_round_buffersize fix from OpenBSD.
2008-07-04 11:18:02 +00:00
skrll
f73f03c598
Only process stuff if we're playing. This fixes panic if attempting to
...
record.
Part of PR/35239.
Progress is being made on getting recording working, but it's not quite
there yet.
2008-07-04 11:14:19 +00:00
matthias
1797e3b14b
make LINUX_TCSBRK work. The code is mostly copied from
...
sys/compat/ibcs2/ibcs2_ioctl.c.
2008-07-04 11:06:31 +00:00
ad
a9c686e81a
Scale the number of kernel reserve pages by the number of CPUs.
2008-07-04 10:56:59 +00:00
ad
ecddde33a2
Update a comment.
2008-07-04 10:22:35 +00:00
matthias
1b4ed9ea4e
make LINUX_TCSBRK work. The code is mostly copied from
...
sys/compat/ibcs2/ibcs2_ioctl.c.
2008-07-04 10:13:52 +00:00
cegger
7453f200da
struct device * -> device_t
...
struct cfdata * -> cfdata_t
2008-07-04 04:53:41 +00:00
cegger
1c3c0ccc58
make this build again after device_t/softc split
2008-07-04 04:49:36 +00:00
reinoud
ef780ea2df
Add node-rebuild flag to indicate that the node was rebuild up and thus the
...
allocation extents have changed.
2008-07-03 19:29:42 +00:00
drochner
02b7e019aa
split device/softc
...
Now I'm through - all my devices are split.
2008-07-03 19:07:43 +00:00
drochner
53afd93cba
minor cleanup so that it can cope with a futute split pcmcia device/softc
2008-07-03 18:57:52 +00:00
simonb
8c1b12db94
Fix previous - don't include email footer or bad #endif. Would help if
...
this were even compile tested (HELLO XTOS!).
2008-07-03 18:30:39 +00:00
drochner
363285ca02
split device/softc (tested with an@pcmcia)
2008-07-03 18:10:07 +00:00
reinoud
2cd20af057
Create new udf_verbose class.
2008-07-03 18:03:22 +00:00
reinoud
d3bf9c7bba
Fix rare allocation problem when a fragmented file is truncated to a
...
non-zero length and the last extent was allocated.
2008-07-03 18:03:01 +00:00
reinoud
0687ceb21e
Avoid panic when trying to mount a non existent block device like a
...
/dev/vnd0 that is not configured.
2008-07-03 18:01:08 +00:00
christos
b077640a6b
Add iteration convenience macros; from Alexander Shishkin
2008-07-03 17:41:54 +00:00
drochner
f5d73c7fd3
split device/softc
2008-07-03 17:36:44 +00:00
drochner
abec36fc7a
split device/softc for ioapic
2008-07-03 15:44:19 +00:00
ad
4c75eca868
syn_cache_get: remove new endpoint's socket from head's queue if aborting
...
the connection. Should fix KASSERT(so->so_head == NULL).
2008-07-03 15:35:28 +00:00
ad
f4ddfb5c59
lwp_lock: this can't be simplified for the UP case, as races still exist.
2008-07-03 15:15:40 +00:00
njoly
153124ee21
Fix SIOCGIFCONF ioctl for 64bit platforms. Add a new linux_ifreq
...
structure and linux_getifconf function (cleaned up version from
compat_ifconf).
While here, update linux_getifhwaddr to use the new structure.
Ok by christos.
2008-07-03 14:07:09 +00:00
drochner
54745077e8
Remove "struct device" from "struct pic", where it was only real
...
for ioapics and faked up for others. Add it to "struct ioapic_softc"
for now, until device/softc get split.
This required all typecasts between "struct pic" and "struct ioapic_softc"
to be replaced, I hope I got them all.
functionally tested on i386, compile-tested on xen, untested on amd64
2008-07-03 14:02:24 +00:00
drochner
81ae74c4eb
On cardbus configuration reads, check for a master abort in the cbb
...
and return all-ones explicitely.
Since pccbb.c rev. 1.151 the cbb is set to translate cardbus master
aborts which makes that the PCI configuration read on the primary bus
returns random junk. This can cause the probing code to get confused.
The issue was reported by KIYOHARA Takashi and Jonathan A. Kollasch,
the patch was tested by KIYOHARA Takashi.
2008-07-03 13:37:34 +00:00
hannken
773658bf7e
The Intel SCA backplane "ESG-SHV" does not support logical units.
2008-07-03 13:22:31 +00:00
matt
0b6e401be7
Use the same login in pmap_kenter_pa when removing an unmamanged mapping
...
as in pmap_kremove (otherwise kro_mappings will become incorrect).
2008-07-03 13:02:12 +00:00
ad
2526653044
vinvalbuf: broken assertion.
2008-07-03 12:37:09 +00:00
gson
9717620fd4
Revert the change of revision 1.37 - a driver must not blindly set the
...
mem/io enable bits of a PCI device as the BARs may not be correctly
configured. Fixes PR kern/38857.
2008-07-03 12:26:41 +00:00
mishka
bdb4f49309
The wscons.conf syntax is assuming all arguments on their own fields.
2008-07-03 11:19:34 +00:00
ad
c4d3520a6e
ufsdirhash_build: missing unlock in failure path.
2008-07-03 09:56:15 +00:00
matt
db24f36199
From: Andy Shevchenko <andy.shevchenko@teleca.com>
...
The OMAP2 ref timer providing a base for generic timecounting was configured
to reload at HZ similarly to the clock providing the tick interrupt at HZ.
This and the fact that the tc framework expected a full 32 bit counter range
resulted in time running ~40 times faster than normal.
Configure the ref timer as a full range counter to fix this.
2008-07-03 06:19:18 +00:00
matt
b2abaa8158
Nuke some debugging aprint's.
2008-07-03 06:18:01 +00:00
matt
74055e51f8
Nuke some remaining debug aprint
2008-07-03 06:17:24 +00:00
matt
45df48f8af
The performance counter based delay function depends on a correct frequency
...
setting, do this for H4, which runs on a known fixed core frequency.
Submitted by Irme Deak <imre.deak@teleca.com>
2008-07-03 06:16:17 +00:00
matt
6a96a3909c
For armv6(VIPT), change the rules for mapping via kenter_pa. Allow readonly
...
pages to be mapped by different cache color indexes.
2008-07-03 06:13:41 +00:00