|
|
@984a9ba
|
7 years |
martin |
do not expose the call capability handler from the async framework
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e472ee
|
7 years |
jakub |
Move DMA buffers allocation functions to libvirtio
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@331d024
|
7 years |
jakub |
Move desc free list functions to libvirtio
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb19590
|
7 years |
jiri.zarevucky |
Better fix for USB endpoint interval. (thx aearsis)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@831aa466
|
7 years |
jiri.zarevucky |
Fix cases of undefined behavior found by ubsan.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbfe59d
|
7 years |
jakub |
Merge branch 'virtio-net'
This commit merges basic support for the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3107e2
|
7 years |
jakub |
Fix ccheck
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@417aaafb
|
7 years |
jakub |
Protect the virtqueue with a mutex
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea6840d
|
7 years |
jakub |
Use a macro to print the MAC address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b3cb67
|
7 years |
jakub |
Add comments and rename functions for consitency
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6a0f1309
|
7 years |
jakub |
Use macros for working with MAC addresses
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4810acf
|
7 years |
jakub |
Use the actual size as buffer size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9319b7d
|
7 years |
jakub |
Adapt to QEMU layout
For some reason, QEMU uses the legacy layout of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5609d3c
|
7 years |
jakub |
Provide virtio_net_on_multicast_mode_change
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8ef198b
|
7 years |
jakub |
Implement virtio-net interrupt handler
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d135e9
|
7 years |
jakub |
Implement virtio_net_send
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@587478b
|
7 years |
jiri.zarevucky |
Fix some undefined behaviors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe96085
|
7 years |
jakub |
Register and enable virtio-net IRQ
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@848e880f
|
7 years |
jakub |
Let pio_enable_resource return physical address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@121ee4fd
|
7 years |
jakub |
Add least effort virtio_net_send implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d3bfb9e
|
7 years |
jakub |
Add virtio_net broadcast mode change handler
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a087ae
|
7 years |
jakub |
Add basic nic_iface_t ops for virtio-net
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@211b17a1
|
7 years |
jakub |
Make virtio_net_dev_add more complete
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@774aa332
|
7 years |
jiri |
list_foreach loops with single-statement body are indented incorrectly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b085bbaa
|
7 years |
jakub |
Organize the TX and CT buffers in free lists
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9af56b6
|
7 years |
jakub |
Use little-endian accessors for virtio PIO
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5dddac1
|
7 years |
jakub |
Feed RX buffers to the virtio-net RX queue
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9364ced
|
7 years |
jakub |
virtio-net: Setup DMA buffers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0180c67
|
7 years |
jakub |
Separate buffers from virtqueues
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@341df5f
|
7 years |
jakub |
Factor our generic virtio device initialization
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cbcb34c
|
7 years |
jakub |
Configure the virtqueues
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@659bd24
|
7 years |
jakub |
Do not zero device status bits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d0620b
|
7 years |
jakub |
Cleanup the device if initialization fails
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c40351
|
7 years |
jakub |
Start initializing the virtio-net device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f175d22
|
7 years |
jakub |
Add virtio-net specific definitions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6f73b92
|
7 years |
jakub |
Use _initialize instead of _init
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e9ced0
|
7 years |
jakub |
Return also the size of the enabled resource
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00192cde
|
7 years |
jakub |
Factor out virtio code to libvirtio
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69927fa
|
7 years |
jakub |
Start parsing the Virtio PCI Capabilities
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6413967
|
7 years |
jakub |
Add more scaffolding
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@033ebc25
|
7 years |
jakub |
Add virtio-net empty implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@904b1bc
|
7 years |
jiri |
Fix remaining ccheck issues.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f8772d4
|
7 years |
noreply |
Merge pull request #36 from jermar/ar9271
ar9271: Set cable state …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ff23ff
|
7 years |
jiri |
More comment fixing (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3fb9b
|
7 years |
jiri |
Fix block comment formatting (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8800b13
|
7 years |
jakub |
ar9271: Set cable state according to connectedness
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47e00b83
|
7 years |
jiri |
Fix some block comments (found by ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a26925
|
7 years |
jakub |
ne2k: Implement additional nic_iface_t ops
This commit implements the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad896eb
|
7 years |
jakub |
rtl8139: Fix unmapping of DMA memory
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13db2044
|
7 years |
jakub |
Fix unmapping of virtual address of DMA memory
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9597866
|
7 years |
jakub |
Avoid releasing DMA memory twice
When hda_corb_init or hda_rirb_init …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df96271
|
7 years |
jakub |
Test the value returned from dmamem_map_anonymous
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2c5159
|
7 years |
jakub |
Test the value returned from dmamem_map_anonymous
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e8975278
|
7 years |
jiri |
A few more cstyle fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae7d03c
|
7 years |
jiri |
Selected ccheck-proposed comment fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3fafe5e0
|
7 years |
jiri |
Fix incorrectly indented double-slash comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@18b6a88
|
7 years |
jiri |
More ccheck fixes, sometimes with manual intervention.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ebe212
|
7 years |
jiri |
ccheck-fix a few files with for loops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f712a85
|
7 years |
jakub |
rtl8139: Add a note about the hardcoded address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bacee1
|
7 years |
jiri |
Make ccheck-fix again and commit more good files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76d0981d
|
7 years |
jiri |
Use proper boolean constant in while loops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f932a7e
|
7 years |
jiri |
PCUT_INIT declaration also needs a terminating semicolon.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1433ecda
|
7 years |
jiri |
Fix cstyle: make ccheck-fix and commit only files where all the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2172284
|
7 years |
jiri |
Too much magic.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af60409
|
7 years |
jiri |
Modify PADDn macros so that their use is easier to parse.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81b1db8
|
7 years |
zarevucky.jiri |
Avoid using standard C function names for local functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eed4139
|
7 years |
jakub |
Fix some comments mentioning 'call IDs'
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a46e56b
|
7 years |
jakub |
Prefer handle over ID in naming handle variables
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3be9d10
|
7 years |
jakub |
Get rid of ipc_callid_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eadaeae8
|
7 years |
jakub |
Make capability handles type-safe
Define distinct pointer types for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84239b1
|
7 years |
jiri |
And there was much fixing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@850fd32
|
7 years |
jiri |
Fix mischievious semicolons.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@338d54a7
|
7 years |
jiri |
Gratuitous nested block makes ccheck sad.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ef16903
|
7 years |
jiri |
ccheck found these backslashes incorrectly placed in C code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a35b458
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b20da0
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, in certain file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b2dca8de
|
7 years |
aearsis |
usb: decrease and unify verbosity of HC drivers to LVL_NOTE
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae3a941
|
7 years |
aearsis |
usb: cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e0a5d4c
|
7 years |
aearsis |
usb: update copyrights
The data was generated by a script, guided …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ef3afd
|
7 years |
aearsis |
usb: cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95f1b8f
|
7 years |
aearsis |
usb: structures shared with hardware are both packed and aligned
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0539c14
|
7 years |
aearsis |
ohci: batch can be prepared without activating ep first
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5fe3f954
|
7 years |
aearsis |
xhci: refactor splitting transfers
Allow nonzero offsets (not yet …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d758fc
|
7 years |
aearsis |
usb: rethinking DMA buffers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d345ce2
|
7 years |
aearsis |
usb: pass buffers as base + ptr to support partial writes/reads
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af16ebe
|
7 years |
aearsis |
usb: redefine max_transfer_size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c21e6a5
|
7 years |
aearsis |
usbhost: prepare buffers for transfers in library
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdc2253b
|
7 years |
aearsis |
usb pipes: allocate with policy
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be01eb3
|
7 years |
petr.manek |
usbhid: refactor to errno_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa148b3
|
7 years |
petr.manek |
usbhub: refactor to errno_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a821f05
|
7 years |
petr.manek |
usbmid: refactor to errno_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@860bf94
|
7 years |
petr.manek |
usbflbk: refactor to errno_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7cba9f7
|
7 years |
petr.manek |
usbdiag: refactor to errno_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f5718c79
|
7 years |
petr.manek |
usbmast: fix indent
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb862fd
|
7 years |
jenda.jzqk73 |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45457265
|
7 years |
jenda.jzqk73 |
errno_t all the things!
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@961a5ee
|
7 years |
petr.manek |
usbdiag: fix (de)allocation crash caused by merge
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64ce0c1
|
7 years |
jenda.jzqk73 |
Merge commit '290338bf7224f502808b23e82d98306208962b97' into forwardport
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e67c50a
|
7 years |
aearsis |
ohci: use dma memory responsibly
Instead of leaving arbitrary TD …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@290338b
|
7 years |
petr.manek |
usbdiag: more verbose data checking
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|