Commit Graph

106625 Commits

Author SHA1 Message Date
rmind
ff74682fb4 Re-structure IPv4 reassembly code to make it more MP-friendly and simplify
some code fragments while here.  Also, use pool_cache(9) and mutex(9).

IPv4 reassembly mechanism is MP-safe now.
2010-10-03 19:44:47 +00:00
rmind
dc69e25ffd - npf_session_gc: fix for previous RB-tree conversion.
- npf_session_free: rename (to singular).
2010-10-03 19:36:38 +00:00
rmind
a21e0fbdda nbuf_advfetch: fix bug and change behaviour on error case. 2010-10-03 19:30:22 +00:00
kiyohara
0ad10ce34f Fix ack/no-ack. Last data sends with stop-bit without ack. 2010-10-03 07:14:33 +00:00
kiyohara
464a6fe072 Add support Marvell Sheevaplug.
Add some NAS on Marvell SoC.
2010-10-03 06:03:10 +00:00
kiyohara
52d286fb8c Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood)
Discovery Innovation not yet.
2010-10-03 05:49:24 +00:00
macallan
7ad510fcea cleanup debug code 2010-10-02 23:54:03 +00:00
macallan
7540c6ba94 fix a typo 2010-10-02 23:50:04 +00:00
jym
68b449c6fe dump is not used here. 2010-10-02 22:54:47 +00:00
jym
dd3b3bd623 Update the comment for PG_PS when used with PAE. 2010-10-02 22:53:49 +00:00
jym
c833615d4e Revert christos@ fix for the i386 paddr_t change and agp_allocate.
Make 'physical' element of the struct agp_allocate an uint32_t. This
is similar to what other kernels do (at least Solaris and Linux).

This patch should make xserver work again within an i386 userland in a
64 bits paddr_t world.

Thanks to Iain Hibbert for reporting the break, and providing initial hints.

See http://mail-index.netbsd.org/current-users/2010/09/27/msg014418.html
2010-10-02 21:52:14 +00:00
bad
6b557ece78 Defopt the rest of the Ipfilter options and tunables.
Per discussion with darrenr@ a year ago.
2010-10-02 20:07:39 +00:00
gsutre
92e792e4a4 Drop _HID requirement for attachment under acpi(4). From now on,
drivers attaching to the acpinodebus interface should not assume
that the passed acpi_devnode has a valid _HID.

ok jruoho@
2010-10-02 18:06:47 +00:00
kiyohara
12f099863c Add support Marvell Sheevaplug.
Add some NAS on Marvell SoC.
2010-10-02 06:15:52 +00:00
kiyohara
7ed1ebb1b1 Add g760a.
Cleanup Marvell SC/SoC peripheral drivers.
2010-10-02 06:09:45 +00:00
kiyohara
bdef090b06 Add G760a fan speed controller driver. 2010-10-02 06:07:37 +00:00
kiyohara
f876f061d1 Support Kirkwood's GbE. 2010-10-02 05:57:42 +00:00
kiyohara
d7b57ebb2b Add Marvell EHCI Controller wrapper.
However, because this driver has some problems now, it will not work the
way things are going.
2010-10-02 05:53:37 +00:00
kiyohara
4f2a5779d9 Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood)
Discovery Innovation not yet.
2010-10-02 05:37:58 +00:00
macallan
17887680e3 clarify how backlight control ioctl()s are supposed to work
TODO: adapt r128fb and radeonfb
2010-10-02 00:52:02 +00:00
christos
e5041587f1 regen 2010-10-01 21:08:27 +00:00
christos
2917d71243 from Anon Ymous:
Clear the any endpoint stall in the interrupt handler.  All other
drivers do this and I am pretty sure we need to as well, though I have
yet to see a stall in the handler.
2010-10-01 20:56:50 +00:00
christos
0a99a7950b From Anon Ymous:
Add support for the Zoom 3095 USB Fax Modem.  There are some problems
with this modem:

1) The CS descriptors were placed after all other descriptors rather
than in the Control Interface.  This is true in both configurations
and is the issue this patch deals with.

2) Modem audio is not done on the modem.  There is a second
configuration with an extra interface (3 interfaces) which presumably
is for handling audio.  This patch does not support that.

3) The interrupts are raised a bit slowly.  This means that pppd(8)
needs to wait a bit before trying to read from the link (i.e., just
before the get_input() loop in src/dist/pppd/pppd/main.c line 547).
If you don't wait, then DCD will not be detected high before that
first read and get_input() will drop the line.  This is not a problem
if you use the "local" option to pppd(8) and ignore DCD, but that is
less than desirable.

4) You apparently have to toggle "RSDL (DCD) option"[1] when you
initialize the modem or you will never see a second DCD high interrupt
when redialing after a disconnect.  Without this the pppd(8) "persist"
mode will not work.  Presumably, some extra initialization is missing
from the driver for this chipset.

