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
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
cf14f8d1b5
drivers/: Fixes to spacing and alignement
2015-10-10 10:41:00 -06:00
Gregory Nutt
0b12dbf95d
Fix some spacing problems
2015-10-04 15:04:00 -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
e4d2822af8
Make some file section headers more consistent with standard
2015-04-08 07:15:32 -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
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
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
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
d7d759f7a7
Update everything under nuttx/drivers to use the corrected syslog interfaces
2014-10-08 10:18:58 -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
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
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
400edda109
NET: Rename XYZ_uiptxpoll to just XYZ_txpoll
2014-07-01 18:41:08 -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
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
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
b95886626e
Back-port some bugfixes from the ENCX24J600 to the ENC28J60 driver (unverified). From Max Holtzberg
2013-09-06 13:17:12 -06:00
Gregory Nutt
bc46b447dc
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
Gregory Nutt
e5208a6e92
ENC28J60 errors reported by Max Holtzberg
2013-08-21 08:10:32 -06:00
Gregory Nutt
09faaccc02
Created new directories to hold SPI-related files
2013-07-01 08:11:54 -06:00
Gregory Nutt
b41c96e1f8
Beginning debug of SAM4L Xplained SLCD
2013-06-22 17:01:44 -06:00
Gregory Nutt
d7ec0089a7
Fix for ENC28J60 from Dave
2013-06-22 08:55:16 -06:00
patacongo
ad430fc198
Add syslog.h; rename lib_rawprintf() to syslog()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo
244bea5d24
The ENC28J60 driver is now functional
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5165 42af7a65-404d-4744-a932-0658087f49c3
2012-09-19 14:22:18 +00:00
patacongo
78b298ffad
Fix another ENC28J60 chip select bug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5163 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 23:06:22 +00:00
patacongo
2443a4f553
Cosmetic updates to the ENC28J60 driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5161 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 18:32:31 +00:00
patacongo
8f3559bd34
Fix ording of bytes in ENC28J60 MAC address; Web server refactoring from Kate
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5159 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 12:34:43 +00:00
patacongo
c4b2ce70ba
Fix ENC28J60 Tx transmit (still a receive problem); Add HTTP 408 logic from Kate
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5158 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 23:02:58 +00:00
patacongo
7a2692df6a
Resync new repository with old repo r5166
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo
3ed92de6eb
Misc STM32 wildfire and ENC28J60 driver updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5133 42af7a65-404d-4744-a932-0658087f49c3
2012-09-12 14:07:13 +00:00
patacongo
b8cc5c9186
Misc ENC28J60 fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5132 42af7a65-404d-4744-a932-0658087f49c3
2012-09-12 00:12:18 +00:00
patacongo
26841d617e
Update to granule allocator; Update to ENC28j60 driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5130 42af7a65-404d-4744-a932-0658087f49c3
2012-09-11 20:33:58 +00:00
patacongo
3a0e0aa45b
Updates/fixes related to ENC28J60, Kconfigs, and fire-stm32v2
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5128 42af7a65-404d-4744-a932-0658087f49c3
2012-09-11 16:50:16 +00:00
patacongo
d22b5a6d05
More logic for the MX3 Wildfire board
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5123 42af7a65-404d-4744-a932-0658087f49c3
2012-09-10 16:48:45 +00:00
patacongo
561bea0899
Add support for multiple work queues
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5081 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 00:54:09 +00:00
patacongo
7f005e2d3c
Move all non-standard, NuttX header files into include/nuttx/net
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
ee04a259db
ADS7843E driver is code complete
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4018 42af7a65-404d-4744-a932-0658087f49c3
2011-10-04 17:08:59 +00:00
patacongo
10538a3f2e
Macro clock_systimer replaces direct access to g_system_timer variable
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3500 42af7a65-404d-4744-a932-0658087f49c3
2011-04-13 21:44:24 +00:00
patacongo
8bc8539cad
uip_arp_ipin needs a struct uip_driver_s as an input
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3132 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 20:55:46 +00:00
patacongo
7dceb00a39
Add support for multicast MAC addresses
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2784 42af7a65-404d-4744-a932-0658087f49c3
2010-07-11 15:17:11 +00:00
patacongo
28dc6e461d
In progress changes for OLED display work
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2669 42af7a65-404d-4744-a932-0658087f49c3
2010-05-15 01:15:52 +00:00
patacongo
c69660315d
Add ENC28J60 Interrupt
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2651 42af7a65-404d-4744-a932-0658087f49c3
2010-05-06 00:08:02 +00:00
patacongo
a7b7d5695d
Basic enc29j80 init logic exercised
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2650 42af7a65-404d-4744-a932-0658087f49c3
2010-05-04 01:28:47 +00:00
patacongo
74ef4fdabd
Initial debugging fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2648 42af7a65-404d-4744-a932-0658087f49c3
2010-05-03 03:32:48 +00:00
patacongo
2244ee5177
Add up_enc28j60.c
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2643 42af7a65-404d-4744-a932-0658087f49c3
2010-05-01 19:52:50 +00:00
patacongo
a831ff8459
Add nettest config for str-p711 using enc28j60
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2642 42af7a65-404d-4744-a932-0658087f49c3
2010-05-01 19:21:06 +00:00
patacongo
51c5e75ac0
Fix register name
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2641 42af7a65-404d-4744-a932-0658087f49c3
2010-05-01 12:22:44 +00:00
patacongo
f910556751
Need to include enc28j60.h
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2640 42af7a65-404d-4744-a932-0658087f49c3
2010-05-01 02:16:11 +00:00
patacongo
3f6520732b
en28j60 driver code complete -- untested
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2639 42af7a65-404d-4744-a932-0658087f49c3
2010-05-01 02:14:21 +00:00
patacongo
338bbcd45a
Add initialization logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2638 42af7a65-404d-4744-a932-0658087f49c3
2010-04-30 01:43:46 +00:00
patacongo
5db45464f7
Add power save logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2637 42af7a65-404d-4744-a932-0658087f49c3
2010-04-29 01:55:16 +00:00
patacongo
fae4de246f
Add MAC init logic; framework for reset
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2636 42af7a65-404d-4744-a932-0658087f49c3
2010-04-28 02:29:13 +00:00
patacongo
5fb74fe8f9
Add phy read/write routines
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2635 42af7a65-404d-4744-a932-0658087f49c3
2010-04-28 01:25:38 +00:00
patacongo
60cb5bd4cf
Big time name changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2634 42af7a65-404d-4744-a932-0658087f49c3
2010-04-27 03:52:56 +00:00
patacongo
b375132994
Add basic interrupt handling
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2633 42af7a65-404d-4744-a932-0658087f49c3
2010-04-27 03:03:40 +00:00
patacongo
09fd60d01a
Add ENC28J60 work queue logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2632 42af7a65-404d-4744-a932-0658087f49c3
2010-04-26 12:46:08 +00:00
patacongo
0c28a7ed92
Add SPI buffer read/write logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2629 42af7a65-404d-4744-a932-0658087f49c3
2010-04-25 23:26:16 +00:00
patacongo
1d050f61cc
Add ENC28J80 control reg logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2628 42af7a65-404d-4744-a932-0658087f49c3
2010-04-25 23:05:35 +00:00
patacongo
b6a6c21d01
Add skeleton of ENC28J60 ethernet driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2627 42af7a65-404d-4744-a932-0658087f49c3
2010-04-25 21:24:12 +00:00