Commit Graph

8317 Commits

Author SHA1 Message Date
Gregory Nutt 985c016150 ARP: Add missing configuration option to select dumping of ARP packet headers. Move ARP dumping logic from arp_inout.c to its own file 2014-08-18 11:08:15 -06:00
Gregory Nutt 9aab8f77ea Update ChangeLog 2014-08-18 07:34:16 -06:00
Gregory Nutt a325cb9f0d sscanf(): NuttX libc tried to guess how many characters to parse, extracted them into a buffer, then ran strtol() on that buffer. That guess is often wrong. A better approach would be to call strtol() directly on the input data, using the endptr return value to determine how many characters to skip after parsing. From Kosma Moczek 2014-08-18 07:33:17 -06:00
Gregory Nutt a8d7772ad6 Update README files, Kconfig help comments, and make the network monitor not EXPERIMENTAL 2014-08-18 07:24:47 -06:00
Gregory Nutt 3b07378b38 NSH link management now works! The last fix was to the Ethernet drivers: They cannot disable clocking to the Ethernet blok on ifdown. Otherwise, we cannot communicate with the PHY 2014-08-17 17:54:46 -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 1db9858e9d KSZ80x1 PHY interrupts are active low and should trigger on the falling edge 2014-08-17 13:15:59 -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 5ba42680ac For all SAM Ethernet, need to enable management interface before reading PHY regisers in IOCTL 2014-08-17 11:09:54 -06:00
Gregory Nutt f28fb77e55 Update ChangeLogs 2014-08-17 09:53:43 -06:00
Gregory Nutt dcfc76336a Add some helper macros to make the code a little more compac 2014-08-17 09:46:03 -06:00
Gregory Nutt 716aec39bf Cosmetic 2014-08-17 09:45:38 -06:00
Gregory Nutt ab78e8a0c5 SAM3/4 Ethernet: Clone ioctl support from the SAMA5 2014-08-17 06:54:37 -06:00
Gregory Nutt d87013a665 Use the device name assigned by the registration process, not our best guess 2014-08-16 15:14:39 -06:00
Gregory Nutt 057af36c1d More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic 2014-08-16 15:04:09 -06:00
Gregory Nutt 928952bec6 Update ChangeLog 2014-08-16 14:12:13 -06:00
Gregory Nutt 68e55c454c Implement all network ioctls, including the new ioctl to setup PHY event notifications. 2014-08-16 14:09:14 -06:00
Gregory Nutt f33510a394 Modified to support the change to the network ioctl signature changes. Also add support for new ioctl to setup PHY event notifications. 2014-08-16 14:08:58 -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 f96f40fc0d Update ChangeLog 2014-08-16 12:59:34 -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 7c11a84c98 Refresh configuration 2014-08-16 12:54:58 -06:00
Gregory Nutt e463730c2f A little too much was deleted in a recent commit 2014-08-16 12:52:28 -06:00
Gregory Nutt cde108efc6 Move SLIP prototypes from net.h to new slip.h 2014-08-16 10:28:45 -06:00
Gregory Nutt 4fada956b9 Update ChangeLog 2014-08-16 10:27:49 -06:00
Gregory Nutt 79e098b20e Clean missing function headers 2014-08-16 10:24:06 -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 01f9dcccc1 Update ChangeLog 2014-08-16 08:38:18 -06:00
Gregory Nutt ec47914cf8 Convert existing board specific PHY interrupt interfaces to use newly defined standard interface 2014-08-16 08:35:31 -06:00
Gregory Nutt 9cc485cdee Standardize a PHY interrupt attachment interface 2014-08-16 08:34:50 -06:00
Gregory Nutt c52f634b79 Standardize a PHY interrupt attachment interface 2014-08-16 08:34:36 -06:00
Gregory Nutt d79c311508 SAMA5 setenv.sh: Add another CodeSourcery install path 2014-08-16 08:33:20 -06:00
Gregory Nutt 27c48a383e Don't do 64-bit calculations if accuracy not achievable; Fix compile error in high res RTC mode 2014-08-15 17:48:07 -06:00
Gregory Nutt 88bf9f3ffb Update ChangeLog 2014-08-15 16:02:57 -06:00
Gregory Nutt f60ff46646 Remove libc/time/tzfile.h; content moved inside of libc/time/lib_localtime.c 2014-08-15 15:59:57 -06:00
Gregory Nutt 96bc77fb93 libc/time/lib_localtime.c is much closer to NuttX coding style. libc/time/private.h removed; incorporated into lib_localtime.c 2014-08-15 15:38:37 -06:00
Gregory Nutt b30087ed44 Update ChangeLog 2014-08-15 04:00:51 -06:00
Gregory Nutt eed1d6c619 When reading the system timer, don't read a struct timespec, convert it to a fake tick count, then back to a timespec. Remove CLOCK_ACTIVETIME.. it is non-standard, unused, and gets in the way of changes like this 2014-08-15 03:55:41 -06:00
Gregory Nutt 2bc07a03ae Correct release notes, updat changelog, fix some conditional compilation 2014-08-15 06:56:42 -06:00
Gregory Nutt eab47a0566 Update remaining documents for the 7.4 release 2014-08-14 16:34:39 -06:00
Gregory Nutt e903810818 Update ChangeLogs and ReleaseNotes for 7.4 release (not complete) 2014-08-14 15:46:00 -06:00
Gregory Nutt 569a0815ca Updated comments 2014-08-12 13:50:18 -06:00
Gregory Nutt 318270d849 Fix warning caused by change in mktime prototype 2014-08-12 13:50:08 -06:00
Gregory Nutt 6546fa39c7 Tickless Stuff: Back out the risky timer operations when the ready-to-run list is modified. That is unsafe. An ugly workaround is just to keep an interval timer going all of the time with a minimum duration equal to the timeslice interval. 2014-08-12 11:12:00 -06:00
Gregory Nutt eef608b942 Update README files 2014-08-12 10:01:12 -06:00
Gregory Nutt c9ba1d4091 Fix conditional compilation error 2014-08-12 10:00:58 -06:00
Gregory Nutt 686e5d7e3d Tickless: If using an ALARM, then really should report time of expiration 2014-08-12 10:00:32 -06:00
Gregory Nutt 66803d0db6 Define interfaces to use an alarm instead of an interval timer with the tickless option 2014-08-12 07:28:41 -06:00
Gregory Nutt d4e2f9534d Update ChangeLog 2014-08-12 06:21:54 -06:00