jruoho
959e675b20
Make the test pass. It appears that this however does not reproduce the
...
PR kern/46463, even though the command is exactly the same.
2012-05-19 07:30:37 +00:00
matt
0dfd46e973
Fix a few compile problems on non-P2020 platforms.
2012-05-19 00:11:46 +00:00
christos
ec88541aff
- use __dead consistently.
...
- more clang build.
2012-05-19 00:02:44 +00:00
skrll
d385808b25
Replace a __cpu_simple_lock_t with a kmutex_t.
2012-05-18 21:09:50 +00:00
rkujawa
54b5fa0cef
Cosmetic change - print newline during autoconf.
2012-05-18 20:52:02 +00:00
jruoho
63e8388028
Clarify this a little.
2012-05-18 15:36:21 +00:00
jruoho
af62c3b4d8
Add a test case for PR kern/46463. From Richard Hansen.
2012-05-18 15:25:25 +00:00
rkujawa
a334ab7745
Note xsurf(4).
2012-05-18 15:24:45 +00:00
jakllsch
8e3694ab9d
Don't exit on ioctl failure, instead let the caller handle it.
...
This is needed so that we can detect failure of the 40LD firmware
interface and fall back to the 8LD interface.
2012-05-18 14:01:34 +00:00
jakllsch
853736acf9
Add $NetBSD$ to header, and add __RCSID.
2012-05-18 13:59:23 +00:00
jakllsch
cb015b40f8
Use C99 fixed width integer types.
2012-05-18 13:55:15 +00:00
jakllsch
a0e1d2a5df
Use err(3) instead of perror(3) + exit(3).
...
Additionally, use symbolic EXIT_FAILURE.
2012-05-18 13:51:17 +00:00
jakllsch
1304a641ca
Use __arraycount instead of identical local macro.
2012-05-18 13:47:33 +00:00
jakllsch
c1cc7f8759
constify number to string lookup tables
2012-05-18 13:41:37 +00:00
skrll
68387479a7
Remove an '@' to hopefully see what's going on with the daily builds.
2012-05-18 12:45:43 +00:00
jdc
4c2bde3243
Increase the number of frequencies in the usb_audio_streaming_type1_descriptor
...
to be the same number that we support elsewhere (AUFMT_MAX_FREQUENCIES).
Set frequency_type to be AUFMT_MAX_FREQUENCIES in the case where a uaudio
device reports more frequencies than we handle.
Fixes a crash in uaudio_chan_ptransfer() because we read uninitialised data
in uaudio_identify_as().
2012-05-18 07:52:54 +00:00
sjg
35fdcec3af
Avoid nested extern declaration warnings
2012-05-18 02:28:16 +00:00
cyber
0b8a986010
regen
2012-05-17 21:59:49 +00:00
cyber
7c1e366213
add USBConnect Mercury
2012-05-17 21:48:22 +00:00
dsl
b5ef992d28
Let the user of INTRENTRY_L() place a label on the 'swapgs' used
...
when faulting from user space.
2012-05-17 19:38:53 +00:00
matt
396f225953
The P2020 doesn't have GPIO in the same place as othe 85xx. Deal with it.
2012-05-17 16:24:09 +00:00
matt
62dd40e661
Allow user addresses >= 0x80000000
2012-05-17 16:22:38 +00:00
matt
94a2d5c844
Add an KASSERT to check that PSL_PR is always set.
2012-05-17 16:21:45 +00:00
matt
f9b44a6d57
Add support for PMAP_GROWKERNEL
2012-05-17 16:20:19 +00:00
wiz
144042a0cd
Remove trailing whitespace.
2012-05-17 07:28:29 +00:00
mrg
c344fad04f
clarify some descriptions. document a couple more functions.
...
make a big commented list of the functions that are lacking real
descriptions.
2012-05-17 02:58:14 +00:00
martin
cfbccd804b
mmap_block:
...
do not use a hardcoded block device list, but query the kernel for attached
disks instead, then try to mmap the raw partition.
2012-05-16 19:12:59 +00:00
alnsn
3580de4ac5
Use original indentation style in more places.
2012-05-16 17:48:59 +00:00
jruoho
5c4e704752
Remove also redundant comment (the reference to the PR is already in the
...
metadata).
2012-05-16 13:54:28 +00:00
martin
7c32638bb1
Simplify the test for PR kern/4645 and make it independend of resource
...
settings.
2012-05-16 13:48:35 +00:00
wiz
d00eda4ad2
Fix typo in comment.
2012-05-16 11:45:08 +00:00
martin
90aaec5d8a
Enable the test for PR kern/46457 now that it does not crash the
...
kernel any more.
2012-05-16 09:51:58 +00:00
martin
9d342c6506
Make sure we can deliver two file descriptors for pipe2() before we set
...
up anything special (like close on exec).
Fixes PR kern/46457.
2012-05-16 09:41:11 +00:00
jruoho
b1a7d876eb
Add a case for PR kern/46457. This is skipped for the time being, as it
...
reproduces the panic described in the PR.
2012-05-16 09:06:35 +00:00
wiz
8f2bae7f86
Remove trailing whitespace.
2012-05-16 08:09:12 +00:00
wiz
e9c39d0f97
Remove trailing comma.
2012-05-16 08:08:39 +00:00
isaki
1b605f64e0
- Remove duplicated declarations.
...
- Make declaration of doboot() "extern" explicitly.
2012-05-16 07:32:30 +00:00
christos
186f51e0f1
define the new variable
2012-05-15 19:07:25 +00:00
bouyer
a7c7dd7fc2
Gather disable/enable interruptst at the Port Interrupt Enable level in
...
2 functions, and use them to disable interrupts for polled commands.
In siisata_probe_drive(), disable interrupt while resetting the PHY and
sending the SOFT_RESET FIS. Also dectect timeout/errors at this level and
disable the port if needed.
Make siisata_intr_port() more resistent to interrupts without xfer (especially
error interrupts which can be asynchrounous, but can also happen for
timed out xfer).
With this, the kernel doesn't pannic when a siisata controller is connected
to a SATA port multiplier. More work is needed to support port multiplier
though.
2012-05-15 19:06:26 +00:00
bouyer
6cafcc75f4
If the PHY reports link up but no communication, wait 5 more
...
seconds for communications to be established. This seems to be needed for
some configurations.
2012-05-15 19:01:10 +00:00
alnsn
c5290ad075
Test a bug found by Geza Herman.
2012-05-15 18:46:20 +00:00
alnsn
81d9822777
Don't use normal indentation style, use original author's indentation style.
2012-05-15 18:13:21 +00:00
mrg
3b0a697698
don't kassert that the sc_intr_lock is held in eso_reset(). it's only
...
called from attach and doesn't need to have it held, and PR 46451 shows
that it currently asserts.
2012-05-15 18:11:28 +00:00
alnsn
d829b8529b
Add missing {} around two "if (b == NULL)" checks which were added in r1.5.
2012-05-15 18:10:02 +00:00
seanb
90cfd29599
- Use _exit() instead of exit() in signal handler since
...
the latter isn't signal safe.
2012-05-15 17:51:51 +00:00
rkujawa
6109f7ffaf
Add xsurf(4) man page to distribution list.
2012-05-15 17:47:48 +00:00
rkujawa
763a7468f2
Add man page for xsurf(4). Mention gencp(4) in clockport(4) synopsis.
2012-05-15 17:46:26 +00:00
rkujawa
057fe0cc5b
regen configs
2012-05-15 17:39:50 +00:00
rkujawa
9f18d1594f
- Split X-Surf driver from if_ne_zbus, rework, add support for clockports present on X-Surf boards.
...
- Add gencp(4), a driver for generic clockports (it just needs a base address).
Approved by phx.
2012-05-15 17:35:43 +00:00
christos
f5b586b16d
Add rl_completion_word_break_hook from:
...
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ \
5ec6a45fa762b8cbd0305ca06acb8780335a486a
2012-05-15 17:30:04 +00:00