Gregory Nutt
4320b1b1a3
CAN driver: Another Ooops... Cannot save the updated driver open count if the we fail to initialize the CAN driver, causing the open to fail
2015-02-23 20:14:39 -06:00
Gregory Nutt
f4a2ebc220
CAN driver: Oop. unlink method does not exist if there operaions on the pseudo filesystem are disabled
2015-02-23 19:49:19 -06:00
Gregory Nutt
ebe289725b
in nuttx/drivers/can.c can_open function:
...
this line "dev->cd_ocount = tmp;" needs to be moved a few lines down otherwise the open count will only be incremented from 0 to 1. This causes problems when trying to open the can bus from two different tasks.
SourceForge Patch #46 from Anonymous
2015-02-23 19:28:52 -06:00
Gregory Nutt
63ab39b274
VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled.
2015-02-18 09:34:58 -06:00
Gregory Nutt
e2336a07bb
The RTC ioctl() method is now a configuration option
2015-02-18 08:23:10 -06:00
Gregory Nutt
f94e601981
Add an IOCTL method to the RTC interface
2015-02-18 08:05:31 -06:00
Gregory Nutt
d6704a1cd7
Suffer the consequences of moving struct timeval to its correct location
2015-02-15 15:18:35 -06:00
Gregory Nutt
5cb233f712
RTC: A little more clean-up of the RTC driver
2015-02-15 08:19:23 -06:00
Gregory Nutt
fcadc2d8e4
Add an RTC upper half driver. This is the driver that is documented in include/nutt/rtc.h
2015-02-13 11:49:04 -06:00
Gregory Nutt
c463f9fad6
Move timer-related drivers from drivers/ to drivers/timers.
2015-02-13 10:30:06 -06:00
Gregory Nutt
3724a5e98e
RTC: Remove all backdoor interfaces from rtc.h
2015-02-13 08:41:34 -06:00
Gregory Nutt
e7470e0834
Update dates in all skeleton files
2015-02-13 06:13:34 -06:00
Gregory Nutt
63ac1ec423
Cosmetic updates to comments
2015-02-12 13:44:22 -06:00
Gregory Nutt
3e1173225e
Renamed SPIDEV_GSENSOR to SPIDEV_ACCELEROMETER just because it looks better beside SPIDEV_BAROMETER
2015-02-12 12:26:19 -06:00
Gregory Nutt
38aa31dea2
Update ChangeLog
2015-02-12 12:21:05 -06:00
Gregory Nutt
fd6d299788
Add driver for the Feescale MPL115A baramoter. From Alan Carvalho de Assis
2015-02-12 12:18:43 -06:00
Gregory Nutt
410fcaa0a1
Added a forward reference to struct inode to avoid warning about mismatching types in assignemnt
2015-02-10 13:41:49 -06:00
Gregory Nutt
f3427cb32a
mtd/ramtron.c: Table of parts is not terminated properly if CONFIG_RAMTRON_FRAM_NON_JEDEC is not defined
2015-02-09 16:35:58 -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
b285162e79
Fix some warnings in audio code causing by fixing the prototypes of mq_send() and mq_receive()
2015-02-09 12:50:04 -06:00
Gregory Nutt
8a28f7fc5d
Networkin: Fix an error in network driver skeleton file
2015-02-09 12:49:09 -06:00
Gregory Nutt
3465cb6138
SYSLOG: Add an option to use the syslog'ing device as the system consolution. This option enables a low-level, write-only console device at /dev/console (similar to the low-level UART console device). From Pierre-noel Bouteville.
2015-02-08 06:53:24 -06:00
Gregory Nutt
6f335dc6c6
STM32 SPI: The source clock for SPI 4,5, and 6 should be PCLK2, not PCLK1 (for F411, F427, and F429). Per David Sidrane.
2015-02-07 13:59:45 -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
f472041ce2
RAM disk: Missed a few changes in the last commit
2015-02-01 08:20:30 -06:00
Gregory Nutt
2407008b6e
drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters.
2015-02-01 07:24:16 -06:00
Gregory Nutt
eceac1612d
Fix some compilation errors introduced in the last commit
2015-01-31 13:24:59 -06:00
Gregory Nutt
eb1aca3e46
Add an unlink method to block driver interface. Same motivataion as for the same modification to the character driver interface
2015-01-31 13:19:23 -06:00
Gregory Nutt
fa949604ba
Remove reference to used variable
2015-01-31 12:49:51 -06:00
Gregory Nutt
f24520acbb
Backout use of named initializers. Not C99
2015-01-31 12:29:21 -06:00
Gregory Nutt
39a5238c43
Pipes/FIFOs: Implement the unlink method. If the pipe/FIFO is unlinked, it will marked the pipe/FIFO as unliked. If/when all open references to the driver are closed, all of the driver resources will be freed.
2015-01-31 12:05:01 -06:00
Gregory Nutt
e86d00913e
Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed.
2015-01-30 11:14:24 -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
a4a6917267
Fixes some issues found by the PX4 team using Coverity. From Pavel Krienko
2015-01-19 13:01:20 -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
31a94816b2
USB host drivers: Change all parmeters named class to usbclass to avoid C++ conflicts
2015-01-11 08:05:09 -06:00
Gregory Nutt
83d6e6403c
drivers/mmcsd/Kconfig: ARCH_HAVE_SDIOWAIT_WRCOMPLETE should not depend on MMCSD_SDIO
2015-01-09 07:21:43 -06:00
Gregory Nutt
089e001874
STM32 SDIO: CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE should not be available unless CONFIG_MMCSD_SDIO=y
2015-01-08 18:12:06 -06:00
Gregory Nutt
f787440a04
STM32 SDIO: Don't let architectures select CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE unless they have implemented SDIOWAIT_WRCOMPLETE
2015-01-08 17:47:34 -06:00
Gregory Nutt
1842525cc2
MMCSD SDIO: Add support for a new SDWAIT_WRCOMPLETE condition. The previous logic used a busy-wait loop to pool the card R1 start to determine when the card was ready for the next transfer. That busy-wait can be quite long -- hundreds of milliseconds. And alternative is to look the the SD D0 pin which will change state when the card is no longer busy.
...
This logic implements a change the avoids the busy-wait poll by reconfiguring the SD D0 pin as a GPIO interrupt, then waiting for the card to becom ready without taking up CPU cycles.
This change is conditioned on CONFIG_MMCSD_SDIOWATI_WRCOMPLETE and is currenlty only implemented for the STM32 SDIO driver.
From David Sidrane
2015-01-08 06:23:42 -06:00
Gregory Nutt
383a47fb28
DK-TM4C129X: Add support for on-board TMP100 temperature sensor
2015-01-06 11:50:56 -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