Gregory Nutt
67befb9642
ENC28J60: Update interface to use newer parameter passing to interrupt handlers
2017-08-21 16:49:43 -06:00
Gregory Nutt
241c1433ef
ENCX24J600: Fix some warnings. Update interface to use newer parameter passing to interrupt handlers
2017-08-21 16:23:22 -06:00
Gregory Nutt
969d7c5814
Networking: Remove driver based backlog support. This affects the entire network, but is used by only one driver. The only supported with of supported RX backlog is via common read-ahead buffering.
2017-08-21 06:28:59 -06:00
Gregory Nutt
30c51a49a5
drivers/net/tun.c: Currently cannot support TAP mode unless Ethenet is enabled
2017-08-20 12:01:38 -06:00
Gregory Nutt
1334ab3d2a
IP forward: Correct some compile issues due to recent changes.
2017-08-20 11:46:43 -06:00
Gregory Nutt
7bb8943a9c
Fix IPv6 loopback driver that depended on the removed g_ipv6_allonesaddr. Noted by Masayuki Ishikawa
2017-08-09 06:59:55 -06:00
Gregory Nutt
aeb59383cf
Remove CONFIG_NET_MULTILINK. This increases code size by a little, but greatly reduces the complexity of the network code.
2017-08-08 15:26:09 -06:00
Gregory Nutt
bd7c84b23e
Remove CONFIG_NETDEV_MULTINIC. This increases code size by a little, but greatly reduces the complexity of the network code.
2017-08-08 14:24:12 -06:00
Gregory Nutt
6bd744c4b3
Fix some minor issues in drivers/net/skeleton.c
2017-07-24 15:38:13 -06:00
Gregory Nutt
975473fed8
ICMPv6: Add 6LoWPAN and IP forwarding support.
2017-07-09 11:35:26 -06:00
Gregory Nutt
99ef7c6669
IP forwarding: A few fixes from early testing; In TUN driver, do all polling on worker thread. Otherwise, the stack gets very deep.
2017-07-07 17:33:44 -06:00
Gregory Nutt
b29c99fa6f
Move TUN ioctl commnd to include/nuttx/net/ioctl.h so that it will always be unique. It a error in netdev_register: it was not handling device names properly when TUN is the only network device.
2017-07-07 13:03:04 -06:00
Masayuki Ishikawa
32a8d09901
drivers/net/tun.c: Use critical section instead of semaphore in tun_ifdown()
2017-06-23 14:28:53 +09:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Gregory Nutt
79256573e1
net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment.
2017-04-22 11:10:30 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Gregory Nutt
78bc1aa6bc
Argument of network device IOCTL should be unsigned long, just as will all other IOCTL methods.
2017-04-15 09:33:27 -06:00
Gregory Nutt
55c95442e1
drivers/net/skeleton.c: Add support for IOCTL handling.
2017-04-13 09:53:38 -06:00
Gregory Nutt
ad9321b7b7
Trivial changes from review of last PR
2017-04-13 06:16:03 -06:00
Thomas Keh
7e293b28ee
TUN driver: Implement TAP (OSI layer 2) mode.
...
Enable by setting the IFF_TAP flag instead of the IFF_TUN flag in ifr_flags.
2017-04-13 13:07:03 +02:00
Gregory Nutt
a1aca89d61
drivers/net/skeleton.c: Use more common 'Name:' vs. 'Function:'
2017-04-08 13:55:23 -06:00
Gregory Nutt
8b8ddd05c2
Fix some old-style interrupt handling logic in drivers/net/skeleton.c
2017-04-08 13:30:30 -06:00
Gregory Nutt
52ead055fd
6loWPAN: Beginning of IEEE802.15.4 frame input logic.
2017-04-01 09:07:49 -06:00
Gregory Nutt
c976a66f8d
net/drivers/skeleton.c: Back out serialization changes of the last commit. They are not necessary in the skeleton.c example because the calls to net_lock() at the beginning of each worker function will enforce serialization.
2017-03-04 11:33:36 -06:00
Gregory Nutt
e2eb5f1ae0
drivers/net: Add framework for serialization in the case where multiple low-priority work queues are used.
2017-03-04 09:45:09 -06:00
Gregory Nutt
a8363528dc
net/phy_notify.c: Call to arch_phy_irq() missing new interrupt argument parameter.
2017-03-03 16:08:21 -06:00
Gregory Nutt
86239d4a73
Experimental change to STM32 Ethernet driver a success. Porting change to all other Ethernet drivers.
2017-03-03 14:45:09 -06:00
Gregory Nutt
f5f9d82d5a
arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The oldhandler is useless after the changes to the interrupt argument. Also access an argument for the PHY interrupt. phy_notify.c driver changed to exploit new interrupt argument passing.
2017-03-02 08:43:33 -06:00
Maciej Wójcik
4a8aa6ae95
typos
2017-03-01 12:56:15 +01:00
Gregory Nutt
704df7bd39
IRQ arguments: Fix errors discovered in build testing
2017-02-27 19:28:24 -06:00
Gregory Nutt
b4ff7391f8
Convert more drivers to use use irq_attach with argument.
2017-02-27 10:44:13 -06:00
Mark Schulte
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
...
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Gregory Nutt
8ee2e8d8b0
Most Ethernet drviers: Check if the poll timer is running before restarting it at the end of each TX.
2017-02-24 15:58:17 -06:00
Gregory Nutt
7467329a98
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
2016-12-03 16:28:19 -06:00
Gregory Nutt
ad3897531f
C5471 Ethernet now supports CONFIG_NET_NOINTS
2016-12-03 12:17:55 -06:00
Gregory Nutt
43459fe75e
DM09x0 Ethernet now supports CONFIG_NET_NOINTS
2016-12-03 11:42:15 -06:00
Gregory Nutt
eba1e076ec
PIC32MX/Z Ethernet: Now supports CONFIG_NET_NOINT
2016-12-03 09:50:14 -06:00
Gregory Nutt
bfa1da14e2
LM3S Ethernet now supports CONFIG_NET_NOINTS
2016-12-03 08:32:49 -06:00
Gregory Nutt
c0cbea2550
Remove RGMP and RGMP drivers.
2016-12-02 09:49:33 -06:00
Gregory Nutt
96be43b270
drivers/net/: Adapt all Ethernet drivers to work as though CONFIG_NET_MULTIBUFFER were set. Remove all references to CONFIG_NET_MULTIBUFFER
2016-11-29 16:44:23 -06:00
Gregory Nutt
0804286ad3
arch/: Add option to use low-priority work queue to all Ethernet drivers in arch that support CONFIG_NET_NOINTS.
2016-11-19 09:20:01 -06:00
Gregory Nutt
936b55f608
drivers/net: Add option to use low-priority work queue to all drivers in drivers/net. Not yet added to all architecture-specific network drivers.
2016-11-18 09:22:49 -06:00
Gregory Nutt
52560bba37
ENC28J60: Allow either HP or LP work queue to be used.
2016-11-18 08:41:27 -06:00
Gregory Nutt
4fcbe8e410
drivers: Disable priority inheritance on all semaphores used for signaling
2016-11-03 11:00:47 -06:00
Gregory Nutt
de6db52b52
Oops... Last commit had some garbage in the file
2016-10-24 15:36:11 -06:00
Gregory Nutt
3d4ce55ebd
Oops.. a couple of hunks failed in the last patch. Hope I got them fixed correctly.
2016-10-24 15:25:40 -06:00
Max Nekludov
146d7e7921
drivers/net/tun.c: Fix bug in TUN interface driver
2016-10-24 15:17:01 -06:00
Gregory Nutt
2da3da7fd6
Costmetic changes from review of last commit
2016-09-25 17:24:39 -06:00
Gregory Nutt
0908a6c6b9
Fix calculations using MSEC_PER_TICK. If USEC_PER_TICK is less than 1000, then MSEC_PER_TICK will be zero. It will be inaccurate in any case.
2016-09-25 08:17:33 -06:00
Gregory Nutt
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:44:38 -06:00
Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
d40a473f72
Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn().
2016-06-20 09:37:08 -06:00
Gregory Nutt
2b445ddccc
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
2016-06-20 08:57:08 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
efb02f2ef1
drivers/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network evernts are not errors.
2016-06-12 08:31:22 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
86b79b33cf
Reserver the name 'err' for other purposes
2016-06-11 14:40:07 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
Gregory Nutt
44353f320c
Replace confusing references to uIP with just 'the network'
2016-05-30 09:37:34 -06:00
Gregory Nutt
2244ed46bc
nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-14 07:32:58 -06:00
Gregory Nutt
216eea4543
Net: Fix some errors introduced into the ENC28J60 driver; fix type of wd_start arguments.
2016-02-04 08:55:10 -06:00
Gregory Nutt
dea24c503a
Networking: Remove the HSEC argument from devif_timer.
2016-02-03 12:12:41 -06:00
Gregory Nutt
ff1e057364
Missed one EMAC driver in the last commit
2016-02-03 10:55:51 -06:00
Gregory Nutt
42c365aab1
Duplicate Manuel's EMAC driver fix to every other driver that supports CONFIG_NET_NOINTS
2016-02-03 10:34:10 -06:00
Gregory Nutt
564a1ce606
Cosmetic clean-up of comments
2016-01-24 08:21:55 -06:00
Gregory Nutt
7ee6c5bcfc
Minor clean-up for last big commit
2016-01-23 19:18:55 -06:00
Gregory Nutt
7edf921c5e
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:54:36 -06:00
Gregory Nutt
f6e49caba8
All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
2016-01-23 16:18:13 -06:00
Gregory Nutt
f348e68069
Update to use 64-bit timer when available
2016-01-21 11:54:26 -06:00
Gregory Nutt
51ee01255b
ENC28J60: Missing semicolon causes error in some configurations. Noted by Maciej Wójcik
2016-01-09 19:56:47 -06:00
Vladimir Komendantskiy
ae71c9b447
Fix a compile time error in drivers/net/tun.c.
2016-01-05 10:58:58 -06:00
Gregory Nutt
8fdb173090
drivers/net/telnet.c: Now works like the loop device. A new interface called telnet_initialize() registers a telnet session "factory" device at /dev/telnet. Via ioctl, the factory device can create instances of the telnet character devices at /dev/telnetN to support Telnet sessions.
2015-12-07 13:48:06 -06:00
Gregory Nutt
057b6aef2c
drivers/net: Move the Telnet driver from apps/netutils/netnetd to drivers/net
2015-12-07 09:26:57 -06:00
Gregory Nutt
c16648b3fd
Most cosmetic but also includes a fix for a compile problem from Ken Pettit
2015-12-01 12:54:57 -06:00
Gregory Nutt
2a93c66948
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
2015-11-26 12:08:09 -06:00
Gregory Nutt
796d52b3e1
Fix a typo introduced with last commits
2015-10-10 12:24:31 -06:00
Gregory Nutt
cf14f8d1b5
drivers/: Fixes to spacing and alignement
2015-10-10 10:41:00 -06:00
Gregory Nutt
af086c40ff
Remove dangling whitespace
2015-10-04 15:28:54 -06:00
Gregory Nutt
0b12dbf95d
Fix some spacing problems
2015-10-04 15:04:00 -06:00
Paul A. Patience
3b89eabd50
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2.
2015-09-01 13:52:29 -04:00
Gregory Nutt
8811681d7f
networking: Big performance improvement for local loopback driver
2015-08-27 11:05:53 -06:00
SaeHie Park
a268e0aeb9
Fix a typo from an earlier commit
2015-08-26 18:12:58 -06:00
Gregory Nutt
7a168a791f
Networking: Fix loopback device MTU
2015-08-26 10:33:44 -06:00
Gregory Nutt
32de036490
Local loopback: Set the IFF_UP flags during initialization because the local loopback device is always up
2015-08-25 20:09:12 -06:00
Gregory Nutt
79aa3d40b0
Kconfig: CONFIG_NET_MULTILINK and CONFIG_NET_MULTINIC must be support if the loopback device and any real network device are selected
2015-08-25 06:51:15 -06:00
Gregory Nutt
a2c0068011
Fix some IPv6 loopback device problems
2015-08-24 17:27:38 -06:00
Gregory Nutt
3018dc31e5
Network local loopback: Another structural simplication
2015-08-24 16:08:17 -06:00
Gregory Nutt
eea69cf6e3
Networking: Local loopback, fix a error in last commit + fix a bad functional partitioning
2015-08-24 15:23:09 -06:00
Gregory Nutt
4d040d572a
Networking: Eliminate recursion from the local loopback driver
2015-08-24 15:16:03 -06:00
Gregory Nutt
3c5f817513
Networking: Local loopback is basically functional and is no longer EXPERIMENTAL
2015-08-24 13:58:57 -06:00
Gregory Nutt
933d74e5c1
Networking: With these changes, I can ping the local loopback device from the simulator
2015-08-24 13:49:12 -06:00
Gregory Nutt
0b012c7978
Fix some initial loop back device compilation errors; mark configuration as EXPERIMENTAL
2015-08-24 11:29:54 -06:00
Gregory Nutt
ccb24e1766
drivers/net: Add a basic prototype for a local loopback device
2015-08-24 11:03:36 -06:00
Gregory Nutt
ea2fafb024
Add definitions to support a local loopback link layer
2015-08-24 08:25:08 -06:00
Max Neklyudov
622c5c9aa6
Another TUN driver fix from Max Neklyudov
2015-08-21 07:40:13 -06:00
Max Neklyudov
425146255a
Network drivers: Fix bug in tun interface driver. From Max Neklyudov
2015-08-17 09:04:58 -06:00
Gregory Nutt
77f5c34af0
Fix some common typos
2015-08-16 11:00:30 -06:00
Gregory Nutt
0dd273935a
Standardize naming of all SLIP configuration options
2015-08-06 15:08:15 -06:00
Gregory Nutt
86769101a1
SLIP: Review code, update comments, add missing configuration items
2015-08-06 14:32:12 -06:00
Gregory Nutt
e1c902d468
Remove some incorrect comments
2015-08-06 14:06:43 -06:00
Anton D. Kachalov
2db954c189
Add support for multicast address (via hashtable)
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 19:43:17 +03:00
Gregory Nutt
15db2a45a4
drivers/net/slip.c: Fix another compilation error
2015-08-02 07:20:36 -06:00
Gregory Nutt
3669292024
Cosmetic changes from review of pull request
2015-07-31 07:17:07 -06:00
Anton D. Kachalov
2ef03d49fe
[drivers/net/ftmac100] Remove private board-specific interrupt configuration calls. Configure Mode/Level outside of the driver scope.
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-07-31 14:12:10 +03:00
Anton D. Kachalov
7613d97a90
[drviers/net/ftmac100] receive: process all available RX descriptors
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-07-31 08:48:13 +03:00
Anton D. Kachalov
cbd4586cad
[drivers/net/skeleton] Add missed #endif
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-07-30 23:16:34 +03:00
Anton D. Kachalov
f230c87fba
Fix a type in the network driver skeleton file.
2015-07-29 16:08:56 -06:00
Anton D. Kachalov
88861e562a
Add support for a Faraday FTMAC100 Ethernet MAC Driver. From Anton D. Kachalov
2015-07-29 15:57:58 -06:00
Gregory Nutt
5a7b2757aa
Add definitions for SMSC LAN8742A PHY
2015-07-19 13:09:48 -06:00
Gregory Nutt
cb5a3bd84d
Fix error in Kconfig of previous change: Can't mix tabs and spaces in help text
2015-07-17 08:31:21 -06:00
Gregory Nutt
652371c919
Add CONFIG_NETDEV_LATEINIT that can be used to suppress calls to up_netinitialize() from early initialization
2015-07-17 07:20:16 -06:00
Gregory Nutt
09c7373f24
Fix misc. compilation error/warning detected by tools/testbuild.sh
2015-07-01 14:33:37 -06:00
Gregory Nutt
8fbac280e9
drivers/net/slip.c: Fix a missed name change when many of network interface names changed sometime back but were apparently never updated for SLIP
2015-07-01 11:58:06 -06:00
Gregory Nutt
342f5fe33d
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Gregory Nutt
bb7e15fc57
Misc. improvements to the TUN driver, mostly related to poll(). From Max Neklyudov
2015-06-04 06:54:55 -06:00
Gregory Nutt
391367e8ca
LPC17 Ethernet: Add support for the Micrel KSZ8041 PHY.
2015-06-03 17:34:36 -06:00
Gregory Nutt
7355a9044a
TUN driver bug fix. From Max Neklyudov.
2015-06-03 10:45:13 -06:00
Gregory Nutt
4f05c80794
LPC17xx Ethernet: Improve CONFIG_NET_NOINTS implementation
2015-06-01 08:07:32 -06:00
Gregory Nutt
e4d2822af8
Make some file section headers more consistent with standard
2015-04-08 07:15:32 -06:00
Gregory Nutt
312ae5713e
PIC32MZ Ethernet: Add support for LAN8740A PHY
2015-03-29 07:05:30 -06:00
Gregory Nutt
469827640b
Add support for LAN8740
2015-03-23 15:34:10 -06:00
Gregory Nutt
32aadd9cc2
SAMV7: Quick'n'dirty port of the SAMA5D4 Ethernet MAC driver to the SAMV7. Still some unresovled issues with DCache handling
2015-03-16 13:51:37 -06:00
Gregory Nutt
21d6e41032
Add TUN device. From Max Neklyudov
2015-03-11 06:52:56 -06:00
Gregory Nutt
e7470e0834
Update dates in all skeleton files
2015-02-13 06:13:34 -06:00
Gregory Nutt
94d3c68013
Oops... Conditioned on IPv4 wheren IPv6 was intended
2015-02-09 14:16:32 -06:00
Gregory Nutt
3384274087
Fix IPv4-dependend debug output
2015-02-09 13:18:31 -06:00
Gregory Nutt
8a28f7fc5d
Networkin: Fix an error in network driver skeleton file
2015-02-09 12:49:09 -06:00
Gregory Nutt
a9c71630e1
Add IPv6 support to network driver skeleton and to SAMA5D4 Ethernet driver (which, unfortunately is still missing address filtering logi)
2015-02-05 10:49:32 -06:00
Gregory Nutt
2f009a2afe
Networking: SLIP interface improvements. From Macs N.
2015-01-30 08:09:38 -06:00
Gregory Nutt
32d2a4c548
All Ethernet drivers (again): Missed one place where arp_out() is called and neighber_out() needs to be called
2015-01-21 11:36:33 -06:00
Gregory Nutt
1ad73c52b1
Networking: Modify all Ethernet drivers: Do neighbor look-up on all outgoing IPv6 packs in order to properly set the destination link layer address.
2015-01-20 15:52:25 -06:00
Gregory Nutt
a53ae59284
Networking: Add missing raw/packet socket support to all Ethernet drivers
2015-01-20 15:14:29 -06:00
Gregory Nutt
bbafb8f2fe
Tiva Ethernet: When calling into the stack from the worker thread, it is necessary to have the stack locked
2015-01-18 16:58:11 -06:00
Gregory Nutt
b7c0bfebd5
Tive Ethernet: Fix some race conditions in the driver that become apparent when debug is enabled
2015-01-17 10:59:45 -06:00
Gregory Nutt
b648733589
Networking: All Ethernet drivers: Call ipv6_input if IPv6 is enabled and an IPv6 packet is received
2015-01-15 10:25:53 -06:00
Gregory Nutt
89538ac4a2
- Rename devif_input() ipv4_input()
...
- Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
2015-01-15 08:03:56 -06:00
Gregory Nutt
a7ce1279f9
Networking: (1) Copied all ICMP sources files to net/icmpv6 with proper renaming and removal of IPv4 logic, (2) remove IPv6 logic from files in net/icmp, (3) copied include/nuttx/icmp.h to icmpv6.h and removed IPv4 specific logic, (4) removed all IPv6 logic from icmp.h, (5) IP_HDRLEN became IPv4_HDRLEN and IPv6_HDRLEN, (6) ip_chksum() became ipv4_chksum() and ipv6_chksum(), and (7) added partial support for ICMPv6 statistics.
2015-01-14 16:10:38 -06:00
Gregory Nutt
207835bd0d
Tiva PHY Interrupts: Need to read the PHY interrupt status register in order to clear the pending PHY interrupt
2015-01-05 15:12:45 -06:00
Gregory Nutt
51b220c6d5
Ethernet skeleton: Add some more example logic
2014-12-31 13:45:19 -06:00
Gregory Nutt
2317da4192
Minor corrections to Ethernet driver skeleton
2014-12-31 13:02:30 -06:00
Gregory Nutt
6d1a79ed40
Minor updated to Ethernet driver skeleton
2014-12-31 12:26:18 -06:00
Gregory Nutt
09446f7d27
Update drivers/net/skeleton.c
2014-12-31 06:37:14 -06:00
Gregory Nutt
157916ba4c
Uses DEBUASSERT, mut include assert.h
2014-12-30 16:58:02 -06:00
Gregory Nutt
3666af88d4
drivers/net/skeleton.c: Add outline for support with CONFIG_NET_NOINTS
2014-12-30 14:56:37 -06:00
Gregory Nutt
2994448d85
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:15:09 -06:00
Gregory Nutt
33627632a5
Network: Fix compilation problem when mutliple networks enabled
2014-11-17 10:22:30 -06:00
Gregory Nutt
b9cd425bc2
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU in all drivers/net (except slip.c)
2014-11-16 08:53:20 -06:00
Gregory Nutt
25a9005ce7
Remove use of NET_LL_HDRLEN from Ethernet drivers. Use ETH_HDRLEN instead
2014-11-15 09:05:34 -06:00
Gregory Nutt
2b758537ea
Network: Misc fixes for clean complete with both Ethernet and SLIP enabled
2014-11-15 08:55:50 -06:00
Gregory Nutt
388ef8db1a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
ebdff66c8b
ARP: Add support for the case where there are multiple networks: One being Etherenet and the other not (say slip or perhaps someday PPP). In that case, we need to suppress ARP-related operations on the SLIP/PPP interface only
2014-11-14 18:25:33 -06:00
Gregory Nutt
d7d759f7a7
Update everything under nuttx/drivers to use the corrected syslog interfaces
2014-10-08 10:18:58 -06:00
Gregory Nutt
23147c40a5
Remove final traces of the 8015 from the NuttX source tree
2014-09-01 13:21:15 -06:00
Gregory Nutt
205260d5e2
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -06:00
Gregory Nutt
1780810d3d
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
ad9b3f8ab8
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
2014-08-21 11:16:55 -06:00
Gregory Nutt
004788d7c0
Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires
2014-08-17 16:51:56 -06:00
Gregory Nutt
7cc93b708a
SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts
2014-08-17 14:07:53 -06:00
Gregory Nutt
e04ab2bcfc
In order to get PHY interrupts, they must be enabled at the PHY (still don't get PHY interrupts)
2014-08-17 13:03:18 -06:00
Gregory Nutt
eb5e2e4b20
Finishes the ioctl definition to subscribe to PHY events. Revamp network ioctl signature to support arguments other than struct mii_ioctl_data.
2014-08-16 14:08:04 -06:00
Gregory Nutt
8428a58bdc
Add support for an ioctl that can be used to notify an application when there is a change in the network status signalled by a PHY interrupt
2014-08-16 12:56:02 -06:00
Gregory Nutt
4beb3c0ad7
Move SLIP prototypes from net.h to new slip.h
2014-08-16 10:23:17 -06:00
Gregory Nutt
c52f634b79
Standardize a PHY interrupt attachment interface
2014-08-16 08:34:36 -06:00
Gregory Nutt
0b3ff976ff
Fix an error in SLIP escaping
2014-07-22 06:55:42 -06:00
Gregory Nutt
c5fc24e110
NET: Standardize naming of all protocal header lengths
2014-07-05 13:04:48 -06:00
Gregory Nutt
60246e613b
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
2014-07-04 19:13:08 -06:00
Gregory Nutt
0bb153b8cb
Remove all inclusion of uip.h
2014-07-04 16:58:22 -06:00
Gregory Nutt
a6b39d1879
NET: in-progress change... don't use
2014-07-04 16:38:51 -06:00
Gregory Nutt
cce35ce975
NET: More renaming
2014-07-04 15:40:49 -06:00
Gregory Nutt
8e9df8ade0
NET: Misc naming clean-up
2014-07-02 17:23:25 -06:00
Gregory Nutt
400edda109
NET: Rename XYZ_uiptxpoll to just XYZ_txpoll
2014-07-01 18:41:08 -06:00
Gregory Nutt
77330679d4
NET: Rename uip_mss to tcp_mss
2014-06-30 19:09:23 -06:00
Gregory Nutt
b0c1b7ef47
Rename uip_poll->devif_poll and uip_timer->devif_timer
2014-06-30 18:40:41 -06:00
Gregory Nutt
da7379ed18
Rename uip_input to devif_input
2014-06-30 18:11:17 -06:00
Gregory Nutt
ed1aa8c594
E1000: Rename uip_dev to netdev
2014-06-29 13:03:19 -06:00
Gregory Nutt
fce2a79abd
Rename uip_driver_s net_driver_s
2014-06-27 16:48:12 -06:00
Gregory Nutt
64ba574ecc
Move files to net/utils; make appropriate name changes, most for uip_lock to net_lock
2014-06-26 14:23:21 -06:00
Gregory Nutt
621097b6c8
Rename ip_eth_hdr to eth_hdr_s
2014-06-25 09:57:52 -06:00
Gregory Nutt
5d1f8180d4
Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h
2014-06-24 10:14:15 -06:00
Gregory Nutt
37646044ac
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h
2014-06-24 09:28:44 -06:00
Gregory Nutt
8b450d6d1b
SAMA5D4: Add EMAC driver
2014-06-11 12:23:31 -06:00
Gregory Nutt
90e4b55e0c
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_
2014-05-30 12:13:06 -06:00
Gregory Nutt
3a1324741a
More trailing whilespace removal
2014-04-13 14:32:20 -06:00
Gregory Nutt
4bbbe80a31
configs/rgmp/x86/default: Configuration converted to use the kconfig-frontends tools
2014-03-06 11:47:16 -06:00
Gregory Nutt
29a4ca8f08
configs/rgmp/arm/default: Configuration converted to use the kconfig-frontends tools
2014-03-06 11:19:05 -06:00
Gregory Nutt
a2a3f80120
configs/ntosd-dm320/nettest: Configuration converted to use the kconfig-frontends tools
2014-03-05 12:16:02 -06:00
Gregory Nutt
2c1b3188e7
onfigs/ez80f910200zco/nettest: Configuration converted to use the kconfig-frontends tools
2014-03-03 11:40:29 -06:00
Gregory Nutt
91b002a043
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
Gregory Nutt
9e2640b896
Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg
2014-01-21 10:21:45 -06:00
Gregory Nutt
edf984df2d
ENCX24J600: Improved descriptor handling, free packets on rx abort interrupt. From Max Holtzberg
2013-10-11 10:57:58 -06:00
Gregory Nutt
f3a7625fca
ENCX24J600: Use separate pools for RX and TX descriptors. From Max Holtzberg
2013-09-28 09:09:00 -06:00
Gregory Nutt
95bfcafb47
ENCX24J600: Remove poll for new TX data from TX done interrupt handling
2013-09-27 08:34:11 -06:00
Gregory Nutt
e4af9572d0
Beginng of support for GMII/RGMII PHYs
2013-09-26 15:55:21 -06:00
Gregory Nutt
22fe508443
Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled
2013-09-25 11:50:05 -06:00
Gregory Nutt
788d1623ae
Fix badly applied patch to ENCX24J600
2013-09-25 08:26:56 -06:00
Gregory Nutt
368867f06e
ENCx24J600 UDP backlog support from Maz Holtzberg
2013-09-24 09:03:16 -06:00