Tim Kientzle
5daf64fb7d
Do proper padding of runt packets using code copied from bge(4).
...
Reviewed by: gnn
2012-10-25 04:37:47 +00:00
Tim Kientzle
ea4597d0ab
Refer to headers locally. This makes it a lot easier
...
to build this driver out-of-tree.
2012-10-25 04:33:47 +00:00
Tim Kientzle
747d299f0a
Don't repeat the POSTREAD dma sync.
2012-10-22 02:28:48 +00:00
Tim Kientzle
da44817ee6
Replace deprecated M_DONTWAIT with M_NOWAIT.
2012-10-19 05:50:56 +00:00
Tim Kientzle
83e5430018
Fix an mbuf leak in cpsw driver, clean up mbuf management:
...
* Record TX mbufs when we get them so we can release them.
* Set TX/RX mbuf slots to NULL when we are no longer responsible for them
* Move dma sync on RX into RX intr routine
2012-10-15 04:10:49 +00:00
Tim Kientzle
2e88f5cd34
Cut-and-paste dropped semicolon.
2012-10-14 23:07:54 +00:00
Tim Kientzle
4cc21ce89a
Name cpsw_stop to cpsw_stop_locked consistently with other functions
...
in this file that assume locks are already held.
2012-10-14 23:00:24 +00:00
Tim Kientzle
a97afde093
Return correct packet size.
2012-10-14 22:58:12 +00:00
John-Mark Gurney
2b539bdcb3
remove some unnecessary debugging statements, dead code and incorrect
...
comment...
Reviewed by: gnn, imp
2012-09-16 19:42:27 +00:00
Tim Kientzle
0be65db279
Correctly fetch the MAC address.
...
Break down the bytes directly into the softc;
the intermediate buffer isn't needed here.
Break down the bytes in the correct order.
2012-08-27 04:43:30 +00:00
Oleksandr Tymoshenko
e53470fee3
Merging of projects/armv6, part 10
...
- Support for Texas Instruments SoCs:
- AM335x
- OMAP4
- Kernel configs, DTS for Beaglebone and Pandaboard
Submitted by: Ben Gray, Damjan Marion
2012-08-15 06:31:32 +00:00