[1] Send the AT commands: AT&C0 followed by AT&C1 - doing it in one
command doesn't work.  The AT commands for this modem are at:
http://www.zoom.com/documentation/dial_up/3095F_ATcommands.pdf
2010-10-01 20:56:10 +00:00
christos
713df9b0d9 remove debugging statements that have no chance of working (they crash)
since they are called from a context where we cannot log.
2010-10-01 17:02:35 +00:00
kiyohara
1bf9bb977c Add capacity SMC_CAPS_MULTI_SEG_DMA. pxamci uses pxadmac for DMA. 2010-10-01 09:54:56 +00:00
kiyohara
542a9f73d8 Use DMA bounce buffer, if DMA buffer is making by multiple segments. A lot
of host controllers do not support to two or more segments.
2010-10-01 09:50:42 +00:00
skrll
06acf46b03 Introduce a new type Elf_Symindx for use in decoding the symbol hash table
section and allow this type to be overridden.

The ELF specification says it should always be uint32_t (Elf_Word), but
alpha decided to be different (not sure why). Define Elf_Symindx to be
uint64_t on alpha.

Alpha no longer uses non-standard definitions of Elf64_Sword and
Elf64_Word.  Remove the ability to override these types.

Fixes ld.elf_so after Herculean effort from me and martin.
2010-09-30 09:11:18 +00:00
macallan
672cabf514 use the drawing engine to draw characters so we don't have to sync after each
command and don't need to map the framebuffer anymore
2010-09-30 03:16:51 +00:00
macallan
9d850516d4 add a couple more register definitions, mostly from xf86-video-r128 2010-09-30 03:14:39 +00:00
christos
65e9d79b30 make this compile. 2010-09-28 20:14:11 +00:00
christos
bf1dd8baad - fixes from Jean-Yves Migeon
- handle transitional paddr_t period for i386
2010-09-28 14:02:48 +00:00
christos
dd6d336f67 move all the compat code here, and #ifdef __i386__ from mrg. 2010-09-27 22:53:46 +00:00
christos
7c6472f0a6 move the compat code in the .c file. 2010-09-27 22:49:46 +00:00
christos
2b8db0f1a7 backwards compat code for paddr_t being 32 bits. 2010-09-27 21:25:38 +00:00
kiyohara
40c1055637 Add some IDs. (9210/9211/9220/9221) 2010-09-27 12:29:03 +00:00
tsutsui
15ed98d439 Regen from usbdevs rev 1.562:
> Add support for I/O DATA ETX-US2.
2010-09-25 15:30:30 +00:00
tsutsui
50278ead3f Add support for I/O DATA ETX-US2.
Patch from PR kern/43040.
2010-09-25 15:29:40 +00:00
matt
19e6c76b2d Rename rb.h to rbtree.h, as it is more appropriate (c.f. ptree.h). Also
helps find code that hasn't been updated to use the new rbtree API.
2010-09-25 01:42:38 +00:00
rmind
57fb328f93 Add nbuf_advfetch() and simplify some code slightly. 2010-09-25 00:25:31 +00:00
rmind
879d5dfb5e Fixes/improvements to RB-tree implementation:
1. Fix inverted node order, so that negative value from comparison operator
   would represent lower (left) node, and positive - higher (right) node.
2. Add an argument (i.e. "context"), passed to comparison operators.
3. Change rb_tree_insert_node() to return a node - either inserted one or
   already existing one.
4. Amend the interface to manipulate the actual object, instead of the
   rb_node (in a similar way as Patricia-tree interface does).
5. Update all RB-tree users accordingly.

XXX: Perhaps rename rb.h to rbtree.h, since cleaning-up..

1-3 address the PR/43488 by Jeremy Huddleston.

Passes RB-tree regression tests.
Reviewed by: matt@, christos@
2010-09-24 22:51:50 +00:00
jakllsch
0485cc0e0b fix copy/paste/modify error in a diagnostic panic message 2010-09-24 20:55:19 +00:00
njoly
6795d62e0d Add support for envsys(4) version 2 ioctls. 2010-09-24 13:12:53 +00:00
gsutre
a9c0568376 Do not discard ACPI PCI addresses with function number 0xFFFF: the
ACPI specification allows them (ACPI 4.0a, p. 200).

ok jruoho@
2010-09-24 07:48:59 +00:00
christos
14032335ad prevent integer oveflow. From Maksymilian Arciemowicz 2010-09-23 21:16:42 +00:00
kiyohara
c9cd553838 Add Marvell Secure Digital Input/Output (SDIO) Interface Driver. 2010-09-23 12:36:01 +00:00
kiyohara
014c324421 Print bus width and clock for feature(High speed support). 2010-09-23 12:03:27 +00:00
kiyohara
5ff72fda21 Replace some whitespaces to Tab. 2010-09-23 07:31:10 +00:00
kiyohara
402e9ccf0a + Remove crypto, swcrypto. No need.
+ Enable tap.  It needs Bluetooth PAN.
+ Enable bridge for PAN/netDUO.
+ Enable dmoverio.
2010-09-23 07:21:05 +00:00
kiyohara
0e8c021dd8 Move 'include files.sdmmc' to files.evbarm. 2010-09-23 07:08:57 +00:00
kiyohara
2453452fa8 Remove #ifdef NPRCM. Always include omap2_prcm.h. 2010-09-23 07:01:41 +00:00