Commit Graph

2082 Commits

Author SHA1 Message Date
Gregory Nutt ab50e9d04d Networking: Get rid of g_ipv4_allzeroaddr and g_ipv4_alloneaddr. It is more efficient and more intuitive to use INADDR_ANY and INADDR_BROADCAST 2015-05-29 15:16:11 -06:00
Gregory Nutt e81f279315 Networking: Modify event list handling: Now there are two event lists each device structure: (1) One is for ARP and ICMP data related evetns, the other is for device related events. Callback allocation/free routines no accept a device paramter as well as a list: If the device paramter is added, then the callback goes into both the connection-related liast AND the device event list. Thus each socket type can received both custom data-related events as well as common device related events. 2015-05-28 12:01:38 -06:00
Gregory Nutt b94321cfb4 Extend device specific callbacks to ICMPv6 and ARP. Fix some IPv6 compilation errors that have crept in 2015-05-27 11:39:44 -06:00
Gregory Nutt 8ecb84ed89 Improve icmp handling if MULTINIC enabled. From Max Neklyudov 2015-05-27 09:26:00 -06:00
Gregory Nutt b1fa91a681 MTD: Increase size of the geometry structure to support FLASH parts with 246KiB erase blocks 2015-05-26 06:46:09 -06:00
Gregory Nutt 4adda9d428 Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis 2015-05-23 17:08:35 -06:00
Gregory Nutt eb7e66c945 Update Documentation 2015-05-18 13:41:35 -06:00
Gregory Nutt 3adcae8ffb Update the type passed to watchdog timer handlers. Using uint32_t is a problem for 64-bit machines. 2015-05-18 08:53:42 -06:00
Gregory Nutt 87b065253d LPC17 USB host: Fix some OHCI done head handling when a tranfer is cancelled 2015-05-15 08:29:45 -06:00
Gregory Nutt 3c1af2feed Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna. 2015-05-12 07:41:12 -06:00
Gregory Nutt ca29c652c3 Remove duplicate prototype of statfs from stdio.h. Belongs in sys/statfs.h only. Note by Michael Hope 2015-05-12 07:00:11 -06:00
Gregory Nutt cf1ab6baec The USB host cancellation now applies to all transfers and so it no longer conditional 2015-05-11 12:04:03 -06:00
Gregory Nutt 8ed11a374d EHCI HCDs will now support cancellation of syncrhonous transfers 2015-05-11 11:43:31 -06:00
Gregory Nutt 7a3fafb67f OHCI HCDs will not support cancellation of syncrhonous transfers 2015-05-11 10:36:17 -06:00
Gregory Nutt 691d7c9819 Rename usbhost_storageinit() to usbhost_msc_initialize(). Add calls to usbhost_cdcacm_initialize() is CONFIG_USBHOST_CDCACM is selected. 2015-05-06 14:11:29 -06:00
Gregory Nutt 47a112974d USB host: Modify the transfer() and asynch() methods so that the actual size of the transfer is returned. Unverified on initial commit. 2015-05-05 13:14:22 -06:00
Gregory Nutt c15cc6e8f0 Add CDC/ACM notification structure. 2015-05-04 13:43:19 -06:00
Gregory Nutt 1f15b552ed Costmetic update to some comments 2015-05-02 14:34:49 -06:00
Gregory Nutt c2a3f936aa USB host: Need to include the port structure when disconnecting, otherwise may destroy a root hub port 2015-05-02 10:44:18 -06:00
Gregory Nutt 5c76c53909 EHCI HUB: Fix some issues related to speed and device addresses 2015-04-28 09:43:06 -06:00
Gregory Nutt 397f31f061 Another hub-related interface change: Need to pass speed to EP0 2015-04-26 09:53:43 -06:00
Gregory Nutt 80ded9de86 Merge remote-tracking branch 'origin/master' into usbhub 2015-04-26 09:06:43 -06:00
Gregory Nutt 0dc464e556 fb.h: Costmetic changes 2015-04-26 08:02:01 -06:00
Gregory Nutt 64fe226669 USB Hub: Cosmetic update to some naming 2015-04-24 18:32:09 -06:00
Gregory Nutt 7d7ab442e1 If asynchronous tranfers are supported, then there must also be a mechanism to cancel the pending transfer 2015-04-24 11:23:52 -06:00
Gregory Nutt c9da86b4f0 Merge remote-tracking branch 'origin/master' into usbhub 2015-04-24 07:55:02 -06:00
Gregory Nutt a8a3790139 RA8875 LCD driver contributed by Marten Svanfeldt 2015-04-24 07:46:03 -06:00
Gregory Nutt 2586bc3fcc USB hub fixes. Mostly dealing with setting the hub function address at the right time and powering up downstream ports 2015-04-23 16:42:53 -06:00
Gregory Nutt d11af85ddf Merge remote-tracking branch 'origin/master' into usbhub 2015-04-23 14:06:18 -06:00
Gregory Nutt 0092f79696 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -06:00
Gregory Nutt 9752e12b11 USB HUB: Fix bugs, stray ampersand. Need to perfrom class destruction on the worker thread 2015-04-23 13:56:38 -06:00
Gregory Nutt be2ed7eba7 Merge in from Master 2015-04-23 06:34:49 -06:00
Gregory Nutt 9c61847203 USB Hub: Initial implementation asynchronous pipe I/O in the LPC17 HCD needed for hub support 2015-04-22 15:03:25 -06:00
Gregory Nutt f7ec9b0831 USB hub: Change to connection interface so that applications can deal with external hubs 2015-04-22 12:28:19 -06:00
Gregory Nutt df4e24ddeb include/assert.h: Wrap definitions of assertion macros in do while. Suggested by orbitalfox 2015-04-22 07:35:35 -06:00
Gregory Nutt 8e9fd9b838 USB HCDs: Add hooks for the async method 2015-04-21 15:43:12 -06:00
Gregory Nutt 5c16454cdf Add USB hub initialization logic to a couple of board configurations 2015-04-21 13:44:14 -06:00
Gregory Nutt fde0bf650e USB host: Integrate logic to assign device function address 2015-04-21 12:17:49 -06:00
Gregory Nutt d6b963a62e USB host: Update skeleton driver file 2015-04-21 09:54:11 -06:00
Gregory Nutt 6b27c48068 Merge in from master 2015-04-21 09:32:19 -06:00
Gregory Nutt 4608544f65 time.h: Add localtime prototypes; NSH: Correct test for gmtime_r return value 2015-04-21 09:26:18 -06:00
Gregory Nutt db3b235fe6 SAMA5 OHCI and EHCI: Now conform to new interfaces to support hubs 2015-04-21 08:59:30 -06:00
Gregory Nutt d62aa8c158 USB host: Remove getdevinfo() method. Rename hub structure to hubport structure. Get port and function address from hub port structure vs. parameters and other structures. 2015-04-21 07:26:28 -06:00
Gregory Nutt 2ea7a83bf5 USB hub: Move port index out of hub structure and into class structure 2015-04-20 16:50:32 -06:00
Gregory Nutt 4aeb5e549c Get USB host HID mouse driver to build. Error connect method prototypes. 2015-04-20 16:21:13 -06:00
Gregory Nutt f7f3a7f74d USB hub: Decouple class and hub structures 2015-04-20 12:06:47 -06:00
Gregory Nutt 814ce6fd02 Merge from master 2015-04-20 09:56:00 -06:00
Gregory Nutt 356292b60e Some trivial USB-related changes 2015-04-20 09:51:58 -06:00
Gregory Nutt fa778aec07 USB hub: Add EP0 to all control transfers. There can be multiple EP0's with a hub 2015-04-20 09:35:43 -06:00
Gregory Nutt 9e0b239c37 Clean compile errors from last commit 2015-04-20 08:53:21 -06:00