Commit Graph

247 Commits

Author SHA1 Message Date
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